Completed
Branch master (d87ed9)
by Tomáš
07:16
created
Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.inc 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
         1
10 10
         2
11 11
         3
12
-       ];
13 12
\ No newline at end of file
13
+        ];
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 $var = array();
3 3
 $var = [];
4
-$var = array(1,2,3);
5
-$var = [1,2,3];
4
+$var = array(1, 2, 3);
5
+$var = [1, 2, 3];
6 6
 echo $var[1];
7
-$foo = [$var[1],$var[2]];
7
+$foo = [$var[1], $var[2]];
8 8
 $foo = [
9 9
         1
10 10
         2
Please login to merge, or discard this patch.
Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                 7  => 1,
48 48
                 12 => 1,
49 49
                 13 => 1,
50
-               );
50
+                );
51 51
 
52 52
     }//end getErrorList()
53 53
 
Please login to merge, or discard this patch.
Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 5 => 1,
46 46
                 7 => 1,
47 47
                 8 => 1,
48
-               );
48
+                );
49 49
 
50 50
     }//end getErrorList()
51 51
 
Please login to merge, or discard this patch.
Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.inc 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
         1
9 9
         2
10 10
         3
11
-       );
11
+        );
12 12
 $var = array/*comment*/(1,2,3);
13 13
 $var = array;
14 14
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 $var = array();
3
-$var = [1,2,3];
4
-$var = array(1,2,3);
3
+$var = [1, 2, 3];
4
+$var = array(1, 2, 3);
5 5
 echo $var[1];
6
-$foo = array($var[1],$var[2]);
6
+$foo = array($var[1], $var[2]);
7 7
 $foo = array(
8 8
         1
9 9
         2
10 10
         3
11 11
        );
12
-$var = array/*comment*/(1,2,3);
12
+$var = array/*comment*/(1, 2, 3);
13 13
 $var = array;
14 14
 
15 15
 function foo(array $array) {}
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         case 'EndFileNewlineUnitTest.3.css':
49 49
             return array(
50 50
                     2 => 1,
51
-                   );
51
+                    );
52 52
             break;
53 53
         default:
54 54
             return array();
Please login to merge, or discard this patch.
Switch Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -43,16 +43,16 @@
 block discarded – undo
43 43
     public function getErrorList($testFile='')
44 44
     {
45 45
         switch ($testFile) {
46
-        case 'EndFileNewlineUnitTest.3.inc':
47
-        case 'EndFileNewlineUnitTest.3.js':
48
-        case 'EndFileNewlineUnitTest.3.css':
49
-            return array(
50
-                    2 => 1,
51
-                   );
52
-            break;
53
-        default:
54
-            return array();
55
-            break;
46
+            case 'EndFileNewlineUnitTest.3.inc':
47
+            case 'EndFileNewlineUnitTest.3.js':
48
+            case 'EndFileNewlineUnitTest.3.css':
49
+                return array(
50
+                        2 => 1,
51
+                       );
52
+                break;
53
+            default:
54
+                return array();
55
+                break;
56 56
         }//end switch
57 57
 
58 58
     }//end getErrorList()
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @return array<int, int>
42 42
      */
43
-    public function getErrorList($testFile='')
43
+    public function getErrorList($testFile = '')
44 44
     {
45 45
         switch ($testFile) {
46 46
         case 'EndFileNewlineUnitTest.3.inc':
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @return array<int, int>
70 70
      */
71
-    public function getWarningList($testFile='')
71
+    public function getWarningList($testFile = '')
72 72
     {
73 73
         return array();
74 74
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         return array(
44 44
                 6  => 1,
45 45
                 10 => 1,
46
-               );
46
+                );
47 47
 
48 48
     }//end getErrorList()
49 49
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         return array(
53 53
                 6  => 1,
54 54
                 10 => 1,
55
-               );
55
+                );
56 56
 
57 57
     }//end getErrorList()
58 58
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         return array(
44 44
                 1 => 1,
45
-               );
45
+                );
46 46
 
47 47
     }//end getErrorList()
48 48
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         return array(
44 44
                 6  => 1,
45 45
                 10 => 1,
46
-               );
46
+                );
47 47
 
48 48
     }//end getErrorList()
49 49
 
Please login to merge, or discard this patch.