[TASK] Upgrade to PHPStan 2.x and Rector 2.x #2315
ci.yml
on: pull_request
Matrix: Composer Validate
Matrix: PHP Lint
Matrix: Static Analysis
Matrix: Unit tests
Annotations
4 errors
Unit tests (7.3, lowest)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpstan/phpstan 2.0.3 -> satisfiable by phpstan/phpstan[2.0.3].
- phpstan/phpstan 2.0.3 requires php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 2
- Root composer.json requires phpstan/phpstan-phpunit 2.0.1 -> satisfiable by phpstan/phpstan-phpunit[2.0.1].
- phpstan/phpstan-phpunit 2.0.1 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 3
- Root composer.json requires phpstan/phpstan-strict-rules 2.0.0 -> satisfiable by phpstan/phpstan-strict-rules[2.0.0].
- phpstan/phpstan-strict-rules 2.0.0 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 4
- Root composer.json requires rector/rector 2.0.0 -> satisfiable by rector/rector[2.0.0].
- rector/rector 2.0.0 requires php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 5
- Root composer.json requires phpstan/extension-installer 1.4.3 -> satisfiable by phpstan/extension-installer[1.4.3].
- phpstan/extension-installer 1.4.3 requires phpstan/phpstan ^1.9.0 || ^2.0 -> satisfiable by phpstan/phpstan[2.0.3].
- phpstan/phpstan 2.0.3 requires php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
|
Unit tests (7.3, lowest)
Process completed with exit code 2.
|
Unit tests (7.3, highest)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpstan/phpstan 2.0.3 -> satisfiable by phpstan/phpstan[2.0.3].
- phpstan/phpstan 2.0.3 requires php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 2
- Root composer.json requires phpstan/phpstan-phpunit 2.0.1 -> satisfiable by phpstan/phpstan-phpunit[2.0.1].
- phpstan/phpstan-phpunit 2.0.1 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 3
- Root composer.json requires phpstan/phpstan-strict-rules 2.0.0 -> satisfiable by phpstan/phpstan-strict-rules[2.0.0].
- phpstan/phpstan-strict-rules 2.0.0 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 4
- Root composer.json requires rector/rector 2.0.0 -> satisfiable by rector/rector[2.0.0].
- rector/rector 2.0.0 requires php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 5
- Root composer.json requires phpstan/extension-installer 1.4.3 -> satisfiable by phpstan/extension-installer[1.4.3].
- phpstan/extension-installer 1.4.3 requires phpstan/phpstan ^1.9.0 || ^2.0 -> satisfiable by phpstan/phpstan[2.0.3].
- phpstan/phpstan 2.0.3 requires php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
|
Unit tests (7.3, highest)
Process completed with exit code 2.
|