Skip to content

Commit 77b9fd7

Browse files
authored
Fix deprecations (#74)
1 parent a9a8fe3 commit 77b9fd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/phpcs/rules/base.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
6363
<!-- Forbid `php_sapi_name()` function -->
6464
<rule ref="Generic.PHP.SAPIUsage"/>
65+
<!-- Require space after language constructs -->
66+
<rule ref="Generic.WhiteSpace.LanguageConstructSpacing" />
6567

6668
<!-- Forbid comments starting with # -->
6769
<rule ref="PEAR.Commenting.InlineComment"/>
@@ -154,8 +156,6 @@
154156
<rule ref="Squiz.WhiteSpace.CastSpacing"/>
155157
<!-- Forbid blank line after function opening brace -->
156158
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace"/>
157-
<!-- Require space after language constructs -->
158-
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/>
159159
<!-- Require space around logical operators -->
160160
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
161161
<!-- Forbid spaces around `->` operator -->

0 commit comments

Comments
 (0)