Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
3cd4fc17
Commit
3cd4fc17
authored
11 years ago
by
Christopher Smith
Browse files
Options
Downloads
Patches
Plain Diff
remove '&' from object parameters, PHP5 style not E_ALL
parent
39134585
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/plugins/info/syntax.php
+2
-2
2 additions, 2 deletions
lib/plugins/info/syntax.php
lib/plugins/syntax.php
+2
-2
2 additions, 2 deletions
lib/plugins/syntax.php
with
4 additions
and
4 deletions
lib/plugins/info/syntax.php
+
2
−
2
View file @
3cd4fc17
...
...
@@ -48,7 +48,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
/**
* Handle the match
*/
function
handle
(
$match
,
$state
,
$pos
,
Doku_Handler
&
$handler
){
function
handle
(
$match
,
$state
,
$pos
,
Doku_Handler
$handler
){
$match
=
substr
(
$match
,
7
,
-
2
);
//strip ~~INFO: from start and ~~ from end
return
array
(
strtolower
(
$match
));
}
...
...
@@ -56,7 +56,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
/**
* Create output
*/
function
render
(
$format
,
Doku_Renderer
&
$renderer
,
$data
)
{
function
render
(
$format
,
Doku_Renderer
$renderer
,
$data
)
{
if
(
$format
==
'xhtml'
){
/** @var Doku_Renderer_xhtml $renderer */
//handle various info stuff
...
...
This diff is collapsed.
Click to expand it.
lib/plugins/syntax.php
+
2
−
2
View file @
3cd4fc17
...
...
@@ -66,7 +66,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode_Plugin {
* @param Doku_Handler $handler Reference to the Doku_Handler object
* @return array Return an array with all data you want to use in render
*/
function
handle
(
$match
,
$state
,
$pos
,
Doku_Handler
&
$handler
){
function
handle
(
$match
,
$state
,
$pos
,
Doku_Handler
$handler
){
trigger_error
(
'handle() not implemented in '
.
get_class
(
$this
),
E_USER_WARNING
);
}
...
...
@@ -93,7 +93,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode_Plugin {
* @param $data array data created by handler()
* @return boolean rendered correctly?
*/
function
render
(
$format
,
Doku_Renderer
&
$renderer
,
$data
)
{
function
render
(
$format
,
Doku_Renderer
$renderer
,
$data
)
{
trigger_error
(
'render() not implemented in '
.
get_class
(
$this
),
E_USER_WARNING
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment