-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Update squizlabs/php_codesniffer to 3.8.1
https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/3.8.1 Adjust expected texts in the tests as needed Bug: T353926 Change-Id: I2db52638d8acab4732cef8c668a044a79ab8cdee
- Loading branch information
1 parent
8c9cb70
commit 6927784
Showing
20 changed files
with
136 additions
and
175 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
MediaWiki/Tests/files/AlternativeSyntax/unicode_escape_incomplete.php.expect
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
4 | WARNING | [x] Unicode code points should be expressed using four to six uppercase hex digits, | ||
| | with leading zeros used only as necessary for \u{0FFF} and below | ||
| | (MediaWiki.AlternativeSyntax.UnicodeEscape.DigitsNotNormalized) | ||
4 | ERROR | [x] Expected 1 newline at end of file; 0 found | ||
| | (PSR2.Files.EndFileNewline.NoneFound) | ||
4 | ERROR | [x] Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) | ||
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY |
3 changes: 1 addition & 2 deletions
3
MediaWiki/Tests/files/Arrays/TrailingComma/InvertedConfig/trailing_comma_inverted.php.expect
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
21 | WARNING | [x] Multi-line array with trailing comma | ||
| | (MediaWiki.Arrays.TrailingComma.MultiLine) | ||
21 | WARNING | [x] Multi-line array with trailing comma (MediaWiki.Arrays.TrailingComma.MultiLine) | ||
25 | WARNING | [x] Single-line array without trailing comma | ||
| | (MediaWiki.Arrays.TrailingComma.SingleLine) | ||
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY |
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
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
15 changes: 5 additions & 10 deletions
15
MediaWiki/Tests/files/Commenting/license_comment.php.expect
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
3 changes: 1 addition & 2 deletions
3
MediaWiki/Tests/files/ExtraCharacters/parenthesis_after_keyword_incomplete.php.expect
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
4 | ERROR | [x] Expected 1 newline at end of file; 0 found | ||
| | (PSR2.Files.EndFileNewline.NoneFound) | ||
4 | ERROR | [x] Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) | ||
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY |
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
21 changes: 7 additions & 14 deletions
21
MediaWiki/Tests/files/Usage/double_not_operator.php.expect
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
Oops, something went wrong.