Completed
Push — master ( 51895c...7790b0 )
by Alberto
15s
created
src/Moka/Exception/MockNotServedException.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/Moka/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/Moka/Strategy/PHPUnitMockingStrategy.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/Moka/Strategy/Prophecy/AbstractPriorityToken.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\Prophecy;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Stub/StubSet.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;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function add($elem)
22 22
     {
23
-        if (!$elem instanceof Stub) {
23
+        if ( ! $elem instanceof Stub) {
24 24
             throw new InvalidArgumentException(
25 25
                 sprintf(
26 26
                     'Element must be of type %s, %s given',
Please login to merge, or discard this patch.
src/Moka/Proxy/Proxy.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\Proxy;
5 5
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     public function serve()
76 76
     {
77 77
         try {
78
-            if (!$this->mock) {
78
+            if ( ! $this->mock) {
79 79
                 $this->buildMock();
80 80
             }
81 81
 
Please login to merge, or discard this patch.
src/Moka/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(new $mockingStrategy);
29 29
         }
30 30
 
Please login to merge, or discard this patch.
src/Moka/Strategy/Prophecy/NoPriorityToken.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\Prophecy;
5 5
 
Please login to merge, or discard this patch.
src/Moka/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.