-
-
Save luanpcweb/cb3450db2e1fe0988e9b498b615349ed to your computer and use it in GitHub Desktop.
Ignores for PHP inspections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// https://pear.php.net/manual/en/package.php.php-codesniffer.advanced-usage.php | |
// @codingStandardsIgnoreLine | |
// @codingStandardsIgnoreFile | |
// @codingStandardsIgnoreStart | |
// @codingStandardsIgnoreEnd | |
// https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.codeCoverageIgnore | |
// @codeCoverageIgnore | |
// @codeCoverageIgnoreStart | |
// @codeCoverageIgnoreEnd | |
// https://phpmd.org/documentation/suppress-warnings.html | |
// Other | |
// @SuppressWarnings(PHPMD.Superglobals) | |
// @SuppressWarnings(PHPMD.ExitExpression) | |
// @SuppressWarnings(PHPMD.DevelopmentCodeFragment) | |
// Length | |
// @SuppressWarnings(PHPMD.ExcessiveMethodLength) | |
// @SuppressWarnings(PHPMD.ExcessiveClassLength) | |
// @SuppressWarnings(PHPMD.TooManyMethods) | |
// @SuppressWarnings(PHPMD.TooManyPublicMethods) | |
// @SuppressWarnings(PHPMD.ExcessivePublicCount) | |
// Complex | |
// @SuppressWarnings(PHPMD.NPathComplexity) | |
// @SuppressWarnings(PHPMD.CyclomaticComplexity) | |
// @SuppressWarnings(PHPMD.ExcessiveClassComplexity) | |
// @SuppressWarnings(PHPMD.CouplingBetweenObjects) | |
// @SuppressWarnings(PHPMD) | |
/** @psalm-suppress MissingClosureParamType */ | |
/** @phan-suppress-next-line PhanUndeclaredStaticMethod */ | |
/** @suppress PhanUndeclaredStaticMethod */ | |
// @phpstan-ignore-line | |
// @phpstan-ignore-next-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment