Skip to content

Add support for PHPUnit 11 #48

Add support for PHPUnit 11

Add support for PHPUnit 11 #48

Triggered via pull request October 29, 2024 05:29
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
22s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite / testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
cs-stan / Coding Standard & Static Analysis: src/Command/I18nExtractCommand.php#L93
Property Cake\Command\I18nExtractCommand::$_exclude (array<int, string>) does not accept array<int|string, string>.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
RiskyTruthyFalsyComparison: src/Command/I18nExtractCommand.php#L66
src/Command/I18nExtractCommand.php:66:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/I18nExtractCommand.php#L69
src/Command/I18nExtractCommand.php:69:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/I18nExtractCommand.php#L72
src/Command/I18nExtractCommand.php:72:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/I18nExtractCommand.php#L74
src/Command/I18nExtractCommand.php:74:19: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PropertyTypeCoercion: src/Command/I18nExtractCommand.php#L93
src/Command/I18nExtractCommand.php:93:31: PropertyTypeCoercion: $this->_exclude expects 'list<string>', parent type 'array<int|string, string>' provided (see https://psalm.dev/198)
RiskyTruthyFalsyComparison: src/Command/I18nExtractCommand.php#L209
src/Command/I18nExtractCommand.php:209:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/I18nExtractCommand.php#L225
src/Command/I18nExtractCommand.php:225:25: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/I18nInitCommand.php#L48
src/Command/I18nInitCommand.php:48:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/I18nModelTrait.php#L30
src/Command/I18nModelTrait.php:30:18: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/I18n/DbMessagesLoader.php#L66
src/I18n/DbMessagesLoader.php:66:25: RiskyTruthyFalsyComparison: Operand of type Cake\Datasource\RepositoryInterface|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
testsuite / testsuite-linux (8.1, mysql, highest, false)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1