Skip to content

feat: allow PHPUnit 11 #221

feat: allow PHPUnit 11

feat: allow PHPUnit 11 #221

Triggered via pull request February 2, 2024 09:39
Status Failure
Total duration 1m 9s
Artifacts

tests.yaml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 10 warnings
RiskyTruthyFalsyComparison: src/Bin/run-paraunit.inc.php#L7
src/Bin/run-paraunit.inc.php:7:5: RiskyTruthyFalsyComparison: Operand of type false|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/Configuration/PHPUnitBinFile.php#L56
src/Configuration/PHPUnitBinFile.php:56:13: RiskyTruthyFalsyComparison: Operand of type false|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/Configuration/ParallelConfiguration.php#L65
src/Configuration/ParallelConfiguration.php:65:17: RiskyTruthyFalsyComparison: Operand of type array<interface-string, interface-string>|false contains type array<interface-string, interface-string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Logs/JSON/RetryParser.php#L63
src/Logs/JSON/RetryParser.php:63:16: 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/Logs/ValueObject/LogData.php#L51
src/Logs/ValueObject/LogData.php:51: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/Logs/ValueObject/LogData.php#L61
src/Logs/ValueObject/LogData.php:61:13: RiskyTruthyFalsyComparison: Operand of type false|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)
InternalMethod: src/TestResult/ValueObject/TestIssue.php#L42
src/TestResult/ValueObject/TestIssue.php:42:36: InternalMethod: The method PHPUnit\Framework\TestStatus\TestStatus::isMoreImportantThan is internal to PHPUnit but called from Paraunit\TestResult\ValueObject\TestIssue::isMoreImportantThan (see https://psalm.dev/175)
InternalClass: src/TestResult/ValueObject/TestIssue.php#L49
src/TestResult/ValueObject/TestIssue.php:49:30: InternalClass: PHPUnit\Framework\TestStatus\TestStatus is internal to PHPUnit but called from Paraunit\TestResult\ValueObject\TestIssue (see https://psalm.dev/174)
InternalMethod: src/TestResult/ValueObject/TestIssue.php#L49
src/TestResult/ValueObject/TestIssue.php:49:30: InternalMethod: The method PHPUnit\Framework\TestStatus\TestStatus::warning is internal to PHPUnit but called from Paraunit\TestResult\ValueObject\TestIssue::toPHPUnit (see https://psalm.dev/175)
InternalClass: src/TestResult/ValueObject/TestIssue.php#L50
src/TestResult/ValueObject/TestIssue.php:50:34: InternalClass: PHPUnit\Framework\TestStatus\TestStatus is internal to PHPUnit but called from Paraunit\TestResult\ValueObject\TestIssue (see https://psalm.dev/174)
PHPStan: tests/Unit/Logs/TestHook/PhpUnitDeprecationTest.php#L31
Parameter #3 $message of class PHPUnit\Event\Test\PhpunitDeprecationTriggered constructor expects non-empty-string, string given.
PHPStan: tests/Unit/Logs/TestHook/PhpUnitWarningTest.php#L31
Parameter #3 $message of class PHPUnit\Event\Test\PhpunitWarningTriggered constructor expects non-empty-string, string given.
PHPStan
Process completed with exit code 1.
Code style
Process completed with exit code 8.
PHP 8.1 Xdebug 2
Process completed with exit code 1.
PHP 8.1
Process completed with exit code 1.
PHP 8.1 lowest
The operation was canceled.
PHP 8.1 PCov
Process completed with exit code 1.
PHP 8.3
The operation was canceled.
PHP 8.2
The operation was canceled.
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Code style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 Xdebug 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 PCov
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Code style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.