Skip to content

Fix PHPUnit comparator under PHPUnit 10 #544

Fix PHPUnit comparator under PHPUnit 10

Fix PHPUnit comparator under PHPUnit 10 #544

Triggered via pull request January 24, 2024 18:08
Status Failure
Total duration 50s
Artifacts

ci.yml

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

Annotations

21 errors and 2 warnings
Psalm
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ~8.1.0 || ~8.2.0 || ~8.3.0 but your php version (8.0.30) does not satisfy that requirement. Problem 2 - phpunit/phpunit[10.0.0, ..., 10.5.x-dev] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement. - Root composer.json requires phpunit/phpunit ^10 -> satisfiable by phpunit/phpunit[10.0.0, ..., 10.5.x-dev].
Psalm
Process completed with exit code 2.
Build lowest version
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ~8.1.0 || ~8.2.0 || ~8.3.0 but your php version (8.0.30) does not satisfy that requirement. Problem 2 - phpunit/phpunit[10.0.0, ..., 10.5.x-dev] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement. - Root composer.json requires phpunit/phpunit ^10 -> satisfiable by phpunit/phpunit[10.0.0, ..., 10.5.x-dev].
Build lowest version
Process completed with exit code 2.
DeprecatedMethod: tests/Calculator/LocaleAwareBcMathCalculatorTest.php#L16
tests/Calculator/LocaleAwareBcMathCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/Calculator/LocaleAwareGmpCalculatorTest.php#L16
tests/Calculator/LocaleAwareGmpCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/ConverterTest.php#L195
tests/ConverterTest.php:195:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/MoneyTest.php#L102
tests/MoneyTest.php:102:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
Build (8.3)
Process completed with exit code 2.
Build (8.1)
The job was canceled because "_8_3" failed.
DeprecatedMethod: tests/Calculator/LocaleAwareBcMathCalculatorTest.php#L16
tests/Calculator/LocaleAwareBcMathCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/Calculator/LocaleAwareGmpCalculatorTest.php#L16
tests/Calculator/LocaleAwareGmpCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/ConverterTest.php#L195
tests/ConverterTest.php:195:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/MoneyTest.php#L102
tests/MoneyTest.php:102:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
Build (8.1)
The operation was canceled.
Build (8.2)
The job was canceled because "_8_3" failed.
DeprecatedMethod: tests/Calculator/LocaleAwareBcMathCalculatorTest.php#L16
tests/Calculator/LocaleAwareBcMathCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/Calculator/LocaleAwareGmpCalculatorTest.php#L16
tests/Calculator/LocaleAwareGmpCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/ConverterTest.php#L195
tests/ConverterTest.php:195:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/MoneyTest.php#L102
tests/MoneyTest.php:102:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
Build (8.2)
The operation was canceled.
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/