Skip to content

Commit a74fa98

Browse files
[#1924] DisconnectedForeachInstructionInspector: disabled by default
1 parent 7198dc3 commit a74fa98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
implementationClass="com.kalessil.phpStorm.phpInspectionsEA.inspectors.apiUsage.ThrowRawExceptionInspector"/>
130130
<localInspection language="PHP" groupPath="PHP,Php Inspections (EA Extended)"
131131
shortName="DisconnectedForeachInstructionInspection" displayName="Statement could be decoupled from foreach"
132-
groupName="Control Flow" enabledByDefault="true" level="WEAK WARNING"
132+
groupName="Control Flow" enabledByDefault="false" level="WEAK WARNING"
133133
implementationClass="com.kalessil.phpStorm.phpInspectionsEA.inspectors.forEach.DisconnectedForeachInstructionInspector"/>
134134
<localInspection language="PHP" groupPath="PHP,Php Inspections (EA Extended)"
135135
shortName="DegradedSwitchInspection" displayName="Switch-case could be simplified"

0 commit comments

Comments
 (0)