diff --git a/projects/plugins/jetpack/.phan/baseline.php b/projects/plugins/jetpack/.phan/baseline.php index 04497c327fc33..1f889d9825a7b 100644 --- a/projects/plugins/jetpack/.phan/baseline.php +++ b/projects/plugins/jetpack/.phan/baseline.php @@ -9,14 +9,14 @@ */ return [ // # Issue statistics: - // PhanTypeMismatchArgument : 540+ occurrences + // PhanTypeMismatchArgument : 530+ occurrences // PhanTypeMismatchArgumentProbablyReal : 300+ occurrences // PhanPluginDuplicateConditionalNullCoalescing : 280+ occurrences // PhanUndeclaredMethod : 260+ occurrences // PhanNoopNew : 200+ occurrences // PhanTypeMismatchReturn : 160+ occurrences // PhanTypeMismatchReturnProbablyReal : 150+ occurrences - // PhanDeprecatedFunction : 130+ occurrences + // PhanDeprecatedFunction : 120+ occurrences // PhanTypePossiblyInvalidDimOffset : 110+ occurrences // PhanTypeArraySuspiciousNullable : 95+ occurrences // PhanRedundantCondition : 70+ occurrences @@ -590,8 +590,6 @@ 'tests/php/media/test-class.jetpack-media-extractor.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentProbablyReal'], 'tests/php/media/test-class.jetpack-post-images.php' => ['PhanTypeMismatchArgumentProbablyReal'], 'tests/php/modules/geo-location/test_class.jetpack-geo-location.php' => ['PhanDeprecatedFunction', 'PhanTypeMismatchArgumentProbablyReal'], - 'tests/php/modules/google-analytics/test-class.google-analytics.php' => ['PhanDeprecatedFunction'], - 'tests/php/modules/google-analytics/test-class.jetpack-google-amp-analytics.php' => ['PhanTypeMismatchArgument', 'PhanUndeclaredMethod'], 'tests/php/modules/masterbar/test-class-admin-color-schemes.php' => ['PhanNoopNew'], 'tests/php/modules/masterbar/test-class-admin-menu.php' => ['PhanTypeArraySuspiciousNull', 'PhanTypeArraySuspiciousNullable', 'PhanTypeInvalidDimOffset', 'PhanTypePossiblyInvalidDimOffset'], 'tests/php/modules/masterbar/test-class-atomic-admin-menu.php' => ['PhanRedefineFunction', 'PhanTypeArraySuspiciousNull', 'PhanTypeInvalidDimOffset'], diff --git a/projects/plugins/jetpack/phpunit.xml.dist b/projects/plugins/jetpack/phpunit.xml.dist index c218e0766b39a..68b4c81e47bce 100644 --- a/projects/plugins/jetpack/phpunit.xml.dist +++ b/projects/plugins/jetpack/phpunit.xml.dist @@ -96,9 +96,6 @@ tests/php/modules/geo-location - - tests/php/modules/google-analytics - tests/php/modules/masterbar