Fix tooling deprecations#111
Conversation
Greptile SummaryThis PR fixes PHPUnit deprecation warnings across the test suite by introducing a thin
Confidence Score: 5/5All changes are confined to test infrastructure and static analysis configuration; no production code is touched. The new base TestCase correctly uses method_exists() to branch between PHPUnit versions at runtime, the three test files are updated consistently, and the PHPStan suppressions are appropriately scoped with clear rationale. No logic changes or regressions are introduced. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Test class calls legacyExpectExceptionMessage] --> B{method_exists
expectExceptionMessageIsOrContains?}
B -- Yes PHPUnit 11+ --> C[expectExceptionMessageIsOrContains
no deprecation warning]
B -- No Older PHPUnit --> D[expectExceptionMessage
legacy fallback]
C --> E[Test continues]
D --> E
Reviews (2): Last reviewed commit: "test: 🚨 fix tooling deprecations" | Re-trigger Greptile |
363fbd2 to
6cf40e4
Compare
No description provided.