Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Rename and abstractify custom TestCase base classes (#41935)
PHPUnit 10+ requires that test class names match the filename, PSR-4 style. We've written a PHPUnit sniff to help find mismatches, but to work properly it needs any custom TestCase base classes to be abstract and have names ending in "TestCase" or "TestBase". This PR adds `abstract` where necessary and renames classes where necessary. In a few places this has already caused other existing PHPUnit rules to start fixing things. 😀 Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13500864408 Upstream-Ref: Automattic/jetpack@18072cc
- Loading branch information