aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/phpunit.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/phpunit.php')
-rw-r--r--tests/phpunit/phpunit.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php
index e26c280a16f2..52f27e825479 100644
--- a/tests/phpunit/phpunit.php
+++ b/tests/phpunit/phpunit.php
@@ -98,10 +98,21 @@ class PHPUnitMaintClass {
// or when T227900 is resolved.
$args[] = '--configuration=' . __DIR__ . '/suite.xml';
}
+ $args[] = '--bootstrap=' . __DIR__ . '/bootstrap.maintenance.php';
$command->run( $args, true );
}
}
+$deprecationMsg = <<<EOT
+*******************************************************************************
+DEPRECATED: The tests/phpunit/phpunit.php entry point has been deprecated. Use
+ `composer phpunit:entrypoint` instead.
+*******************************************************************************
+
+EOT;
+
+fwrite( STDERR, $deprecationMsg );
+
if ( defined( 'MEDIAWIKI' ) ) {
exit( 'Wrong entry point?' );
}