Merge "Fix the order of the parameters for htmlform-title-badnamespace"
[lhc/web/wiklou.git] / tests / phan / config.php
index d9ce429..da5e4b3 100644 (file)
@@ -42,16 +42,14 @@ return [
                // 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 ) ? [] : [ 'tests/phan/stubs/phpunit4.php' ],
+               class_exists( ProfilerExcimer::class ) ? [] : [ 'tests/phan/stubs/excimer.php' ],
                [
                        'maintenance/7zip.inc',
-                       'maintenance/backup.inc',
                        'maintenance/cleanupTable.inc',
                        'maintenance/CodeCleanerGlobalsPass.inc',
                        'maintenance/commandLine.inc',
-                       'maintenance/importImages.inc',
                        'maintenance/sqlite.inc',
                        'maintenance/userDupes.inc',
-                       'maintenance/userOptions.inc',
                        'maintenance/language/checkLanguage.inc',
                        'maintenance/language/languages.inc',
                ]
@@ -307,8 +305,6 @@ return [
                "PhanDeprecatedProperty",
                // approximate error count: 17
                "PhanNonClassMethodCall",
-               // approximate error count: 11
-               "PhanParamReqAfterOpt",
                // approximate error count: 888
                "PhanParamSignatureMismatch",
                // approximate error count: 7
@@ -317,30 +313,18 @@ return [
                "PhanParamSignatureRealMismatchTooFewParameters",
                // approximate error count: 125
                "PhanParamTooMany",
-               // approximate error count: 1
-               "PhanParamTooManyCallable",
                // approximate error count: 3
                "PhanParamTooManyInternal",
-               // approximate error count: 1
-               "PhanRedefineFunctionInternal",
                // approximate error count: 2
                "PhanTraitParentReference",
                // approximate error count: 3
                "PhanTypeComparisonFromArray",
                // approximate error count: 2
                "PhanTypeComparisonToArray",
-               // approximate error count: 1
-               "PhanTypeMagicVoidWithReturn",
                // approximate error count: 218
                "PhanTypeMismatchArgument",
                // approximate error count: 13
                "PhanTypeMismatchArgumentInternal",
-               // approximate error count: 6
-               "PhanTypeMismatchDeclaredParam",
-               // approximate error count: 111
-               "PhanTypeMismatchDeclaredParamNullable",
-               // approximate error count: 1
-               "PhanTypeMismatchDefault",
                // approximate error count: 5
                "PhanTypeMismatchDimAssignment",
                // approximate error count: 2
@@ -353,22 +337,14 @@ return [
                "PhanTypeMismatchProperty",
                // approximate error count: 74
                "PhanTypeMismatchReturn",
-               // approximate error count: 11
-               "PhanTypeMissingReturn",
                // approximate error count: 5
                "PhanTypeNonVarPassByRef",
-               // approximate error count: 1
-               "PhanUndeclaredClassInCallable",
                // approximate error count: 32
                "PhanUndeclaredConstant",
                // approximate error count: 233
                "PhanUndeclaredMethod",
                // approximate error count: 1224
                "PhanUndeclaredProperty",
-               // approximate error count: 3
-               "PhanUndeclaredStaticMethod",
-               // approximate error count: 11
-               "PhanUndeclaredTypeReturnType",
                // approximate error count: 58
                "PhanUndeclaredVariableDim",
        ],