Update PHPStan to v2, improve code quality #4804
Annotations
6 errors and 1 warning
PHPStan:
plugins/performance-lab/hooks.php#L246
Strict comparison using === between false and int will always evaluate to false.
|
PHPStan:
plugins/performance-lab/tests/test-load.php#L35
Call to method PHPUnit\Framework\Assert::assertFalse() with int will always evaluate to false.
|
PHPStan:
plugins/performance-lab/tests/test-load.php#L50
Call to method PHPUnit\Framework\Assert::assertFalse() with int will always evaluate to false.
|
PHPStan:
plugins/performance-lab/tests/test-load.php#L73
Call to method PHPUnit\Framework\Assert::assertFalse() with int will always evaluate to false.
|
PHPStan:
plugins/performance-lab/tests/test-load.php#L144
Call to method PHPUnit\Framework\Assert::assertFalse() with int will always evaluate to false.
|
PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading