Completed
Pull Request — master (#6)
by Tomáš
07:30
created
src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @return array<int, int>
44 44
      */
45
-    public function getErrorList($testFile='SwitchDeclarationUnitTest.inc')
45
+    public function getErrorList($testFile = 'SwitchDeclarationUnitTest.inc')
46 46
     {
47 47
         return array(
48 48
                 27  => 1,
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @return array<int, int>
102 102
      */
103
-    public function getWarningList($testFile='SwitchDeclarationUnitTest.inc')
103
+    public function getWarningList($testFile = 'SwitchDeclarationUnitTest.inc')
104 104
     {
105 105
         if ($testFile === 'SwitchDeclarationUnitTest.js') {
106 106
             return array(273 => 1);
Please login to merge, or discard this patch.
Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 }//end class
73 73
 
74 74
 // Closures don't need end comments.
75
-echo preg_replace_callback('~-([a-z])~', function ($match) { return strtoupper($match[1]); }, 'hello-world');
75
+echo preg_replace_callback('~-([a-z])~', function($match) { return strtoupper($match[1]); }, 'hello-world');
76 76
 
77 77
 class TestClass
78 78
 {
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -43,35 +43,35 @@
 block discarded – undo
43 43
     public function getErrorList()
44 44
     {
45 45
         $errors = array(
46
-                   3   => 1,
47
-                   5   => 1,
48
-                   10  => 1,
49
-                   12  => 1,
50
-                   15  => 1,
51
-                   17  => 1,
52
-                   20  => 1,
53
-                   22  => 1,
54
-                   25  => 1,
55
-                   27  => 1,
56
-                   31  => 1,
57
-                   33  => 1,
58
-                   36  => 1,
59
-                   37  => 1,
60
-                   39  => 1,
61
-                   42  => 1,
62
-                   44  => 1,
63
-                   53  => 1,
64
-                   58  => 1,
65
-                   62  => 1,
66
-                   63  => 1,
67
-                   64  => 1,
68
-                   67  => 1,
69
-                   81  => 1,
70
-                   106 => 1,
71
-                   107 => 1,
72
-                   108 => 1,
73
-                   117 => 1,
74
-                  );
46
+                    3   => 1,
47
+                    5   => 1,
48
+                    10  => 1,
49
+                    12  => 1,
50
+                    15  => 1,
51
+                    17  => 1,
52
+                    20  => 1,
53
+                    22  => 1,
54
+                    25  => 1,
55
+                    27  => 1,
56
+                    31  => 1,
57
+                    33  => 1,
58
+                    36  => 1,
59
+                    37  => 1,
60
+                    39  => 1,
61
+                    42  => 1,
62
+                    44  => 1,
63
+                    53  => 1,
64
+                    58  => 1,
65
+                    62  => 1,
66
+                    63  => 1,
67
+                    64  => 1,
68
+                    67  => 1,
69
+                    81  => 1,
70
+                    106 => 1,
71
+                    107 => 1,
72
+                    108 => 1,
73
+                    117 => 1,
74
+                    );
75 75
 
76 76
         return $errors;
77 77
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/PHP/ForbiddenFunctionsUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.