mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-14 10:58:24 +00:00
build: Add exception rule to phpcs to use Type::class in test code.
This commit is contained in:
parent
831bfe9315
commit
e8453a04d4
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@
|
|||
<exclude-pattern>lib/Cake/Utility/Security.php</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<rule ref="CakePHP.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase">
|
||||
<!-- Want to use Type::class syntax a lot in unit tests, but cakephp-codesniffer is giving false positives. -->
|
||||
<exclude-pattern>lib/Cake/Test/Case/*</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<rule ref="CakePHP.Commenting.FunctionComment.Missing">
|
||||
<exclude-pattern>lib/Cake/TestSuite/Fixture/CakeFixtureInjector.php</exclude-pattern>
|
||||
</rule>
|
||||
|
|
Loading…
Reference in a new issue