Update PHPStan to 2.x #585
static-analysis.yml
on: pull_request
Matrix: phpstan static code analysis
Annotations
7 errors
phpstan static code analysis (ubuntu-latest, 8.0)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires tomasvotruba/cognitive-complexity 0.2.3 -> satisfiable by tomasvotruba/cognitive-complexity[0.2.3].
- tomasvotruba/cognitive-complexity 0.2.3 requires phpstan/phpstan ^1.10 -> found phpstan/phpstan[1.10.0, ..., 1.12.12] but it conflicts with your root composer.json require (^2).
Problem 2
- Root composer.json requires tomasvotruba/type-coverage 1.0.0 -> satisfiable by tomasvotruba/type-coverage[1.0.0].
- tomasvotruba/type-coverage 1.0.0 requires phpstan/phpstan ^1.9.3 -> found phpstan/phpstan[1.9.3, ..., 1.12.12] but it conflicts with your root composer.json require (^2).
Problem 3
- Root composer.json requires tomasvotruba/unused-public 1.1.0 -> satisfiable by tomasvotruba/unused-public[1.1.0].
- tomasvotruba/unused-public 1.1.0 requires phpstan/phpstan ^1.10.19 -> found phpstan/phpstan[1.10.19, ..., 1.12.12] but it conflicts with your root composer.json require (^2).
|
phpstan static code analysis (ubuntu-latest, 8.0)
Process completed with exit code 2.
|
phpstan static code analysis (ubuntu-latest, 7.4)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires tomasvotruba/cognitive-complexity 0.2.3 -> satisfiable by tomasvotruba/cognitive-complexity[0.2.3].
- tomasvotruba/cognitive-complexity 0.2.3 requires phpstan/phpstan ^1.10 -> found phpstan/phpstan[1.10.0, ..., 1.12.12] but it conflicts with your root composer.json require (^2).
Problem 2
- Root composer.json requires tomasvotruba/type-coverage 1.0.0 -> satisfiable by tomasvotruba/type-coverage[1.0.0].
- tomasvotruba/type-coverage 1.0.0 requires phpstan/phpstan ^1.9.3 -> found phpstan/phpstan[1.9.3, ..., 1.12.12] but it conflicts with your root composer.json require (^2).
Problem 3
- Root composer.json requires tomasvotruba/unused-public 1.1.0 -> satisfiable by tomasvotruba/unused-public[1.1.0].
- tomasvotruba/unused-public 1.1.0 requires phpstan/phpstan ^1.10.19 -> found phpstan/phpstan[1.10.19, ..., 1.12.12] but it conflicts with your root composer.json require (^2).
|
phpstan static code analysis (ubuntu-latest, 7.4)
Process completed with exit code 2.
|
phpstan static code analysis (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_7_4" failed.
|
phpstan static code analysis (ubuntu-latest, 8.2)
The operation was canceled.
|
phpstan static code analysis (ubuntu-latest, 8.1)
The job was canceled because "ubuntu-latest_7_4" failed.
|