Test Setup Failed
Push — master ( a5ba65...160652 )
by Nikita
08:48
created
src/Exception/TemplateException.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/Exception/ParseException.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/Exception/LogicException.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/BitSet.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/StringBitSet.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/ArrayBitSet.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/Compress/PreImage.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\Compress;
11 11
 
Please login to merge, or discard this patch.
src/Compress/Compress.php 2 patches
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 class Compress
20 20
 {
21 21
     const UNEXPECTED = 32767;
22
-    const DEFAULT = -32766;
22
+    const default = -32766;
23 23
     const VACANT = -32768;
24 24
 
25 25
     /**
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
                         if ($cTermAction[$i][$j] === $table[$this->context->oTermIndex[$j]]) {
481 481
                             $cTermAction[$i][$j] = self::VACANT;
482 482
                         } elseif ($cTermAction[$i][$j] === self::VACANT) {
483
-                            $cTermAction[$i][$j] = self::DEFAULT;
483
+                            $cTermAction[$i][$j] = self::default;
484 484
                         }
485 485
                     }
486 486
                 }
Please login to merge, or discard this 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\Compress;
11 11
 
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
             $this->context->debug("Used aux table:\n");
322 322
         }
323 323
         $this->context->countAux = $this->context->countClasses;
324
-        for (; ;) {
324
+        for (;;) {
325 325
             $maxGain = 0;
326 326
             $maxAux = null;
327 327
             $pre = null;
Please login to merge, or discard this patch.
src/Console/GenerateCommand.php 1 patch
Spacing   +3 added lines, -3 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\Console;
11 11
 
@@ -67,12 +67,12 @@  discard block
 block discarded – undo
67 67
     private function validateInput(InputInterface $input): void
68 68
     {
69 69
         $skeleton = $input->getOption('skeleton');
70
-        if ($skeleton === null || ! \file_exists($skeleton)) {
70
+        if ($skeleton === null || !\file_exists($skeleton)) {
71 71
             throw new InvalidOptionException(\sprintf('The skeleton file "%s" is not found', $skeleton));
72 72
         }
73 73
 
74 74
         $grammar = $input->getArgument('grammar');
75
-        if (! \file_exists($grammar)) {
75
+        if (!\file_exists($grammar)) {
76 76
             throw new InvalidArgumentException(\sprintf('The grammar file "%s" is not found', $grammar));
77 77
         }
78 78
     }
Please login to merge, or discard this patch.