Skip to content
Snippets Groups Projects
Commit 169bedcd authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #1106 from real-or-random/master

make PHP_CodeSniffer rules compatible with v2
parents d15bf19c 96e99986
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