@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function get($contextParameterName) |
32 | 32 | { |
33 | - if (! $this->has($contextParameterName)) { |
|
33 | + if ( ! $this->has($contextParameterName)) { |
|
34 | 34 | throw new \LogicException('Cannot find parameter: ' . $contextParameterName); |
35 | 35 | } |
36 | 36 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | ? $inputPathOrFileName . DIRECTORY_SEPARATOR . self::DEFAULT_FILE_NAME |
25 | 25 | : $inputPathOrFileName; |
26 | 26 | |
27 | - if (! is_file($configFile) || ! is_readable($configFile)) { |
|
27 | + if ( ! is_file($configFile) || ! is_readable($configFile)) { |
|
28 | 28 | throw new \InvalidArgumentException('Config file ' . $configFile . ' does not exist or is not readable'); |
29 | 29 | } |
30 | 30 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | protected function logMatches(\stdClass $log) |
54 | 54 | { |
55 | - if (! property_exists($log, 'status')) { |
|
55 | + if ( ! property_exists($log, 'status')) { |
|
56 | 56 | return false; |
57 | 57 | } |
58 | 58 | |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | return true; |
65 | 65 | } |
66 | 66 | |
67 | - if (! property_exists($log, 'message')) { |
|
67 | + if ( ! property_exists($log, 'message')) { |
|
68 | 68 | return false; |
69 | 69 | } |
70 | 70 |
@@ -68,7 +68,7 @@ |
||
68 | 68 | return; |
69 | 69 | } |
70 | 70 | |
71 | - if (!mkdir($path) && !is_dir($path)) { |
|
71 | + if ( ! mkdir($path) && ! is_dir($path)) { |
|
72 | 72 | throw new \RuntimeException( |
73 | 73 | sprintf('Unable to create temporary directory \'%s\'.', $path) |
74 | 74 | ); |