Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phpunit: Fix trivial dynamic property usages in tests
Dynamic property creation is deprecated in PHP 8.2 (E_DEPRECATED). Migrate some trivial cases in tests to use explicitly declared fields instead, and remove the unused lastLog field from MediaWikiLoggerPHPUnitExtension. Notably this does not yet address MediaWikiIntegrationTestCase using dynamic properties to associate ephemeral data with DB connections used for tests. Bug: T314099 Change-Id: I55453c0d254012b69c6843c54cfa8345fa5744fa
- Loading branch information