Skip to content

Fix PHPUnit comparator under PHPUnit 10 #541

Fix PHPUnit comparator under PHPUnit 10

Fix PHPUnit comparator under PHPUnit 10 #541

Triggered via pull request January 24, 2024 17:42
Status Failure
Total duration 45s
Artifacts

ci.yml

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

Annotations

18 errors and 2 warnings
Build (8.3)
Process completed with exit code 2.
Build (8.2)
The job was canceled because "_8_3" failed.
Build (8.2)
Process completed with exit code 2.
InvalidArgument: src/PHPUnit/Comparator.php#L88
src/PHPUnit/Comparator.php:88:137: InvalidArgument: Argument 5 of SebastianBergmann\Comparator\ComparisonFailure::__construct expects bool, but 'Failed asserting that two Money objects are equal.' provided (see https://psalm.dev/004)
UnusedPsalmSuppress: src/PHPUnit/Comparator.php#L92
src/PHPUnit/Comparator.php:92:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/PHPUnit/Comparator.php#L93
src/PHPUnit/Comparator.php:93:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
Psalm
Process completed with exit code 2.
Build (8.1)
The job was canceled because "_8_3" failed.
Build (8.1)
The operation was canceled.
Build (8.0)
The job was canceled because "_8_3" failed.
InvalidArgument: src/PHPUnit/Comparator.php#L88
src/PHPUnit/Comparator.php:88:137: InvalidArgument: Argument 5 of SebastianBergmann\Comparator\ComparisonFailure::__construct expects bool, but 'Failed asserting that two Money objects are equal.' provided (see https://psalm.dev/004)
UnusedPsalmSuppress: src/PHPUnit/Comparator.php#L92
src/PHPUnit/Comparator.php:92:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/PHPUnit/Comparator.php#L93
src/PHPUnit/Comparator.php:93:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
Build (8.0)
The operation was canceled.
InvalidArgument: src/PHPUnit/Comparator.php#L88
src/PHPUnit/Comparator.php:88:137: InvalidArgument: Argument 5 of SebastianBergmann\Comparator\ComparisonFailure::__construct expects bool, but 'Failed asserting that two Money objects are equal.' provided (see https://psalm.dev/004)
UnusedPsalmSuppress: src/PHPUnit/Comparator.php#L92
src/PHPUnit/Comparator.php:92:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/PHPUnit/Comparator.php#L93
src/PHPUnit/Comparator.php:93:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
Build lowest version
Process completed with exit code 2.
Docs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/