diff --git a/.phan/config.php b/.phan/config.php index 0fdefe054d5..a12e1293405 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -26,10 +26,6 @@ $cfg['file_list'] = array_merge( function_exists( 'wikidiff2_do_diff' ) ? [] : [ '.phan/stubs/wikidiff.php' ], class_exists( PEAR::class ) ? [] : [ '.phan/stubs/mail.php' ], defined( 'PASSWORD_ARGON2I' ) ? [] : [ '.phan/stubs/password.php' ], - // Per composer.json, PHPUnit 6 is used for PHP 7.0+, PHPUnit 4 otherwise. - // Load the interface for the version of PHPUnit that isn't installed. - // Phan only supports PHP 7.0+ (and not HHVM), so we only need to stub PHPUnit 4. - class_exists( PHPUnit_TextUI_Command::class ) ? [] : [ '.phan/stubs/phpunit4.php' ], class_exists( ProfilerExcimer::class ) ? [] : [ '.phan/stubs/excimer.php' ], [ // This makes constants and globals known to Phan before processing all other files. diff --git a/.phan/stubs/phpunit4.php b/.phan/stubs/phpunit4.php deleted file mode 100644 index e5e88e6bab1..00000000000 --- a/.phan/stubs/phpunit4.php +++ /dev/null @@ -1,11 +0,0 @@ -run( $argv ); } } diff --git a/tests/phpunit/PHPUnit4And6Compat.php b/tests/phpunit/PHPUnit4And6Compat.php index 1ef0c916839..bfcb987f5cf 100644 --- a/tests/phpunit/PHPUnit4And6Compat.php +++ b/tests/phpunit/PHPUnit4And6Compat.php @@ -20,6 +20,7 @@ /** * @since 1.31 + * @deprecated since 1.35; we don't support PHPUnit 4 any more */ trait PHPUnit4And6Compat { /**