PHPUnit 11 | ExpectUserDeprecationtrait: polyfill the TestCase::expec… #733
cs.yml
on: push
Basic CS and QA checks
19s
PHPStan
2m 3s
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.
|