-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable ScopeIndent sniff on test that was previously failing
Partial revert of I1e85a43e3f5626ca017893f25553d6a9fbcaaaf0, which disabled the ScopeIndent sniff on this test file due to upstream issue squizlabs/PHP_CodeSniffer#3808. This has now been resolved in 3.11, so the exclusion can be removed. Change-Id: I22d18849d0207528bf14ca6709a74523f20a6ff3
- Loading branch information
Showing
3 changed files
with
8 additions
and
14 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
16 changes: 8 additions & 8 deletions
16
MediaWiki/Tests/files/Usage/assignment_in_return.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,17 +1,17 @@ | ||
12 | ERROR | [ ] Assignment expression not allowed within "return". | ||
9 | ERROR | [ ] Assignment expression not allowed within "return". | ||
| | (MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn) | ||
16 | ERROR | [ ] Assignment expression not allowed within "return". | ||
13 | ERROR | [ ] Assignment expression not allowed within "return". | ||
| | (MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn) | ||
27 | ERROR | [ ] Assignment expression not allowed within "yield". | ||
24 | ERROR | [ ] Assignment expression not allowed within "yield". | ||
| | (MediaWiki.Usage.AssignmentInReturn.AssignmentInYield) | ||
30 | ERROR | [ ] Assignment expression not allowed within "yield". | ||
27 | ERROR | [ ] Assignment expression not allowed within "yield". | ||
| | (MediaWiki.Usage.AssignmentInReturn.AssignmentInYield) | ||
33 | ERROR | [ ] Assignment expression not allowed within "yield from". | ||
30 | ERROR | [ ] Assignment expression not allowed within "yield from". | ||
| | (MediaWiki.Usage.AssignmentInReturn.AssignmentInYieldFrom) | ||
33 | ERROR | [x] Language constructs must be followed by a single space; expected 1 space between | ||
30 | ERROR | [x] Language constructs must be followed by a single space; expected 1 space between | ||
| | YIELD FROM found | ||
| | "yield\n········from" | ||
| | (Generic.WhiteSpace.LanguageConstructSpacing.IncorrectYieldFrom) | ||
35 | ERROR | [ ] Assignment expression not allowed within "yield from". | ||
32 | ERROR | [ ] Assignment expression not allowed within "yield from". | ||
| | (MediaWiki.Usage.AssignmentInReturn.AssignmentInYieldFrom) | ||
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY | ||
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