Skip to content

feat: update PHPStan lvl to 5 #97

feat: update PHPStan lvl to 5

feat: update PHPStan lvl to 5 #97

Triggered via pull request March 17, 2025 14:39
Status Failure
Total duration 34s
Artifacts

php-test.yml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

57 errors
PHPStan
Process completed with exit code 1.
PHPStan: lib/JobHandler.php#L201
Property Resque\JobHandler::$instance (Resque\Job\Job) in isset() is not nullable.
PHP-8.2: PHPUnit
Process completed with exit code 2.
PHP-8.2: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-8.2: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-8.2: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-8.2: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-8.2: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-8.2: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-8.3: PHPUnit
Process completed with exit code 2.
PHP-8.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-8.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-8.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-8.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-8.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-8.3: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-8.4: PHPUnit
Process completed with exit code 2.
PHP-8.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-8.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-8.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-8.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-8.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-8.4: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-8.1: PHPUnit
Process completed with exit code 2.
PHP-8.1: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-8.1: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-8.1: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-8.1: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-8.1: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-8.1: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-7.3: PHPUnit
Process completed with exit code 2.
PHP-7.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-7.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-7.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-7.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-7.3: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-7.3: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-7.3: PHPUnit
Failed asserting that exception of type "TypeError" matches expected exception "Resque\Exceptions\ResqueException". Message was: "Return value of Resque\JobHandler::getInstance() must be an instance of Resque\Job\Job, null returned" at
PHP-7.3: PHPUnit
Failed asserting that exception of type "TypeError" matches expected exception "\Resque\Exceptions\ResqueException". Message was: "Return value of Resque\JobHandler::getInstance() must be an instance of Resque\Job\Job, null returned" at
PHP-7.4: PHPUnit
The operation was canceled.
PHP-7.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-7.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-7.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-7.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-7.4: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-7.4: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-7.4: PHPUnit
Failed asserting that exception of type "TypeError" matches expected exception "Resque\Exceptions\ResqueException". Message was: "Return value of Resque\JobHandler::getInstance() must be an instance of Resque\Job\Job, null returned" at
PHP-7.4: PHPUnit
Failed asserting that exception of type "TypeError" matches expected exception "\Resque\Exceptions\ResqueException". Message was: "Return value of Resque\JobHandler::getInstance() must be an instance of Resque\Job\Job, null returned" at
PHP-7.4: PHPUnit
The strategy configuration was canceled because "phpunit._7_3_false" failed
PHP-8.0: PHPUnit
The operation was canceled.
PHP-8.0: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 'string'.
PHP-8.0: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 100.
PHP-8.0: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected 1.0.
PHP-8.0: PHPUnit: test/Resque/Tests/JobStatusTest.php#L109
Failed asserting that null matches expected true.
PHP-8.0: PHPUnit: test/Resque/Tests/JobStatusTest.php#L96
Failed asserting that 3 matches expected 4.
PHP-8.0: PHPUnit: test/Resque/Tests/JobPIDTest.php#L48
Failed asserting that 0 is not equal to 0.
PHP-8.0: PHPUnit
The strategy configuration was canceled because "phpunit._7_3_false" failed