@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Iterator; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Iterator; |
11 | 11 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Iterator; |
11 | 11 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | { |
52 | 52 | $result = new \SplQueue(); |
53 | 53 | |
54 | - $status = @\preg_replace_callback($this->pattern, function (array $matches) use ($result): void { |
|
54 | + $status = @\preg_replace_callback($this->pattern, function(array $matches) use ($result): void { |
|
55 | 55 | $result->push($matches); |
56 | 56 | }, $this->subject); |
57 | 57 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | case \PREG_BAD_UTF8_OFFSET_ERROR: |
100 | 100 | return self::PREG_BAD_UTF8_OFFSET_ERROR; |
101 | 101 | } |
102 | - return 'Unexpected PCRE error (Code ' . $code . ')'; |
|
102 | + return 'Unexpected PCRE error (Code '.$code.')'; |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Iterator; |
11 | 11 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Iterator; |
11 | 11 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | public function __construct(\Traversable $iterator, int $size = 10) |
40 | 40 | { |
41 | 41 | \assert($size > 0, 'Buffer size must be greater than 0'); |
42 | - \assert($size <= \PHP_INT_MAX, 'Buffer size must less than ' . \PHP_INT_MAX); |
|
42 | + \assert($size <= \PHP_INT_MAX, 'Buffer size must less than '.\PHP_INT_MAX); |
|
43 | 43 | |
44 | 44 | $this->size = $size; |
45 | 45 | $this->iterator = $iterator; |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Iterator; |
11 | 11 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $context = []; |
26 | 26 | |
27 | 27 | foreach (\array_reverse($result) as $index => $body) { |
28 | - if (! \is_string($index)) { |
|
28 | + if (!\is_string($index)) { |
|
29 | 29 | $context[] = $body; |
30 | 30 | continue; |
31 | 31 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Generator; |
11 | 11 |