Completed
Push — master ( b72f37...0c7d03 )
by Alberto
15s
created
src/Moka/Plugin/PluginHelper.php 1 patch
Spacing   +3 added lines, -3 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\Plugin;
5 5
 
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
         $pluginFQCN = self::generateFQCN($pluginName);
28 28
 
29 29
         if (
30
-            !class_exists($pluginFQCN) ||
31
-            !in_array(PluginInterface::class, class_implements($pluginFQCN), true)
30
+            ! class_exists($pluginFQCN) ||
31
+            ! in_array(PluginInterface::class, class_implements($pluginFQCN), true)
32 32
         ) {
33 33
             throw new NotImplementedException(
34 34
                 sprintf(
Please login to merge, or discard this patch.
src/Moka/Plugin/Prophecy/Token/MaxPriorityToken.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\Plugin\Prophecy\Token;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Moka.php 1 patch
Spacing   +3 added lines, -3 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;
5 5
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public static function __callStatic($name, $arguments)
44 44
     {
45
-        if (!isset(self::$mockingStrategies[$name])) {
45
+        if ( ! isset(self::$mockingStrategies[$name])) {
46 46
             /** @var PluginInterface $pluginFQCN */
47 47
             $pluginFQCN = PluginHelper::load($name);
48 48
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public static function brew(string $fqcn, string $alias = null, MockingStrategyInterface $mockingStrategy = null): Proxy
69 69
     {
70
-        if (!$mockingStrategy instanceof MockingStrategyInterface) {
70
+        if ( ! $mockingStrategy instanceof MockingStrategyInterface) {
71 71
             $mockingStrategy = new PHPUnitMockingStrategy();
72 72
         }
73 73
 
Please login to merge, or discard this patch.
src/Moka/Traits/MokaPhakeTrait.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\Traits;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Plugin/Phake/PhakeMockingStrategy.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\Plugin\Phake;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Plugin/Phake/Matcher/FirstStubMatcher.php 1 patch
Spacing   +3 added lines, -3 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\Plugin\Phake\Matcher;
5 5
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $this->methodName = $methodName;
40 40
 
41 41
         $mockHash = spl_object_hash($mock);
42
-        if (!isset(self::$stubsPerMock[$mockHash])) {
42
+        if ( ! isset(self::$stubsPerMock[$mockHash])) {
43 43
             self::$stubsPerMock[$mockHash] = [];
44 44
         }
45 45
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function doArgumentsMatch(array &$arguments)
60 60
     {
61
-        if (!$this->isFirstStub) {
61
+        if ( ! $this->isFirstStub) {
62 62
             throw new MethodMatcherException(
63 63
                 sprintf(
64 64
                     'Cannot override definition for method "%s()"',
Please login to merge, or discard this patch.
src/Moka/Plugin/Phake/PhakePlugin.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\Plugin\Phake;
5 5
 
Please login to merge, or discard this patch.