File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-phpcs ` will be documented in this file
4
4
5
+ ## 1.8.1 - 2022-11-02
6
+ - Modified rule to allow empty catches.
7
+
5
8
## 1.8.0 - 2022-10-20
6
9
- Added rule to disallow the use of variables without camel case.
7
10
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<ruleset name =" Laravel Standards" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" vendor/squizlabs/php_codesniffer/phpcs.xsd" >
3
3
<description >PHP Codesniffer ruleset to follow Laravel's coding style</description >
4
- <rule ref =" Generic.Classes.DuplicateClassName" >
5
- <exclude name =" Generic.CodeAnalysis.EmptyStatement.DetectedIf" />
4
+ <rule ref =" Generic.Classes.DuplicateClassName" />
5
+ <rule ref =" Generic.CodeAnalysis.EmptyStatement" >
6
+ <exclude name =" Generic.CodeAnalysis.EmptyStatement.DetectedCatch" />
6
7
</rule >
7
- <rule ref =" Generic.CodeAnalysis.EmptyStatement" />
8
8
<rule ref =" Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />
9
9
<rule ref =" Generic.CodeAnalysis.ForLoopWithTestFunctionCall" />
10
10
<rule ref =" Generic.CodeAnalysis.JumbledIncrementer" />
13
13
<rule ref =" Generic.CodeAnalysis.UnusedFunctionParameter" >
14
14
<exclude-pattern >/app/Http/Resources/*\.php</exclude-pattern >
15
15
<exclude-pattern >/routes/*\.php</exclude-pattern >
16
+ <severity >0</severity >
16
17
</rule >
17
18
<rule ref =" Generic.CodeAnalysis.UselessOverridingMethod" />
18
19
<rule ref =" Generic.Commenting.DocComment" >
You can’t perform that action at this time.
0 commit comments