@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 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( |