Completed
Pull Request — master (#19)
by
unknown
07:50
created
src/Standards/BestIt/CodeSniffer/Helper/DocHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer\Helper;
6 6
 
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Helper/DocSummaryHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer\Helper;
6 6
 
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
 
243 243
         $this->file->getFixer()->addContent(
244 244
             $summaryPtr,
245
-            $this->file->getEolChar() . str_repeat('    ', $summaryToken['level']) . ' *'
245
+            $this->file->getEolChar().str_repeat('    ', $summaryToken['level']).' *'
246 246
         );
247 247
 
248 248
         $this->file->getFixer()->endChangeset();
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Helper/DocDescriptionHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer\Helper;
6 6
 
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
 
303 303
         $this->file->getFixer()->addContent(
304 304
             $descEndPtr,
305
-            $this->file->getEolChar() . str_repeat('    ', $descEndToken['level']) . ' *'
305
+            $this->file->getEolChar().str_repeat('    ', $descEndToken['level']).' *'
306 306
         );
307 307
 
308 308
         $this->file->getFixer()->endChangeset();
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Fixer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer;
6 6
 
Please login to merge, or discard this patch.
BestIt/CodeSniffer/Commenting/TagValidator/TagValidatorFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer\Commenting\TagValidator;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @return ValidatorInterface|null Validator or null
32 32
      */
33
-    public function createFromTagName(File $file, string $tagName): ?ValidatorInterface
33
+    public function createFromTagName(File $file, string $tagName): ? ValidatorInterface
34 34
     {
35 35
         $validator = null;
36 36
 
Please login to merge, or discard this patch.
BestIt/CodeSniffer/Commenting/TagValidator/Validators/VarValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer\Commenting\TagValidator\Validators;
6 6
 
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/File.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         array $data = [],
88 88
         int $severity = 0
89 89
     ): bool {
90
-         return $this->baseFile->addFixableError($error, $stackPtr, $code, $data, $severity);
90
+            return $this->baseFile->addFixableError($error, $stackPtr, $code, $data, $severity);
91 91
     }
92 92
 
93 93
     /**
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer;
6 6
 
@@ -125,11 +125,11 @@  discard block
 block discarded – undo
125 125
     public function findPrevious(
126 126
         array $types,
127 127
         int $start,
128
-        ?int $end = null,
128
+        ? int $end = null,
129 129
         bool $exclude = false,
130
-        ?string $value = null,
130
+        ? string $value = null,
131 131
         bool $local = false
132
-    ): int {
132
+    ) : int {
133 133
         $pointer = $this->baseFile->findPrevious($types, $start, $end, $exclude, $value, $local);
134 134
 
135 135
         return $this->preparePointer($pointer);
@@ -209,11 +209,11 @@  discard block
 block discarded – undo
209 209
     public function findNext(
210 210
         array $types,
211 211
         int $start,
212
-        ?int $end = null,
212
+        ? int $end = null,
213 213
         bool $exclude = false,
214
-        ?string $value = null,
214
+        ? string $value = null,
215 215
         bool $local = false
216
-    ): int {
216
+    ) : int {
217 217
         $result = $this->baseFile->findNext($types, $start, $end, $exclude, $value, $local);
218 218
 
219 219
         return $this->preparePointer($result);
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Helper/PropertyHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer\Helper;
6 6
 
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/AbstractSniff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BestIt\CodeSniffer;
6 6
 
Please login to merge, or discard this patch.