Completed
Pull Request — master (#44)
by Alberto
07:10
created
src/Exception/InvalidIdentifierException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/NotImplementedException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/InvalidArgumentException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/MockNotCreatedException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/MissingDependencyException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Factory/ProxyBuilderFactory.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\Factory;
5 5
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     public static function get(MockingStrategyInterface $mockingStrategy): ProxyBuilder
25 25
     {
26 26
         $key = self::key($mockingStrategy);
27
-        if (!array_key_exists($key, self::$mockBuilders) || !self::$mockBuilders[$key] instanceof ProxyBuilder) {
27
+        if ( ! array_key_exists($key, self::$mockBuilders) || ! self::$mockBuilders[$key] instanceof ProxyBuilder) {
28 28
             self::$mockBuilders[$key] = static::build($mockingStrategy);
29 29
         }
30 30
 
Please login to merge, or discard this patch.
src/Factory/ProxyGeneratorFactory.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\Factory;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public static function get(MockingStrategyInterface $mockingStrategy): ProxyGenerator
21 21
     {
22 22
         $key = self::key($mockingStrategy);
23
-        if (!array_key_exists($key, self::$proxyGenerators) || !self::$proxyGenerators[$key] instanceof ProxyGenerator) {
23
+        if ( ! array_key_exists($key, self::$proxyGenerators) || ! self::$proxyGenerators[$key] instanceof ProxyGenerator) {
24 24
             self::$proxyGenerators[$key] = static::build($mockingStrategy);
25 25
         }
26 26
 
Please login to merge, or discard this patch.
src/Strategy/MockingStrategyInterface.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\Strategy;
5 5
 
Please login to merge, or discard this patch.
src/Tests/MokaPluginTestCase.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\Tests;
5 5
 
Please login to merge, or discard this patch.