Make php-coding-standard Laravel 11 ready #72
Annotations
10 errors and 1 warning
- Global errors -#L1
Ignored error pattern #Constant PHPCSTD_# was not matched in reported errors. (phpstan)
|
src/Commands/RunCommand.php#L35
PHPDoc type string of property Spaceemotion\PhpCodingStandard\Commands\RunCommand::$defaultName is not the same as PHPDoc type string|null of overridden property Symfony\Component\Console\Command\Command::$defaultName. (phpstan)
|
src/Commands/RunCommand.php#L248
Parameter #1 $callback of function array_map expects (callable(mixed): mixed)|null, 'strval' given. (phpstan)
|
src/Config.php#L37
Method Spaceemotion\PhpCodingStandard\Config::getSources() should return array but returns mixed. (phpstan)
|
src/Config.php#L52
Cannot access offset 'enabled' on mixed. (phpstan)
|
src/Config.php#L119
Method Spaceemotion\PhpCodingStandard\Config::readConfigs() return type has no value type specified in iterable type array. (phpstan)
|
src/Tools/ComposerNormalize.php#L1
Ignored error pattern #^Parameter \#1 \$string of function trim expects string, string\|null given\.$# in path /home/runner/work/php-coding-standard/php-coding-standard/src/Tools/ComposerNormalize.php was not matched in reported errors. (phpstan)
|
src/Tools/ComposerNormalize.php#L47
Parameter #1 $binary of method Spaceemotion\PhpCodingStandard\Tools\Tool::execute() expects string, mixed given. (phpstan)
|
src/Tools/ComposerNormalize.php#L59
Parameter #1 $str of function trim expects string, string|null given. (phpstan)
|
src/Tools/EasyCodingStandard.php#L50
Parameter #1 $files of method Spaceemotion\PhpCodingStandard\Tools\EasyCodingStandard::parseResult() expects array, mixed given. (phpstan)
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
This job succeeded
Loading