make PHP_CodeSniffer rules compatible with v2
This commit is contained in:
parent
2a3df81600
commit
96e99986cc
|
@ -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',
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue