Passed
Pull Request — master (#13)
by Tim
03:40 queued 01:49
created
src/Standards/BestIt/Sniffs/Functions/FluentSetterSniff.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\Sniffs\Functions;
6 6
 
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         $phpcsFile->fixer->beginChangeset();
188 188
         $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1);
189
-        $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces . 'return $this;');
189
+        $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces.'return $this;');
190 190
         $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1);
191 191
         $phpcsFile->fixer->endChangeset();
192 192
     }
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/Formatting/SpaceAfterDeclareSniff.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\Sniffs\Formatting;
6 6
 
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/Commenting/MethodDocSniff.php 2 patches
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
 
6 6
 namespace BestIt\Sniffs\Commenting;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Checks capital letter and spacing of long description
257 257
      *
258
-     * @param $shortEnd
258
+     * @param integer $shortEnd
259 259
      * @param $long
260 260
      *
261 261
      * @return void
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * Checks the method doc block
343 343
      *
344
-     * @param $stackPtr
344
+     * @param integer $stackPtr
345 345
      * @param $commentEnd
346 346
      *
347 347
      * @return void
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/Formatting/OpenTagSniff.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\Sniffs\Formatting;
6 6
 
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/TypeHints/DeclareStrictTypesSniff.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\Sniffs\TypeHints;
6 6
 
Please login to merge, or discard this patch.