-
-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration tests - Slevomat Coding Standard
- Loading branch information
1 parent
4e23fa7
commit 5eba0b2
Showing
3 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method SlevomatCodingStandard\\\\Sniffs\\\\Classes\\\\AbstractMethodSignature\\:\\:getSignatureStartAndEndPointers\\(\\) should return array\\<int, int\\> but returns array\\<int, int\\|null\\>\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/Classes/AbstractMethodSignature.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/Classes/TraitUseSpacingSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addFixableError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/Classes/TraitUseSpacingSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 10 | ||
path: repo/SlevomatCodingStandard/Sniffs/Commenting/InlineDocCommentDeclarationSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/DisallowYodaComparisonSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addFixableError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/DisallowYodaComparisonSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 2 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/RequireTernaryOperatorSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addFixableError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 2 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/RequireTernaryOperatorSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 2 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/UselessIfConditionWithReturnSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addFixableError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 2 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/UselessIfConditionWithReturnSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/UselessTernaryOperatorSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addFixableError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/ControlStructures/UselessTernaryOperatorSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/Variables/UselessVariableSniff.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$error of method PHP_CodeSniffer\\\\Files\\\\File\\:\\:addFixableError\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: repo/SlevomatCodingStandard/Sniffs/Variables/UselessVariableSniff.php | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
includes: | ||
- slevomat-cs-baseline.neon | ||
- repo/build/PHPStan/phpstan.neon |