@@ -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 | |
@@ -27,8 +27,8 @@ discard block |
||
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( |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Plugin\Prophecy\Token; |
5 | 5 |
@@ -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 | |
@@ -42,7 +42,7 @@ discard block |
||
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 |
||
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 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Traits; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Plugin\Phake; |
5 | 5 |
@@ -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\Phake\Matcher; |
5 | 5 | |
@@ -39,7 +39,7 @@ discard block |
||
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 |
||
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()"', |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Plugin\Phake; |
5 | 5 |