Completed
Pull Request — master (#23)
by Björn
08:52
created
CodeSniffer/Commenting/TagValidator/Validators/DeprecatedValidator.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.
BestIt/CodeSniffer/Commenting/TagValidator/Validators/ParamValidator.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.
BestIt/CodeSniffer/Commenting/TagValidator/Validators/VersionValidator.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.
BestIt/CodeSniffer/Commenting/TagValidator/Validators/ThrowsValidator.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.
BestIt/CodeSniffer/Commenting/TagValidator/Validators/ReturnValidator.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/Helper/DocTagHelper.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
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 
245 245
         $this->file->getFixer()->beginChangeset();
246 246
 
247
-        $content = $this->file->getEolChar() . str_repeat('    ', $tagToken['level']) . ' *';
247
+        $content = $this->file->getEolChar().str_repeat('    ', $tagToken['level']).' *';
248 248
 
249 249
         $this->file->getFixer()->addContentBefore($eolPtr, $content);
250 250
 
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Helper/DocTagOccurenceHelper.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/DocTagSortingHelper.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
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             array_column($commentTags, 'content')
113 113
         );
114 114
 
115
-        uasort($tagNames, function ($tagA, $tagB) use ($sortedMetaTags) {
115
+        uasort($tagNames, function($tagA, $tagB) use ($sortedMetaTags) {
116 116
             $expectedPosA = array_search($tagA, $sortedMetaTags, true);
117 117
             $expectedPosB = array_search($tagB, $sortedMetaTags, true);
118 118
 
Please login to merge, or discard this patch.
BestIt/CodeSniffer/Commenting/TagValidator/TagValidatorFactory.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;
6 6
 
Please login to merge, or discard this patch.