Skip to content

Commit ea56d7b

Browse files
committed
Doplněny konvence pojmenování
1 parent ea8fa80 commit ea56d7b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/PeckaCodingStandard/ruleset.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33

44
<!-- Classes -->
55
<rule ref="Generic.Classes.DuplicateClassName"/>
6+
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
7+
8+
<!-- Functions -->
9+
<rule ref="Squiz.Functions.LowercaseFunctionKeywords"/>
10+
11+
<!-- NamingConventions -->
12+
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
13+
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
14+
<properties>
15+
<property name="strict" value="0"/>
16+
</properties>
17+
</rule>
18+
19+
<!-- PHP -->
20+
<rule ref="Generic.PHP.UpperCaseConstant"/>
621

722
</ruleset>
823

0 commit comments

Comments
 (0)