Passed
Pull Request — master (#4)
by Nikita
05:38 queued 01:22
created
src/Macro.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc;
11 11
 
Please login to merge, or discard this patch.
src/Support/Utils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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 PhpYacc\Support;
11 11
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
             $indexedArray[] = [$item, $i++];
109 109
         }
110 110
 
111
-        \usort($indexedArray, function (array $a, array $b) use ($cmp) {
111
+        \usort($indexedArray, function(array $a, array $b) use ($cmp) {
112 112
             $result = $cmp($a[0], $b[0]);
113 113
             if ($result !== 0) {
114 114
                 return $result;
Please login to merge, or discard this patch.
src/Exception/LexingException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Lalr/Conflict.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc\Lalr;
11 11
 
Please login to merge, or discard this patch.
src/Lalr/Conflict/ReduceReduce.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc\Lalr\Conflict;
11 11
 
Please login to merge, or discard this patch.
src/Yacc/Lexer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc\Yacc;
11 11
 
Please login to merge, or discard this patch.
src/Yacc/Parser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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 PhpYacc\Yacc;
11 11
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
         $expanded = $this->macros->apply($this->context, $symbols, $tokens, $n, $attribute);
127 127
 
128
-        $action = \implode('', \array_map(function (Token $token) {
128
+        $action = \implode('', \array_map(function(Token $token) {
129 129
             return $token->getValue();
130 130
         }, $expanded));
131 131
 
Please login to merge, or discard this patch.
src/Yacc/Macro/DollarExpansion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc\Yacc\Macro;
11 11
 
Please login to merge, or discard this patch.
src/Grammar/State.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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 PhpYacc\Grammar;
11 11
 
Please login to merge, or discard this patch.