Completed
Pull Request — master (#44)
by Angelo
05:12 queued 02:12
created
src/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
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function __callStatic(string $name, array $arguments): ProxyInterface
47 47
     {
48
-        if (!isset(self::$mockingStrategies[$name])) {
48
+        if ( ! isset(self::$mockingStrategies[$name])) {
49 49
             self::$mockingStrategies[$name] = loadPlugin($name);
50 50
         }
51 51
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     {
138 138
         $backtrace = debug_backtrace();
139 139
         foreach ($backtrace as $frame) {
140
-            if (!isset($frame['object'])) {
140
+            if ( ! isset($frame['object'])) {
141 141
                 continue;
142 142
             }
143 143
 
Please login to merge, or discard this patch.
src/Plugin/plugin.helper.functions.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
 
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     $pluginFQCN = generateFQCN($pluginName);
25 25
 
26 26
     if (
27
-        !class_exists($pluginFQCN) ||
28
-        !\in_array(PluginInterface::class, class_implements($pluginFQCN), true)
27
+        ! class_exists($pluginFQCN) ||
28
+        ! \in_array(PluginInterface::class, class_implements($pluginFQCN), true)
29 29
     ) {
30 30
         throw new NotImplementedException(
31 31
             sprintf(
Please login to merge, or discard this patch.