From d9ff91af2a95a68275f9f31adb8a927a4bea4daf Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Sun, 21 Feb 2021 10:27:27 -0800 Subject: [PATCH] Remove SlevomatCodingStandard.Classes.UnusedPrivateElements --- lib/Doctrine/ruleset.xml | 2 -- tests/expected_report.txt | 4 ++-- tests/php-compatibility.patch | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/Doctrine/ruleset.xml b/lib/Doctrine/ruleset.xml index c0bf70bd..128acc95 100644 --- a/lib/Doctrine/ruleset.xml +++ b/lib/Doctrine/ruleset.xml @@ -144,8 +144,6 @@ - - diff --git a/tests/expected_report.txt b/tests/expected_report.txt index fd5432cc..90384be5 100644 --- a/tests/expected_report.txt +++ b/tests/expected_report.txt @@ -21,7 +21,7 @@ tests/input/forbidden-functions.php 6 0 tests/input/inline_type_hint_assertions.php 7 0 tests/input/LowCaseTypes.php 2 0 tests/input/namespaces-spacing.php 7 0 -tests/input/NamingCamelCase.php 7 0 +tests/input/NamingCamelCase.php 6 0 tests/input/negation-operator.php 2 0 tests/input/new_with_parentheses.php 18 0 tests/input/not_spacing.php 8 0 @@ -45,7 +45,7 @@ tests/input/use-ordering.php 1 0 tests/input/useless-semicolon.php 2 0 tests/input/UselessConditions.php 20 0 ---------------------------------------------------------------------- -A TOTAL OF 375 ERRORS AND 0 WARNINGS WERE FOUND IN 41 FILES +A TOTAL OF 374 ERRORS AND 0 WARNINGS WERE FOUND IN 41 FILES ---------------------------------------------------------------------- PHPCBF CAN FIX 310 OF THESE SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- diff --git a/tests/php-compatibility.patch b/tests/php-compatibility.patch index d87f61b6..64dad028 100644 --- a/tests/php-compatibility.patch +++ b/tests/php-compatibility.patch @@ -13,7 +13,7 @@ index fd5432c..233e24d 100644 tests/input/inline_type_hint_assertions.php 7 0 @@ -23,9 +23,9 @@ tests/input/LowCaseTypes.php 2 0 tests/input/namespaces-spacing.php 7 0 - tests/input/NamingCamelCase.php 7 0 + tests/input/NamingCamelCase.php 6 0 tests/input/negation-operator.php 2 0 -tests/input/new_with_parentheses.php 18 0 +tests/input/new_with_parentheses.php 19 0 @@ -34,8 +34,8 @@ index fd5432c..233e24d 100644 tests/input/useless-semicolon.php 2 0 tests/input/UselessConditions.php 20 0 ---------------------------------------------------------------------- --A TOTAL OF 375 ERRORS AND 0 WARNINGS WERE FOUND IN 41 FILES -+A TOTAL OF 384 ERRORS AND 0 WARNINGS WERE FOUND IN 41 FILES +-A TOTAL OF 374 ERRORS AND 0 WARNINGS WERE FOUND IN 41 FILES ++A TOTAL OF 383 ERRORS AND 0 WARNINGS WERE FOUND IN 41 FILES ---------------------------------------------------------------------- -PHPCBF CAN FIX 310 OF THESE SNIFF VIOLATIONS AUTOMATICALLY +PHPCBF CAN FIX 319 OF THESE SNIFF VIOLATIONS AUTOMATICALLY