1
1
diff --git a/src/Unleashed/Sniffs/Namespaces/FullyQualifiedGlobalFunctionsSniff.php b/src/Unleashed/Sniffs/Namespaces/FullyQualifiedGlobalFunctionsSniff.php
2
- index eee1c6f..742226e 100644
2
+ index fe018ad..4810bd0 100644
3
3
--- a/src/Unleashed/Sniffs/Namespaces/FullyQualifiedGlobalFunctionsSniff.php
4
4
+++ b/src/Unleashed/Sniffs/Namespaces/FullyQualifiedGlobalFunctionsSniff.php
5
5
@@ -11,11 +11,10 @@ use Unleashed\SniffHelper;
@@ -17,16 +17,10 @@ index eee1c6f..742226e 100644
17
17
'array_key_exists' => true,
18
18
'array_slice' => true,
19
19
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
20
- index 1ecfaaa..06d22b0 100644
20
+ index 1ecfaaa..975b9ca 100644
21
21
--- a/tests/expected_report.txt
22
22
+++ b/tests/expected_report.txt
23
- @@ -6,45 +6,46 @@ FILE ERRORS WARNINGS
24
- tests/input/array_indentation.php 10 0
25
- tests/input/assignment-operators.php 4 0
26
- tests/input/binary_operators.php 9 0
27
- - tests/input/class-references.php 10 0
28
- + tests/input/class-references.php 15 0
29
- tests/input/concatenation_spacing.php 49 0
23
+ @@ -11,40 +11,42 @@ tests/input/concatenation_spacing.php 49 0
30
24
tests/input/constants-no-lsb.php 2 0
31
25
tests/input/constants-var.php 4 0
32
26
tests/input/ControlStructures.php 17 2
@@ -39,11 +33,11 @@ index 1ecfaaa..06d22b0 100644
39
33
tests/input/forbidden-comments.php 14 0
40
34
tests/input/forbidden-functions.php 5 0
41
35
tests/input/fully-qualified-and-fallbacks.php 1 0
42
- - tests/input/inline_type_hint_assertions.php 7 0
36
+ + tests/input/fully-qualified-without-namespace.php 3 0
37
+ tests/input/inline_type_hint_assertions.php 7 0
43
38
- tests/input/LowCaseTypes.php 4 0
44
39
- tests/input/namespaces-spacing.php 8 0
45
40
- tests/input/NamingCamelCase.php 9 0
46
- + tests/input/inline_type_hint_assertions.php 8 0
47
41
+ tests/input/LowCaseTypes.php 3 0
48
42
+ tests/input/namespaces-spacing.php 12 0
49
43
+ tests/input/NamingCamelCase.php 8 0
@@ -52,10 +46,9 @@ index 1ecfaaa..06d22b0 100644
52
46
- tests/input/not_spacing.php 6 0
53
47
+ tests/input/not_spacing.php 8 0
54
48
tests/input/null_coalesce_operator.php 3 0
55
- - tests/input/optimized-functions.php 1 0
49
+ tests/input/optimized-functions.php 1 0
56
50
- tests/input/return_type_on_closures.php 29 0
57
51
- tests/input/return_type_on_methods.php 25 0
58
- + tests/input/optimized-functions.php 2 0
59
52
+ tests/input/return_type_on_closures.php 17 0
60
53
+ tests/input/return_type_on_methods.php 13 0
61
54
tests/input/semicolon_spacing.php 3 0
@@ -78,10 +71,10 @@ index 1ecfaaa..06d22b0 100644
78
71
+ tests/input/UselessConditions.php 23 0
79
72
----------------------------------------------------------------------
80
73
- A TOTAL OF 388 ERRORS AND 2 WARNINGS WERE FOUND IN 38 FILES
81
- + A TOTAL OF 366 ERRORS AND 2 WARNINGS WERE FOUND IN 39 FILES
74
+ + A TOTAL OF 362 ERRORS AND 2 WARNINGS WERE FOUND IN 40 FILES
82
75
----------------------------------------------------------------------
83
76
- PHPCBF CAN FIX 331 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
84
- + PHPCBF CAN FIX 309 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
77
+ + PHPCBF CAN FIX 305 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
85
78
----------------------------------------------------------------------
86
79
87
80
0 commit comments