Skip to content

PHPUnit 11 | ExpectUserDeprecationtrait: polyfill the TestCase::expec… #733

PHPUnit 11 | ExpectUserDeprecationtrait: polyfill the TestCase::expec…

PHPUnit 11 | ExpectUserDeprecationtrait: polyfill the TestCase::expec… #733

Triggered via push September 4, 2024 16:48
Status Failure
Total duration 2m 16s
Artifacts

cs.yml

on: push
Basic CS and QA checks
19s
Basic CS and QA checks
PHPStan
2m 3s
PHPStan
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Basic CS and QA checks: tests/TestCases/TestCaseTestTrait.php#L7
Use statements should be sorted alphabetically. The first wrong one is PHPUnit\Framework\Attributes\IgnoreDeprecations.
Basic CS and QA checks
Process completed with exit code 1.
Basic CS and QA checks
Process completed with exit code 2.
PHPStan: src/Polyfills/ExpectUserDeprecation.php (in context of class Yoast/PHPUnitPolyfills/TestCases/TestCase)#L56
Call to an undefined method Yoast\PHPUnitPolyfills\TestCases\TestCase::expectExceptionMessageRegExp().
PHPStan: src/Polyfills/ExpectUserDeprecation.php (in context of class Yoast/PHPUnitPolyfills/TestCases/XTestCase)#L56
Call to an undefined method Yoast\PHPUnitPolyfills\TestCases\XTestCase::expectExceptionMessageRegExp().
PHPStan
Process completed with exit code 1.