GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 3da54d...2645ec )
by Drakakis
05:09
created
src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php 1 patch
Switch Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -43,32 +43,32 @@
 block discarded – undo
43 43
     public function getWarningList($testFile='')
44 44
     {
45 45
         switch ($testFile) {
46
-        case 'DuplicateClassNameUnitTest.1.inc':
47
-            return [
48
-                8  => 1,
49
-                9  => 1,
50
-                10 => 1,
51
-            ];
52
-            break;
53
-        case 'DuplicateClassNameUnitTest.2.inc':
54
-            return [
55
-                2 => 1,
56
-                3 => 1,
57
-                4 => 1,
58
-            ];
59
-            break;
60
-        case 'DuplicateClassNameUnitTest.5.inc':
61
-            return [
62
-                3 => 1,
63
-                7 => 1,
64
-            ];
65
-            break;
66
-        case 'DuplicateClassNameUnitTest.6.inc':
67
-            return [10 => 1];
68
-            break;
69
-        default:
70
-            return [];
71
-            break;
46
+            case 'DuplicateClassNameUnitTest.1.inc':
47
+                return [
48
+                    8  => 1,
49
+                    9  => 1,
50
+                    10 => 1,
51
+                ];
52
+                break;
53
+            case 'DuplicateClassNameUnitTest.2.inc':
54
+                return [
55
+                    2 => 1,
56
+                    3 => 1,
57
+                    4 => 1,
58
+                ];
59
+                break;
60
+            case 'DuplicateClassNameUnitTest.5.inc':
61
+                return [
62
+                    3 => 1,
63
+                    7 => 1,
64
+                ];
65
+                break;
66
+            case 'DuplicateClassNameUnitTest.6.inc':
67
+                return [10 => 1];
68
+                break;
69
+            default:
70
+                return [];
71
+                break;
72 72
         }//end switch
73 73
 
74 74
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.php 1 patch
Switch Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -28,28 +28,28 @@
 block discarded – undo
28 28
     public function getErrorList($testFile='UnnecessaryStringConcatUnitTest.inc')
29 29
     {
30 30
         switch ($testFile) {
31
-        case 'UnnecessaryStringConcatUnitTest.inc':
32
-            return [
33
-                2  => 1,
34
-                6  => 1,
35
-                9  => 1,
36
-                12 => 1,
37
-                19 => 1,
38
-                20 => 1,
39
-            ];
40
-            break;
41
-        case 'UnnecessaryStringConcatUnitTest.js':
42
-            return [
43
-                1  => 1,
44
-                8  => 1,
45
-                11 => 1,
46
-                14 => 1,
47
-                15 => 1,
48
-            ];
49
-            break;
50
-        default:
51
-            return [];
52
-            break;
31
+            case 'UnnecessaryStringConcatUnitTest.inc':
32
+                return [
33
+                    2  => 1,
34
+                    6  => 1,
35
+                    9  => 1,
36
+                    12 => 1,
37
+                    19 => 1,
38
+                    20 => 1,
39
+                ];
40
+                break;
41
+            case 'UnnecessaryStringConcatUnitTest.js':
42
+                return [
43
+                    1  => 1,
44
+                    8  => 1,
45
+                    11 => 1,
46
+                    14 => 1,
47
+                    15 => 1,
48
+                ];
49
+                break;
50
+            default:
51
+                return [];
52
+                break;
53 53
         }//end switch
54 54
 
55 55
     }//end getErrorList()
Please login to merge, or discard this patch.
Generic/Tests/ControlStructures/InlineControlStructureUnitTest.php 1 patch
Switch Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -28,65 +28,65 @@
 block discarded – undo
28 28
     public function getErrorList($testFile='InlineControlStructureUnitTest.1.inc')
29 29
     {
30 30
         switch ($testFile) {
31
-        case 'InlineControlStructureUnitTest.1.inc':
32
-            return [
33
-                3   => 1,
34
-                7   => 1,
35
-                11  => 1,
36
-                13  => 1,
37
-                15  => 1,
38
-                17  => 1,
39
-                23  => 1,
40
-                45  => 1,
41
-                46  => 1,
42
-                49  => 1,
43
-                62  => 1,
44
-                66  => 1,
45
-                78  => 1,
46
-                120 => 1,
47
-                128 => 1,
48
-                134 => 1,
49
-                142 => 1,
50
-                143 => 1,
51
-                144 => 1,
52
-                150 => 1,
53
-                158 => 1,
54
-                159 => 1,
55
-                162 => 1,
56
-                163 => 1,
57
-                164 => 1,
58
-                167 => 1,
59
-                168 => 1,
60
-                170 => 1,
61
-                178 => 1,
62
-                185 => 1,
63
-                188 => 2,
64
-                191 => 1,
65
-                195 => 1,
66
-                198 => 1,
67
-                206 => 1,
68
-                222 => 1,
69
-                232 => 1,
70
-                235 => 1,
71
-                236 => 1,
72
-                238 => 1,
73
-                242 => 1,
74
-            ];
31
+            case 'InlineControlStructureUnitTest.1.inc':
32
+                return [
33
+                    3   => 1,
34
+                    7   => 1,
35
+                    11  => 1,
36
+                    13  => 1,
37
+                    15  => 1,
38
+                    17  => 1,
39
+                    23  => 1,
40
+                    45  => 1,
41
+                    46  => 1,
42
+                    49  => 1,
43
+                    62  => 1,
44
+                    66  => 1,
45
+                    78  => 1,
46
+                    120 => 1,
47
+                    128 => 1,
48
+                    134 => 1,
49
+                    142 => 1,
50
+                    143 => 1,
51
+                    144 => 1,
52
+                    150 => 1,
53
+                    158 => 1,
54
+                    159 => 1,
55
+                    162 => 1,
56
+                    163 => 1,
57
+                    164 => 1,
58
+                    167 => 1,
59
+                    168 => 1,
60
+                    170 => 1,
61
+                    178 => 1,
62
+                    185 => 1,
63
+                    188 => 2,
64
+                    191 => 1,
65
+                    195 => 1,
66
+                    198 => 1,
67
+                    206 => 1,
68
+                    222 => 1,
69
+                    232 => 1,
70
+                    235 => 1,
71
+                    236 => 1,
72
+                    238 => 1,
73
+                    242 => 1,
74
+                ];
75 75
 
76
-        case 'InlineControlStructureUnitTest.js':
77
-            return [
78
-                3  => 1,
79
-                7  => 1,
80
-                11 => 1,
81
-                13 => 1,
82
-                15 => 1,
83
-                21 => 1,
84
-                27 => 1,
85
-                30 => 1,
86
-            ];
76
+            case 'InlineControlStructureUnitTest.js':
77
+                return [
78
+                    3  => 1,
79
+                    7  => 1,
80
+                    11 => 1,
81
+                    13 => 1,
82
+                    15 => 1,
83
+                    21 => 1,
84
+                    27 => 1,
85
+                    30 => 1,
86
+                ];
87 87
 
88
-        default:
89
-            return [];
88
+            default:
89
+                return [];
90 90
         }//end switch
91 91
 
92 92
     }//end getErrorList()
Please login to merge, or discard this patch.
Generic/Tests/ControlStructures/InlineControlStructureUnitTest.1.inc 1 patch
Switch Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -109,11 +109,11 @@  discard block
 block discarded – undo
109 109
 switch($response = \Bar::baz('bat', function ($foo) {
110 110
     return 'bar';
111 111
 })) {
112
-    case 1:
113
-        return 'test';
112
+        case 1:
113
+            return 'test';
114 114
 
115
-    case 2:
116
-        return 'other';
115
+        case 2:
116
+            return 'other';
117 117
 }
118 118
 
119 119
 $stuff = [1,2,3];
@@ -202,14 +202,14 @@  discard block
 block discarded – undo
202 202
     }
