Skip to content

Commit 7d7b080

Browse files
committed
Testing
1 parent bfd2156 commit 7d7b080

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wiki/Version-4.0-Developer-Upgrade-Guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,12 @@ If an external standard uses its own test framework, this section can be skipped
581581
* The test suite may need a separate PHPUnit config file for PHPUnit < 10 and PHPUnit 10+.
582582
* The custom `TestSuite` setup has been removed from the framework as it is no longer needed since PEAR support was dropped and was incompatible with PHPUnit 10.
583583
* All abstract base test cases now use the `TestCase` class name suffix.
584+
584585
| Old Name | New Name |
585586
| ----------------------------------------------------- | ----------------------------------------------------- |
586587
| PHP_CodeSniffer\Tests\Core\AbstractMethodUnitTest | PHP_CodeSniffer\Tests\Core\AbstractMethodTestCase |
587588
| PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest | PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase |
589+
588590
* Fixture methods no longer use the `@before|after[Class]` annotations, but use the PHPUnit `setUp|tearDown[BeforeClass|AfterClass]()` methods again.
589591
These methods now have `void` return type declarations.
590592
* The global `printPHPCodeSnifferTestOutput()` function, which printed a "# sniff test files generated # unique error codes; # were fixable (#%)" summary after the tests is no longer available.

0 commit comments

Comments
 (0)