@@ -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\Generator\Template; |
5 | 5 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | protected static function doGenerate(\ReflectionParameter $parameter): string |
28 | 28 | { |
29 | 29 | try { |
30 | - $defaultValue = !$parameter->allowsNull() |
|
30 | + $defaultValue = ! $parameter->allowsNull() |
|
31 | 31 | ? var_export($parameter->getDefaultValue(), true) |
32 | 32 | : 'null'; |
33 | 33 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator; |
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 |
@@ -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; |
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 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Plugin\Prophecy\Token; |
5 | 5 |