Completed
Pull Request — master (#47)
by Alberto
06:20
created
src/Stub/Helper/isStaticName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/validateMethodName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/stripNameAndValidate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/isPropertyName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/const.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/isName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/validateStaticName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
Please login to merge, or discard this patch.
src/Stub/Helper/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 require_once __DIR__ . '/const.php';
5 5
 require_once __DIR__ . '/isMethodName.php';
Please login to merge, or discard this patch.
src/Stub/Helper/stripName.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub\Helper;
5 5
 
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
         ? array_intersect(array_keys(PREFIXES), $prefixes)
15 15
         : array_keys(PREFIXES);
16 16
 
17
-    return array_reduce($prefixes, function (string $name, string $prefix) {
17
+    return array_reduce($prefixes, function(string $name, string $prefix) {
18 18
         return preg_replace(
19 19
             sprintf(TEMPLATE_NAME, PREFIXES[$prefix]),
20 20
             '',
Please login to merge, or discard this patch.