@@ -76,7 +76,7 @@ |
||
76 | 76 | */ |
77 | 77 | public function getTime(): float |
78 | 78 | { |
79 | - return (float)($this->data[self::TIME_KEYWORD] * 1000); |
|
79 | + return (float) ($this->data[self::TIME_KEYWORD] * 1000); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
@@ -66,7 +66,7 @@ |
||
66 | 66 | |
67 | 67 | return array_reduce( |
68 | 68 | $declared, |
69 | - function ($classList, string $className) use ($includedFiles) { |
|
69 | + function($classList, string $className) use ($includedFiles) { |
|
70 | 70 | $reflClass = new \ReflectionClass($className); |
71 | 71 | $sourceFile = $reflClass->getFileName(); |
72 | 72 |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | ); |
59 | 59 | } |
60 | 60 | |
61 | - foreach ($fixtures as $fixture){ |
|
61 | + foreach ($fixtures as $fixture) { |
|
62 | 62 | $this->loadFixture($fixture); |
63 | 63 | } |
64 | 64 | |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | { |
73 | 73 | $indexList->loadData(); |
74 | 74 | $indexList->loadIndexes(); |
75 | - $this->io->writeln('Loaded fixture: '. get_class($indexList)); |
|
75 | + $this->io->writeln('Loaded fixture: '.get_class($indexList)); |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
@@ -101,7 +101,7 @@ |
||
101 | 101 | { |
102 | 102 | return array_filter( |
103 | 103 | $options, |
104 | - function ($value) { |
|
104 | + function($value) { |
|
105 | 105 | return !empty($value) || is_int($value) || is_bool($value) || is_float($value); |
106 | 106 | } |
107 | 107 | ); |
@@ -90,7 +90,7 @@ |
||
90 | 90 | */ |
91 | 91 | public function setFilters($filters) |
92 | 92 | { |
93 | - $this->filters = (array)$filters ?? []; |
|
93 | + $this->filters = (array) $filters ?? []; |
|
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | if (is_array($item) || is_object($item)) { |
57 | - return self::prepareUnserializableData((array)$item); |
|
57 | + return self::prepareUnserializableData((array) $item); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | return $item; |
@@ -69,7 +69,7 @@ |
||
69 | 69 | implode( |
70 | 70 | ',', |
71 | 71 | array_map( |
72 | - function (array $host) { |
|
72 | + function(array $host) { |
|
73 | 73 | return sprintf("%s:%d", $host['host'], $host['port']); |
74 | 74 | }, |
75 | 75 | $conf['hosts'] |