Skip to content

Commit af20511

Browse files
committed
PSR-1 is not specific about allowing multiple uppercase chars in method names, but it is common enough that I think it should be allowed.
1 parent df04da9 commit af20511

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CodeSniffer/Standards/PSR1/ruleset.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,9 @@
4040
<!-- 4.3. Methods -->
4141

4242
<!-- Method names MUST be declared in camelCase(). -->
43-
<rule ref="Generic.NamingConventions.CamelCapsFunctionName"/>
43+
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
44+
<properties>
45+
<property name="strict" value="false"/>
46+
</properties>
47+
</rule>
4448
</ruleset>

0 commit comments

Comments
 (0)