Passed
Pull Request — master (#5)
by
unknown
08:17
created
src/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,9 +92,9 @@
 block discarded – undo
92 92
 }
93 93
 
94 94
 if (Channels::systemExists('Log') === TRUE) {
95
-   Channels::includeSystem('Log');
95
+    Channels::includeSystem('Log');
96 96
 } else {
97
-   return;
97
+    return;
98 98
 }
99 99
 
100 100
 Log::addProjectLog('metadata.field.update', $msg);
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
         $shortArgs_longVars = function ($arg) use (
160 160
             $longVar1,
161 161
         ): string {
162
-           // body
162
+            // body
163 163
         };
164 164
     }
165 165
     use A, B, C {
Please login to merge, or discard this patch.
src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     declare(ticks=1) { }
17 17
 
18
-  declare(ticks=1)
18
+    declare(ticks=1)
19 19
 { }
20 20
 
21 21
 declare(ticks=1)
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 declare(ticks=1) { }$x =1;
29 29
 
30 30
     declare(ticks=1) {
31
-      $test = true;
31
+        $test = true;
32 32
     }
33 33
 
34 34
 declare(  ticks // phpcs:ignore Standard.Category.SniffName -- fixing is undesirable
Please login to merge, or discard this patch.
src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.inc 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@  discard block
 block discarded – undo
14 14
 $longArgs_noVars = function (
15 15
     $longArgument,
16 16
 ): string {
17
-   // body
17
+    // body
18 18
 };
19 19
 
20 20
 $shortArgs_longVars = function ($arg) use (
21 21
     $longVar1,
22 22
 ): string {
23
-   // body
23
+    // body
24 24
 };
25 25
 
26 26
 public function functionName(int $arg1, $arg2)
@@ -39,14 +39,14 @@  discard block
 block discarded – undo
39 39
 $longArgs_noVars = function (
40 40
     $longArgument,
41 41
 ) :string {
42
-   // body
42
+    // body
43 43
 };
44 44
 
45 45
 $shortArgs_longVars = function ($arg) use (
46 46
     $longVar1,
47 47
 )
48 48
 :string {
49
-   // body
49
+    // body
50 50
 };
51 51
 
52 52
 public function functionName(int $arg1, $arg2) /* can't fix */ : string {}
Please login to merge, or discard this patch.
src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
 
35 35
     $one ,
36 36
 $two,
37
-  $three, $four) {};
37
+    $three, $four) {};
38 38
 
39 39
 $instance4 = new class
40 40
             extends \Foo {
41 41
             };
42 42
 
43 43
 $instance5 = new class($one ,
44
-  $two , $three) extends \Foo
44
+    $two , $three) extends \Foo
45 45
     implements \HandleableInterface {};
46 46
 
47 47
 $instance6 = new class extends \Foo
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     \One, \Two,
54 54
         \Three,
55 55
 \Four,
56
-  \Five {
56
+    \Five {
57 57
     // Class content
58 58
 };
59 59
 
Please login to merge, or discard this patch.
src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 $foo = $a instanceof$b;
27 27
 
28 28
 $foo .= 'hi'
29
-     .= 'there';
29
+        .= 'there';
30 30
 
31 31
 $foo .= 'hi'
32 32
 .= 'there';
Please login to merge, or discard this patch.
src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.inc 1 patch
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.
php_codesniffer/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,5 +14,5 @@
 block discarded – undo
14 14
 echo "i = $i";
15 15
 
16 16
 end: {
17
-  echo 'j hit 17';
17
+    echo 'j hit 17';
18 18
 }
Please login to merge, or discard this patch.
Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 -- /*comment*/ $i;
7 7
 ++$i;
8 8
 ++ 
9
-   $i;
9
+    $i;
10 10
 ++/*comment*/$i;
11 11
 
12 12
 $i--;
Please login to merge, or discard this patch.