Skip to content

Commit 38fbd6c

Browse files
committed
Nevyužité private property hlídá PHPStan
1 parent f4a3980 commit 38fbd6c

File tree

4 files changed

+0
-46
lines changed

4 files changed

+0
-46
lines changed

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ test:
33
./vendor/bin/phpcs --standard=src/PeckaCodingStandardStrict/ruleset.xml tests/Success/
44
./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Arrays/TrailingArrayComma.php | tests/errorNumber.sh 1
55
./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Classes/ClassConstantVisibility.php | tests/errorNumber.sh 1
6-
./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Classes/UnusedPrivateElements.php | tests/errorNumber.sh 2
76
./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Classes/PropertySpacing.php | tests/errorNumber.sh 2
87
./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Classes/MethodSpacingSniff.php | tests/errorNumber.sh 2
98
./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Classes/ClassMemberSpacing.php | tests/errorNumber.sh 1

src/PeckaCodingStandard/ruleset.xml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<rule ref="Generic.Classes.DuplicateClassName"/>
1111
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
1212
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
13-
<rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements"/>
1413
<rule ref="SlevomatCodingStandard.Classes.PropertySpacing">
1514
<properties>
1615
<property name="minLinesCountBeforeWithComment" value="1"/>

tests/Failure/Classes/UnusedPrivateElements.php

-19
This file was deleted.

tests/Success/Classes/UnusedPrivateElements.php

-25
This file was deleted.

0 commit comments

Comments
 (0)