Test Setup Failed
Push — test ( b7f157 )
by Björn
16:41
created
src/Standards/BestIt/Sniffs/Functions/ForbiddenFunctionsSniff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      *
42 42
      * @var File|null
43 43
      */
44
-    protected File|null $file = null;
44
+    protected File | null $file = null;
45 45
 
46 46
     /**
47 47
      * A list of forbidden functions with their alternatives.
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/DocTags/DisallowLeadingAttributeSniff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $this->getFile()->fixer->addContent(
31 31
             $docTagClosingPos,
32 32
             sprintf(
33
-                "\n" . str_repeat(' ', ($this->tokens[$docTagClosingPos]['level']) * 4) . '%s',
33
+                "\n".str_repeat(' ', ($this->tokens[$docTagClosingPos]['level']) * 4).'%s',
34 34
                 trim($collectedAttrContent),
35 35
             ),
36 36
         );
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/Commenting/AbstractDocSniff.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      *
70 70
      * @var int|false|null
71 71
      */
72
-    private int|false|null $summaryPosition = false;
72
+    private int | false | null $summaryPosition = false;
73 73
 
74 74
     /**
75 75
      * Returns true if there is a doc block.
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
         $this->file->fixer->addContent(
114 114
             $position,
115
-            $this->file->eolChar . str_repeat('    ', $token['level']) . ' *',
115
+            $this->file->eolChar.str_repeat('    ', $token['level']).' *',
116 116
         );
117 117
 
118 118
         $this->file->fixer->endChangeset();
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      *
190 190
      * @return int|false
191 191
      */
192
-    private function loadNextDocBlockContent(int $startPosition): int|false
192
+    private function loadNextDocBlockContent(int $startPosition): int | false
193 193
     {
194 194
         return $this->file->findNext(
195 195
             [
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      *
210 210
      * @return int|false
211 211
      */
212
-    private function loadPrevDocBlockContent(int $startPosition): int|false
212
+    private function loadPrevDocBlockContent(int $startPosition): int | false
213 213
     {
214 214
         return $this->file->findPrevious(
215 215
             [
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/DocPosProviderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @var int|false|null
22 22
      */
23
-    private int|false|null $docCommentPos = false;
23
+    private int | false | null $docCommentPos = false;
24 24
 
25 25
     /**
26 26
      * The used doc Helper.
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/AbstractSniff.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,28 +25,28 @@
 block discarded – undo
25 25
      *
26 26
      * @var File|null
27 27
      */
28
-    protected File|null $file = null;
28
+    protected File | null $file = null;
29 29
 
30 30
     /**
31 31
      * Position of the listened token.
32 32
      *
33 33
      * @var int|null
34 34
      */
35
-    protected int|null $stackPos = 0;
35
+    protected int | null $stackPos = 0;
36 36
 
37 37
     /**
38 38
      * The used token.
39 39
      *
40 40
      * @var array|null
41 41
      */
42
-    protected array|null $token = null;
42
+    protected array | null $token = null;
43 43
 
44 44
     /**
45 45
      * All tokens of the class.
46 46
      *
47 47
      * @var array|null The tokens of the class.
48 48
      */
49
-    protected array|null $tokens = null;
49
+    protected array | null $tokens = null;
50 50
 
51 51
     /**
52 52
      * Returns true if the requirements for this sniff are met.
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Helper/DocHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @var int|null|false If false then it will be loaded in the getter.
25 25
      */
26
-    private int|false|null $blockEndPosition = false;
26
+    private int | false | null $blockEndPosition = false;
27 27
 
28 28
     /**
29 29
      * The php cs file.
Please login to merge, or discard this patch.