Skip to content
Snippets Groups Projects
Commit 96e99986 authored by Tim Ruffing's avatar Tim Ruffing
Browse files

make PHP_CodeSniffer rules compatible with v2

parent 2a3df816
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class DokuWiki_Sniffs_PHP_DeprecatedFunctionsSniff extends Generic_Sniffs_PHP_Fo
*
* @var array(string => string|null)
*/
protected $forbiddenFunctions = array(
public $forbiddenFunctions = array(
'setCorrectLocale' => null,
'html_attbuild' => 'buildAttributes',
'io_runcmd' => null,
......
......@@ -39,7 +39,7 @@ class DokuWiki_Sniffs_PHP_DiscouragedFunctionsSniff extends Generic_Sniffs_PHP_F
*
* @var array(string => string|null)
*/
protected $forbiddenFunctions = array(
public $forbiddenFunctions = array(
'date' => 'dformat',
'strftime' => 'dformat',
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment