Passed
Branch master (dd27b6)
by Dominik
04:39 queued 01:33
created
src/Service/Shared/Shared.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     public function getService()
97 97
     {
98 98
         // optionally use shared object
99
-        if (! is_null($this->serviceObject)) {
99
+        if (!is_null($this->serviceObject)) {
100 100
             return $this->serviceObject;
101 101
         }
102 102
         // parse arguments
Please login to merge, or discard this patch.
src/ArgumentParser/Value/Value.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         // remember arguments
38 38
         $this->argument = $argument;
39 39
         // check argument
40
-        if (! isset($this->argument['value'])) {
40
+        if (!isset($this->argument['value'])) {
41 41
             throw new Exception('No "value" argument');
42 42
         }
43 43
     }
Please login to merge, or discard this patch.
src/Container/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         // decorate service identifier
159 159
         $decoratedId = $this->serviceIdDecorator->decorate($id);
160 160
         // check if service exists
161
-        if (! $this->has($decoratedId)) {
161
+        if (!$this->has($decoratedId)) {
162 162
             throw new NotFoundException(sprintf('Service "%s" does not exist', $decoratedId));
163 163
         }
164 164
         // exit
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     public function __call(string $method, array $arguments)
245 245
     {
246 246
         // disallow any arguments
247
-        if (! empty($arguments)) {
247
+        if (!empty($arguments)) {
248 248
             throw new Exception('Service must be get without arguments');
249 249
         }
250 250
         // check prefix
Please login to merge, or discard this patch.
src/ArgumentParser/Service/Service.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             trigger_error('Argument "service" is deprecated and will be removed in version 2.0.0; please use "value" instead', E_USER_NOTICE);
64 64
         } else {
65 65
             // check argument
66
-            if (! isset($this->argument['value'])) {
66
+            if (!isset($this->argument['value'])) {
67 67
                 throw new Exception('No "value" argument');
68 68
             }
69 69
         }
Please login to merge, or discard this patch.