Skip to content

Allow running tests with PHPUnit 10 and 11 #67

Allow running tests with PHPUnit 10 and 11

Allow running tests with PHPUnit 10 and 11 #67

Triggered via pull request December 15, 2024 12:16
Status Failure
Total duration 31s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis  /  PHPStan (PHP: 8.4)
22s
Static Analysis / PHPStan (PHP: 8.4)
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Static Analysis / PHPStan (PHP: 8.4): tests/DeprecationTest.php#L1
Ignored error pattern /^.*method_exists.*expectDeprecation.*$/ in path /home/runner/work/deprecations/deprecations/tests/DeprecationTest.php was not matched in reported errors.
Static Analysis / PHPStan (PHP: 8.4): tests/DeprecationTest.php#L45
Call to an undefined static method PHPUnit\Framework\TestCase::expectDeprecation().
Static Analysis / PHPStan (PHP: 8.4): tests/DeprecationTest.php#L47
Class PHPUnit\Framework\Error\Deprecated not found.
Static Analysis / PHPStan (PHP: 8.4): tests/DeprecationTest.php#L47
Parameter #1 $exception of method PHPUnit\Framework\TestCase::expectException() expects class-string<Throwable>, string given.
Static Analysis / PHPStan (PHP: 8.4): tests/DeprecationTest.php#L54
Call to an undefined static method PHPUnit\Framework\TestCase::expectDeprecationMessage().
Static Analysis / PHPStan (PHP: 8.4)
Process completed with exit code 1.