203 203
 
204 204
 switch ($num) {
205
-    case 0:
206
-        if (1 > $num)
207
-            return bar(
208
-                baz(
209
-                    "foobarbaz"
210
-                )
211
-            );
212
-        break;
205
+        case 0:
206
+            if (1 > $num)
207
+                return bar(
208
+                    baz(
209
+                        "foobarbaz"
210
+                    )
211
+                );
212
+            break;
213 213
 }
214 214
 
215 215
 do {
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php 1 patch
Switch Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@
 block discarded – undo
28 28
     public function getErrorList($testFile='')
29 29
     {
30 30
         switch ($testFile) {
31
-        case 'InlineHTMLUnitTest.3.inc':
32
-            return [4 => 1];
33
-            break;
34
-        case 'InlineHTMLUnitTest.4.inc':
35
-            return [1 => 1];
36
-            break;
37
-        case 'InlineHTMLUnitTest.7.inc':
38
-            return [1 => 1];
39
-            break;
40
-        default:
41
-            return [];
42
-            break;
31
+            case 'InlineHTMLUnitTest.3.inc':
32
+                return [4 => 1];
33
+                break;
34
+            case 'InlineHTMLUnitTest.4.inc':
35
+                return [1 => 1];
36
+                break;
37
+            case 'InlineHTMLUnitTest.7.inc':
38
+                return [1 => 1];
39
+                break;
40
+            default:
41
+                return [];
42
+                break;
43 43
         }//end switch
44 44
 
45 45
     }//end getErrorList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php 1 patch
Switch Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,10 +43,10 @@
 block discarded – undo
43 43
     public function getErrorList($testFile='')
44 44
     {
45 45
         switch ($testFile) {
46
-        case 'ExecutableFileUnitTest.2.inc':
47
-            return [1 => 1];
48
-        default:
49
-            return [];
46
+            case 'ExecutableFileUnitTest.2.inc':
47
+                return [1 => 1];
48
+            default:
49
+                return [];
50 50
         }//end switch
51 51
 
52 52
     }//end getErrorList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php 1 patch
Switch Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@
 block discarded – undo
28 28
     public function getErrorList($testFile='')
29 29
     {
30 30
         switch ($testFile) {
31
-        case 'EndFileNewlineUnitTest.3.inc':
32
-        case 'EndFileNewlineUnitTest.3.js':
33
-        case 'EndFileNewlineUnitTest.3.css':
34
-        case 'EndFileNewlineUnitTest.4.inc':
35
-            return [2 => 1];
36
-        default:
37
-            return [];
31
+            case 'EndFileNewlineUnitTest.3.inc':
32
+            case 'EndFileNewlineUnitTest.3.js':
33
+            case 'EndFileNewlineUnitTest.3.css':
34
+            case 'EndFileNewlineUnitTest.4.inc':
35
+                return [2 => 1];
36
+            default:
37
+                return [];
38 38
         }//end switch
39 39
 
40 40
     }//end getErrorList()
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php 1 patch
Switch Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -43,21 +43,21 @@  discard block
 block discarded – undo
43 43
     public function getErrorList($testFile='')
44 44
     {
45 45
         switch ($testFile) {
46
-        case 'LineLengthUnitTest.1.inc':
47
-            return [
48
-                31 => 1,
49
-                34 => 1,
50
-                45 => 1,
51
-                82 => 1,
52
-            ];
53
-            break;
54
-        case 'LineLengthUnitTest.2.inc':
55
-        case 'LineLengthUnitTest.3.inc':
56
-            return [7 => 1];
57
-            break;
58
-        default:
59
-            return [];
60
-            break;
46
+            case 'LineLengthUnitTest.1.inc':
47
+                return [
48
+                    31 => 1,
49
+                    34 => 1,
50
+                    45 => 1,
51
+                    82 => 1,
52
+                ];
53
+                break;
54
+            case 'LineLengthUnitTest.2.inc':
55
+            case 'LineLengthUnitTest.3.inc':
56
+                return [7 => 1];
57
+                break;
58
+            default:
59
+                return [];
60
+                break;
61 61
         }//end switch
62 62
 
63 63
     }//end getErrorList()
@@ -76,33 +76,33 @@  discard block
 block discarded – undo
76 76
     public function getWarningList($testFile='')
77 77
     {
78 78
         switch ($testFile) {
79
-        case 'LineLengthUnitTest.1.inc':
80
-            return [
81
-                9  => 1,
82
-                15 => 1,
83
-                21 => 1,
84
-                24 => 1,
85
-                29 => 1,
86
-                37 => 1,
87
-                63 => 1,
88
-                73 => 1,
89
-                75 => 1,
90
-                84 => 1,
91
-            ];
92
-            break;
93
-        case 'LineLengthUnitTest.2.inc':
94
-        case 'LineLengthUnitTest.3.inc':
95
-            return [6 => 1];
96
-            break;
97
-        case 'LineLengthUnitTest.4.inc':
98
-            return [
99
-                10 => 1,
100
-                14 => 1,
101
-            ];
102
-            break;
103
-        default:
104
-            return [];
105
-            break;
79
+            case 'LineLengthUnitTest.1.inc':
80
+                return [
81
+                    9  => 1,
82
+                    15 => 1,
83
+                    21 => 1,
84
+                    24 => 1,
85
+                    29 => 1,
86
+                    37 => 1,
87
+                    63 => 1,
88
+                    73 => 1,
89
+                    75 => 1,
90
+                    84 => 1,
91
+                ];
92
+                break;
93
+            case 'LineLengthUnitTest.2.inc':
94
+            case 'LineLengthUnitTest.3.inc':
95
+                return [6 => 1];
96
+                break;
97
+            case 'LineLengthUnitTest.4.inc':
98
+                return [
99
+                    10 => 1,
100
+                    14 => 1,
101
+                ];
102
+                break;
103
+            default:
104
+                return [];
105
+                break;
106 106
         }//end switch
107 107
 
108 108
     }//end getWarningList()
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php 1 patch
Switch Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@
 block discarded – undo
28 28
     public function getErrorList($testFile='')
29 29
     {
30 30
         switch ($testFile) {
31
-        case 'EndFileNoNewlineUnitTest.1.inc':
32
-        case 'EndFileNoNewlineUnitTest.1.css':
33
-        case 'EndFileNoNewlineUnitTest.1.js':
34
-        case 'EndFileNoNewlineUnitTest.2.inc':
35
-            return [3 => 1];
36
-        case 'EndFileNoNewlineUnitTest.2.css':
37
-        case 'EndFileNoNewlineUnitTest.2.js':
38
-        case 'EndFileNoNewlineUnitTest.6.inc':
39
-            return [2 => 1];
40
-        default:
41
-            return [];
31
+            case 'EndFileNoNewlineUnitTest.1.inc':
32
+            case 'EndFileNoNewlineUnitTest.1.css':
33
+            case 'EndFileNoNewlineUnitTest.1.js':
34
+            case 'EndFileNoNewlineUnitTest.2.inc':
35
+                return [3 => 1];
36
+            case 'EndFileNoNewlineUnitTest.2.css':
37
+            case 'EndFileNoNewlineUnitTest.2.js':
38
+            case 'EndFileNoNewlineUnitTest.6.inc':
39
+                return [2 => 1];
40
+            default:
41
+                return [];
42 42
         }//end switch
43 43
 
44 44
     }//end getErrorList()
Please login to merge, or discard this patch.