diff --git a/lib/Doctrine/ruleset.xml b/lib/Doctrine/ruleset.xml index a24fa07c..05a0d89c 100644 --- a/lib/Doctrine/ruleset.xml +++ b/lib/Doctrine/ruleset.xml @@ -137,6 +137,12 @@ + + + + + + diff --git a/tests/expected_report.txt b/tests/expected_report.txt index 865ebe36..de60dbe3 100644 --- a/tests/expected_report.txt +++ b/tests/expected_report.txt @@ -8,6 +8,7 @@ tests/input/arrow-functions-format.php 10 0 tests/input/assignment-operators.php 4 0 tests/input/binary_operators.php 9 0 tests/input/class-references.php 10 0 +tests/input/ClassPropertySpacing.php 2 0 tests/input/concatenation_spacing.php 49 0 tests/input/constants-no-lsb.php 2 0 tests/input/constants-var.php 7 0 @@ -50,9 +51,9 @@ tests/input/use-ordering.php 1 0 tests/input/useless-semicolon.php 2 0 tests/input/UselessConditions.php 21 0 ---------------------------------------------------------------------- -A TOTAL OF 435 ERRORS AND 0 WARNINGS WERE FOUND IN 46 FILES +A TOTAL OF 437 ERRORS AND 0 WARNINGS WERE FOUND IN 47 FILES ---------------------------------------------------------------------- -PHPCBF CAN FIX 368 OF THESE SNIFF VIOLATIONS AUTOMATICALLY +PHPCBF CAN FIX 370 OF THESE SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- diff --git a/tests/fixed/ClassPropertySpacing.php b/tests/fixed/ClassPropertySpacing.php new file mode 100644 index 00000000..438cecaa --- /dev/null +++ b/tests/fixed/ClassPropertySpacing.php @@ -0,0 +1,18 @@ +