CI setup #1
static-analysis.yml
on: pull_request
Matrix: phpstan static code analysis
Annotations
26 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 phpunit/phpunit ^10.5 -> satisfiable by phpunit/phpunit[10.5.0, 10.5.1, 10.5.2, 10.5.3].
- phpunit/phpunit[10.5.0, ..., 10.5.3] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.
|
phpstan static code analysis (ubuntu-latest, 8.0)
Process completed with exit code 2.
|
phpstan static code analysis (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_8_0" failed.
|
phpstan static code analysis (ubuntu-latest, 8.2):
src/TodoByRule.php#L10
Class staabm\PHPStanTodoBy\TodoByRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
|
phpstan static code analysis (ubuntu-latest, 8.2):
tests/TodoByRuleTest.php#L9
Class staabm\PHPStanTodoBy\Tests\TodoByRuleTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
|
phpstan static code analysis (ubuntu-latest, 8.2):
tests/TodoByRuleTest.php#L11
Method staabm\PHPStanTodoBy\Tests\TodoByRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
|
phpstan static code analysis (ubuntu-latest, 8.2):
tests/data/example.php#L5
Function ExampleTest\doFoo() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.2):
tests/data/example.php#L22
Function ExampleTest\doFooBar() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.2):
tests/data/example.php#L28
Method ExampleTest\Z::XY() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.2)
Process completed with exit code 1.
|
phpstan static code analysis (ubuntu-latest, 8.3)
The job was canceled because "ubuntu-latest_8_0" failed.
|
phpstan static code analysis (ubuntu-latest, 8.3):
src/TodoByRule.php#L10
Class staabm\PHPStanTodoBy\TodoByRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
|
phpstan static code analysis (ubuntu-latest, 8.3):
tests/TodoByRuleTest.php#L9
Class staabm\PHPStanTodoBy\Tests\TodoByRuleTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
|
phpstan static code analysis (ubuntu-latest, 8.3):
tests/TodoByRuleTest.php#L11
Method staabm\PHPStanTodoBy\Tests\TodoByRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
|
phpstan static code analysis (ubuntu-latest, 8.3):
tests/data/example.php#L5
Function ExampleTest\doFoo() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.3):
tests/data/example.php#L22
Function ExampleTest\doFooBar() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.3):
tests/data/example.php#L28
Method ExampleTest\Z::XY() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.3)
The operation was canceled.
|
phpstan static code analysis (ubuntu-latest, 8.1)
The job was canceled because "ubuntu-latest_8_0" failed.
|
phpstan static code analysis (ubuntu-latest, 8.1):
src/TodoByRule.php#L10
Class staabm\PHPStanTodoBy\TodoByRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
|
phpstan static code analysis (ubuntu-latest, 8.1):
tests/TodoByRuleTest.php#L9
Class staabm\PHPStanTodoBy\Tests\TodoByRuleTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
|
phpstan static code analysis (ubuntu-latest, 8.1):
tests/TodoByRuleTest.php#L11
Method staabm\PHPStanTodoBy\Tests\TodoByRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
|
phpstan static code analysis (ubuntu-latest, 8.1):
tests/data/example.php#L5
Function ExampleTest\doFoo() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.1):
tests/data/example.php#L22
Function ExampleTest\doFooBar() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.1):
tests/data/example.php#L28
Method ExampleTest\Z::XY() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.1)
The operation was canceled.
|