MediaWikiIntegrationTestCase: deprecate $db

The decision was made to mass refactor these across
several repos. We should mark this as deprecated to
keep this from creeping back into downstream repos.

Bug: T316841
Change-Id: Ie1dae1a3927e1f73bed22fc6b10c44c062d45dbf
This commit is contained in:
Novem Linguae 2024-07-10 11:59:42 -07:00
parent aef29a83c3
commit a5542861fd

View file

@ -92,6 +92,8 @@ abstract class MediaWikiIntegrationTestCase extends PHPUnit\Framework\TestCase {
*
* @var Database|null
* @since 1.18
* @deprecated since 1.43. Use MediaWikiIntegrationTestCase->getDb() instead. This will
* eventually be made private.
*/
protected $db;