Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit e2889e0

Browse files
committed
Use PSR-12 sniff for class instantiation parenthesis
1 parent c1572c1 commit e2889e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ZendCodingStandard/ruleset.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
<!-- Require language constructs without parentheses -->
251251
<rule ref="SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses"/>
252252
<!-- Require new instances with parentheses -->
253-
<rule ref="WebimpressCodingStandard.PHP.InstantiatingParenthesis"/>
253+
<rule ref="PSR12.Classes.ClassInstantiation"/>
254254
<!-- Require usage of null coalesce operator when possible -->
255255
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/>
256256
<!-- Forbid useless unreachable catch blocks -->

0 commit comments

Comments
 (0)