Completed
Pull Request — master (#21)
by
unknown
07:03
created
src/Standards/BestIt/CodeSniffer/File.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         bool $exclude = false,
130 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);
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         bool $exclude = false,
233 233
         ?string $value = null,
234 234
         bool $local = false
235
-    ): int {
235
+    ) : int {
236 236
         $result = $this->baseFile->findNext($types, $start, $end, $exclude, $value, $local);
237 237
 
238 238
         return $this->preparePointer($result);
Please login to merge, or discard this patch.
BestIt/CodeSniffer/Commenting/TagValidator/Validators/ParamValidator.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\Validators;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         }
31 31
 
32 32
         if ($parts[0] === 'array') {
33
-            $this->addInvalidFormatWarning($tagToken, 'Please check if you can typehint your array ' . $parts[1]);
33
+            $this->addInvalidFormatWarning($tagToken, 'Please check if you can typehint your array '.$parts[1]);
34 34
         }
35 35
 
36 36
         $variable = $parts[1];
Please login to merge, or discard this patch.