Skip to content

Commit c0216f6

Browse files
committed
Upgrade phpcs & phpcbf
1 parent 8ad4283 commit c0216f6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.phive/phars.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="php-cs-fixer" version="^3.75.0" installed="3.75.0" location="./tools/php-cs-fixer" copy="false"/>
4-
<phar name="phpcs" version="^3.12.1" installed="3.12.1" location="./tools/phpcs" copy="false"/>
5-
<phar name="phpcbf" version="^3.12.1" installed="3.12.1" location="./tools/phpcbf" copy="false"/>
4+
<phar name="phpcs" version="^4.0.0" installed="4.0.0" location="./tools/phpcs" copy="false"/>
5+
<phar name="phpcbf" version="^4.0.0" installed="4.0.0" location="./tools/phpcbf" copy="false"/>
66
<phar name="phpstan" version="^2.1.11" installed="2.1.11" location="./tools/phpstan" copy="false"/>
77
<phar name="infection" version="^0.29.14" installed="0.29.14" location="./tools/infection" copy="false"/>
88
</phive>

phpcs.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
1919
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
2020
<rule ref="Generic.Formatting.SpaceAfterNot"/>
21-
<rule ref="Generic.Functions.CallTimePassByReference"/>
2221
<rule ref="Generic.NamingConventions.ConstructorName"/>
2322
<rule ref="Generic.PHP.DeprecatedFunctions"/>
2423
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/>

0 commit comments

Comments
 (0)