TODO | PHPStan: raise level to 5 #426
Annotations
10 errors
PHPStan:
src/Config.php#L712
Parameter #2 $newvalue of function ini_set expects string, true given.
|
PHPStan:
src/Files/File.php#L552
Parameter #2 $stackPtr of method PHP_CodeSniffer\Files\File::addWarning() expects int, null given.
|
PHPStan:
src/Files/File.php#L560
Parameter #2 $stackPtr of method PHP_CodeSniffer\Files\File::addWarning() expects int, null given.
|
PHPStan:
src/Files/File.php#L598
Parameter #2 $stackPtr of method PHP_CodeSniffer\Files\File::addWarning() expects int, null given.
|
PHPStan:
src/Fixer.php#L165
Parameter #1 $input of function str_pad expects string, int given.
|
PHPStan:
src/Fixer.php#L668
Parameter #1 $content of static method PHP_CodeSniffer\Util\Common::prepareForOutput() expects string, int given.
|
PHPStan:
src/Reporter.php#L311
Binary operation "+=" between int and array|int|string results in an error.
|
PHPStan:
src/Reporter.php#L312
Binary operation "+=" between int and array|int|string results in an error.
|
PHPStan:
src/Reporter.php#L320
Binary operation "+=" between int and array|int|string results in an error.
|
PHPStan:
src/Reports/Code.php#L109
Parameter #1 $string of function strlen expects string, int given.
|