Update dependencies for PHP v8.4 #1303
Annotations
3 errors and 11 warnings
👍 Code Quality:
src/Rules/Cell/ComboPasswordStrength.php#L88
Right operand cannot be falsable, got false|int<0, max>
Rule : PossiblyFalseOperand
File Path : src/Rules/Cell/ComboPasswordStrength.php:88
Snippet : `$deductions += \preg_match_all('/01|12|23|34|45|56|67|78|89|90/', $password);`
Docs : https://psalm.dev/162
Severity : error
Error Level: 3
|
👍 Code Quality:
src/Rules/Cell/ComboPasswordStrength.php#L90
Right operand cannot be falsable, got false|int<0, max>
Rule : PossiblyFalseOperand
File Path : src/Rules/Cell/ComboPasswordStrength.php:90
Snippet : `$deductions += \preg_match_all(
'/abc|bcd|cde|def|efg|fgh|ghi|hij|ijk|jkl|klm|lmn|mno|nop|opq|pqr|qrs|rst|stu|tuv|uvw|vwx|wxy|xyz/',
\strtolower($password),
);`
Docs : https://psalm.dev/162
Severity : error
Error Level: 3
|
👍 Code Quality
Process completed with exit code 2.
|
SonarCloud Scan
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
|
👍 Code Quality:
src/Analyze/Analyzer.php#L60
The @var class-string<JBZoo\CsvBlueprint\Rules\AbstractRule> annotation for $ruleClassname is unnecessary
Rule : UnnecessaryVarAnnotation
File Path : src/Analyze/Analyzer.php:60
Snippet : `/** @var class-string<\JBZoo\CsvBlueprint\Rules\AbstractRule> $ruleClassname */`
Docs : https://psalm.dev/212
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Analyze/Analyzer.php#L90
The @var class-string<JBZoo\CsvBlueprint\Rules\AbstractRule> annotation for $ruleClassname is unnecessary
Rule : UnnecessaryVarAnnotation
File Path : src/Analyze/Analyzer.php:90
Snippet : `/** @var class-string<\JBZoo\CsvBlueprint\Rules\AbstractRule> $ruleClassname */`
Docs : https://psalm.dev/212
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Analyze/Exception.php#L19
Class JBZoo\CsvBlueprint\Analyze\Exception is never used
Rule : UnusedClass
File Path : src/Analyze/Exception.php:19
Snippet : `final class Exception extends \JBZoo\CsvBlueprint\Exception`
Docs : https://psalm.dev/075
Severity : error
Error Level: -2
|
👍 Code Quality:
src/CliApplication.php#L19
Class JBZoo\CsvBlueprint\CliApplication is never used
Rule : UnusedClass
File Path : src/CliApplication.php:19
Snippet : `final class CliApplication extends \JBZoo\Cli\CliApplication`
Docs : https://psalm.dev/075
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Commands/CreateSchema.php#L28
Class JBZoo\CsvBlueprint\Commands\CreateSchema is never used
Rule : UnusedClass
File Path : src/Commands/CreateSchema.php:28
Snippet : `final class CreateSchema extends AbstractValidate`
Docs : https://psalm.dev/075
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Commands/DebugSchema.php#L26
Class JBZoo\CsvBlueprint\Commands\DebugSchema is never used
Rule : UnusedClass
File Path : src/Commands/DebugSchema.php:26
Snippet : `final class DebugSchema extends CliCommand`
Docs : https://psalm.dev/075
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Commands/ValidateCsv.php#L32
Class JBZoo\CsvBlueprint\Commands\ValidateCsv is never used
Rule : UnusedClass
File Path : src/Commands/ValidateCsv.php:32
Snippet : `final class ValidateCsv extends AbstractValidate`
Docs : https://psalm.dev/075
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Commands/ValidateSchema.php#L28
Class JBZoo\CsvBlueprint\Commands\ValidateSchema is never used
Rule : UnusedClass
File Path : src/Commands/ValidateSchema.php:28
Snippet : `final class ValidateSchema extends AbstractValidate`
Docs : https://psalm.dev/075
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Csv/Column.php#L81
Cannot find any calls to method JBZoo\CsvBlueprint\Csv\Column::getDescription
Rule : PossiblyUnusedMethod
File Path : src/Csv/Column.php:81
Snippet : `public function getDescription(): string`
Docs : https://psalm.dev/087
Severity : error
Error Level: -2
|
👍 Code Quality:
src/Csv/CsvFile.php#L193
Cannot find any calls to method JBZoo\CsvBlueprint\Csv\CsvFile::getColumnsMappedByHeaderNamesOnly
Rule : PossiblyUnusedMethod
File Path : src/Csv/CsvFile.php:193
Snippet : `public function getColumnsMappedByHeaderNamesOnly(?ErrorSuite $errors = null): array`
Docs : https://psalm.dev/087
Severity : error
Error Level: -2
|
Loading