Skip to content

Update PHPStan to v2, improve code quality #4804

Update PHPStan to v2, improve code quality

Update PHPStan to v2, improve code quality #4804

Triggered via pull request December 10, 2024 12:48
Status Failure
Total duration 1m 6s
Artifacts

php-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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