Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f39127ce
Commit
f39127ce
authored
Sep 14, 2017
by
catch
Browse files
Issue
#2901718
by mfernea: Fix 'Squiz.ControlStructures.ForEachLoopDeclaration' coding standard
parent
da9c5ba2
Changes
5
Show whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Menu/LocalTaskManager.php
View file @
f39127ce
core/modules/color/color.module
View file @
f39127ce
core/modules/search/src/Plugin/views/argument/Search.php
View file @
f39127ce
core/modules/search/src/Plugin/views/filter/Search.php
View file @
f39127ce
core/phpcs.xml.dist
View file @
f39127ce
...
...
@@ -147,6 +147,17 @@
</rule>
<!-- Squiz sniffs -->
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment