Skip to content

Commit 461bbb3

Browse files
committed
Added rule to disallow the use of variables without camel case.
1 parent 66b3b42 commit 461bbb3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `laravel-phpcs` will be documented in this file
44

5+
## 1.8.0 - 2022-10-20
6+
- Added rule to disallow the use of variables without camel case.
7+
58
## 1.7.2 - 2022-10-17
69
- Multiple parameters are now supported on the same line in multi-line functions.
710

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/>
139139
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
140140
<rule ref="Squiz.Strings.DoubleQuoteUsage.NotRequired"/>
141+
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
141142
<rule ref="Zend.Files.ClosingTag"/>
142143

143144
<!-- Custom Sniffs -->

0 commit comments

Comments
 (0)