@@ -29,7 +29,7 @@ |
||
| 29 | 29 | ) |
| 30 | 30 | ->blockIs( |
| 31 | 31 | new block\functor( |
| 32 | - function ($name, $suffix) use ($recipient) { |
|
| 32 | + function($name, $suffix) use ($recipient) { |
|
| 33 | 33 | ( |
| 34 | 34 | new suffix( |
| 35 | 35 | $suffix, |
@@ -11,8 +11,7 @@ |
||
| 11 | 11 | try |
| 12 | 12 | { |
| 13 | 13 | parent::__construct($string); |
| 14 | - } |
|
| 15 | - catch (\invalidArgumentException $exception) |
|
| 14 | + } catch (\invalidArgumentException $exception) |
|
| 16 | 15 | { |
| 17 | 16 | throw new \invalidArgumentException('Operator of composer version constraint must be a not empty string'); |
| 18 | 17 | } |
@@ -17,6 +17,6 @@ |
||
| 17 | 17 | |
| 18 | 18 | function booleanIs(bool $bool) :void |
| 19 | 19 | { |
| 20 | - $this->recipient->booleanis(! $bool); |
|
| 20 | + $this->recipient->booleanis(!$bool); |
|
| 21 | 21 | } |
| 22 | 22 | } |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | ) |
| 58 | 58 | ->argumentsForBlockAre( |
| 59 | 59 | new block\functor( |
| 60 | - function ($version, $recipient, $major, $minor, $release) |
|
| 60 | + function($version, $recipient, $major, $minor, $release) |
|
| 61 | 61 | { |
| 62 | 62 | $recipient->stringIs($major . '.' . $minor . '.' . $release); |
| 63 | 63 | } |
@@ -32,8 +32,7 @@ discard block |
||
| 32 | 32 | try |
| 33 | 33 | { |
| 34 | 34 | $this->variables->seek(sizeof($this->variables)); |
| 35 | - } |
|
| 36 | - catch (\exception $exception) {} |
|
| 35 | + } catch (\exception $exception) {} |
|
| 37 | 36 | } |
| 38 | 37 | |
| 39 | 38 | function nextIterationAreUsefull() :void |
@@ -41,7 +40,6 @@ discard block |
||
| 41 | 40 | try |
| 42 | 41 | { |
| 43 | 42 | $this->variables->seek($this->current); |
| 44 | - } |
|
| 45 | - catch (\exception $exception) {} |
|
| 43 | + } catch (\exception $exception) {} |
|
| 46 | 44 | } |
| 47 | 45 | } |