@@ -20,7 +20,7 @@ |
||
| 20 | 20 | $errors = []; |
| 21 | 21 | |
| 22 | 22 | foreach ($extensions as $extension) { |
| 23 | - if (! extension_loaded($extension)) { |
|
| 23 | + if (!extension_loaded($extension)) { |
|
| 24 | 24 | $errors[] = $extension; |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $version = $this->getParam('version'); |
| 22 | 22 | $operator = $this->getParam('operator', self::DEFAULT_OPERATOR); |
| 23 | 23 | |
| 24 | - if (! version_compare(PHP_VERSION, $version, $operator)) { |
|
| 24 | + if (!version_compare(PHP_VERSION, $version, $operator)) { |
|
| 25 | 25 | $builder->down(); |
| 26 | 26 | } |
| 27 | 27 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | $expResult = $this->evalExpression($expression); |
| 23 | 23 | |
| 24 | - if ((is_bool($result) && $result !== (bool) $expResult) || ! preg_match("|{$result}|", $expResult)) { |
|
| 24 | + if ((is_bool($result) && $result !== (bool) $expResult) || !preg_match("|{$result}|", $expResult)) { |
|
| 25 | 25 | $builder->down(); |
| 26 | 26 | } |
| 27 | 27 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | protected function getHttpClient() |
| 32 | 32 | { |
| 33 | - if (! $this->client) { |
|
| 33 | + if (!$this->client) { |
|
| 34 | 34 | $this->client = new Client(); |
| 35 | 35 | } |
| 36 | 36 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | $this->create(AF_INET6, SOCK_DGRAM, SOL_UDP); |
| 24 | 24 | |
| 25 | - if (! $this->connect($address)) { |
|
| 25 | + if (!$this->connect($address)) { |
|
| 26 | 26 | $builder->down()->withData('error', $this->getError()); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | $this->create(AF_INET, SOCK_DGRAM, SOL_UDP); |
| 24 | 24 | |
| 25 | - if (! $this->connect($address)) { |
|
| 25 | + if (!$this->connect($address)) { |
|
| 26 | 26 | $builder->down()->withData('error', $this->getError()); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | $this->create(AF_UNIX, SOCK_STREAM, 0); |
| 24 | 24 | |
| 25 | - if (! $this->connect($address)) { |
|
| 25 | + if (!$this->connect($address)) { |
|
| 26 | 26 | $builder->down()->withData('error', $this->getError()); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | $this->create(AF_INET6, SOCK_STREAM, SOL_TCP); |
| 24 | 24 | |
| 25 | - if (! $this->connect($address)) { |
|
| 25 | + if (!$this->connect($address)) { |
|
| 26 | 26 | $builder->down()->withData('error', $this->getError()); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | $this->create(AF_INET, SOCK_STREAM, SOL_TCP); |
| 25 | 25 | |
| 26 | - if (! $this->connect($address)) { |
|
| 26 | + if (!$this->connect($address)) { |
|
| 27 | 27 | $builder->down()->withData('error', $this->getError()); |
| 28 | 28 | } |
| 29 | 29 | |