Skip to content

Commit e79d865

Browse files
committed
Excluded route files for Generic.CodeAnalysis.UnusedFunctionParameter rule
1 parent a5493a3 commit e79d865

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

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

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

5+
## 1.1.0 - 2022-01-26
6+
7+
- Excluded route files for Generic.CodeAnalysis.UnusedFunctionParameter rule
8+
59
## 1.0.0 - 2022-01-25
610

711
- initial release

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
1313
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter">
1414
<exclude-pattern>/app/Http/Resources/*\.php</exclude-pattern>
15+
<exclude-pattern>/routes/*\.php</exclude-pattern>
1516
</rule>
1617
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
1718
<rule ref="Generic.Commenting.DocComment">

0 commit comments

Comments
 (0)