Completed
Pull Request — master (#52)
by Thomas Mauro
09:16
created
src/Paraunit/Lifecycle/AbstractEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Configuration/PHPUnitConfigFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Parser/AbstractParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/File/TempDirectory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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
             );
Please login to merge, or discard this patch.