Completed
Branch master (d87ed9)
by Tomáš
07:16
created
CodeSniffer/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.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
                 9 => 1,
45
-               );
45
+                );
46 46
 
47 47
     }//end getErrorList()
48 48
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.inc 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
 function count() {}
24 24
 
25 25
 trait DelProvider {
26
-  public function delete() {
26
+    public function delete() {
27 27
     //irrelevant
28
-  }
28
+    }
29 29
 }
30 30
 
31 31
 class LeftSideTest {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 delete($filepath);
5 5
 unset($filepath);
6 6
 $size = \sizeof($array);
7
-$size = \my\ns\sizeof('abc');($array);
7
+$size = \my\ns\sizeof('abc'); ($array);
8 8
 
9 9
 // No errors thrown for class methods.
10 10
 $size = MyClass::sizeof($array);
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 14 => 7,
49 49
                 15 => 1,
50 50
                 16 => 1,
51
-               );
51
+                );
52 52
 
53 53
     }//end getErrorList()
54 54
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,13 +47,13 @@
 block discarded – undo
47 47
             return array(
48 48
                     4 => 1,
49 49
                     5 => 1,
50
-                   );
50
+                    );
51 51
         } else if (version_compare(PHP_VERSION, '5.4.0RC1') >= 0) {
52 52
             // Shorthand echo is always available from PHP 5.4.0 but needed the
53 53
             // short_open_tag ini var to be set for versions before this.
54 54
             return array(
55 55
                     4 => 1,
56
-                   );
56
+                    );
57 57
         }
58 58
 
59 59
         return array();
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // True
4
-function myFunction($arg1, $arg2=TRUE)
4
+function myFunction($arg1, $arg2 = TRUE)
5 5
 {
6 6
 }
7
-function myFunction($arg1, $arg2=true)
7
+function myFunction($arg1, $arg2 = true)
8 8
 {
9 9
 }
10
-function myFunction($arg1, $arg2=True)
10
+function myFunction($arg1, $arg2 = True)
11 11
 {
12 12
 }
13 13
 
@@ -17,13 +17,13 @@  discard block
 block discarded – undo
17 17
 
18 18
 
19 19
 // False
20
-function myFunction($arg1, $arg2=FALSE)
20
+function myFunction($arg1, $arg2 = FALSE)
21 21
 {
22 22
 }
23
-function myFunction($arg1, $arg2=false)
23
+function myFunction($arg1, $arg2 = false)
24 24
 {
25 25
 }
26
-function myFunction($arg1, $arg2=False)
26
+function myFunction($arg1, $arg2 = False)
27 27
 {
28 28
 }
29 29
 
@@ -33,13 +33,13 @@  discard block
 block discarded – undo
33 33
 
34 34
 
35 35
 // Null
36
-function myFunction($arg1, $arg2=NULL)
36
+function myFunction($arg1, $arg2 = NULL)
37 37
 {
38 38
 }
39
-function myFunction($arg1, $arg2=null)
39
+function myFunction($arg1, $arg2 = null)
40 40
 {
41 41
 }
42
-function myFunction($arg1, $arg2=Null)
42
+function myFunction($arg1, $arg2 = Null)
43 43
 {
44 44
 }
45 45
 
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
     }
68 68
 }
69 69
 
70
-$x = $f?false:TRUE;
71
-$x = $f? false:TRUE;
70
+$x = $f ? false : TRUE;
71
+$x = $f ? false : TRUE;
72 72
 
73 73
 class MyClass
74 74
 {
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.inc 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // True
4
-function myFunction($arg1, $arg2=true)
4
+function myFunction($arg1, $arg2 = true)
5 5
 {
6 6
 }
7
-function myFunction($arg1, $arg2=TRUE)
7
+function myFunction($arg1, $arg2 = TRUE)
8 8
 {
9 9
 }
10
-function myFunction($arg1, $arg2=True)
10
+function myFunction($arg1, $arg2 = True)
11 11
 {
12 12
 }
13 13
 
@@ -17,13 +17,13 @@  discard block
 block discarded – undo
17 17
 
18 18
 
19 19
 // False
20
-function myFunction($arg1, $arg2=false)
20
+function myFunction($arg1, $arg2 = false)
21 21
 {
22 22
 }
23
-function myFunction($arg1, $arg2=FALSE)
23
+function myFunction($arg1, $arg2 = FALSE)
24 24
 {
25 25
 }
26
-function myFunction($arg1, $arg2=False)
26
+function myFunction($arg1, $arg2 = False)
27 27
 {
28 28
 }
29 29
 
@@ -33,13 +33,13 @@  discard block
 block discarded – undo
33 33
 
34 34
 
35 35
 // Null
36
-function myFunction($arg1, $arg2=null)
36
+function myFunction($arg1, $arg2 = null)
37 37
 {
38 38
 }
39
-function myFunction($arg1, $arg2=NULL)
39
+function myFunction($arg1, $arg2 = NULL)
40 40
 {
41 41
 }
42
-function myFunction($arg1, $arg2=Null)
42
+function myFunction($arg1, $arg2 = Null)
43 43
 {
44 44
 }
45 45
 
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
     }
68 68
 }
69 69
 
70
-$x = $f?FALSE:true;
71
-$x = $f? FALSE:true;
70
+$x = $f ? FALSE : true;
71
+$x = $f ? FALSE : true;
72 72
 
73 73
 class MyClass
74 74
 {
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.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.
Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         return array(
46 46
                 116 => 1,
47
-               );
47
+                );
48 48
 
49 49
     }//end getErrorList()
50 50
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         return array(
63 63
                 45 => 1,
64 64
                 72 => 1,
65
-               );
65
+                );
66 66
 
67 67
     }//end getWarningList()
68 68
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         return array(
46 46
                 73 => 1,
47
-               );
47
+                );
48 48
 
49 49
     }//end getErrorList()
50 50
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         return array(
63 63
                 27 => 1,
64 64
                 46 => 1,
65
-               );
65
+                );
66 66
 
67 67
     }//end getWarningList()
68 68
 
Please login to merge, or discard this patch.