Passed
Push — master ( d788ce...af3941 )
by Nikita
04:55
created
src/CodeGen/Language/PHP.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\CodeGen\Language;
11 11
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     public function writeQuoted(string $text)
105 105
     {
106 106
         $buf = [];
107
-        for($i = 0; $i < \mb_strlen($text); $i++) {
107
+        for ($i = 0; $i < \mb_strlen($text); $i++) {
108 108
             $char = $text[$i];
109 109
 
110 110
             if ($char == '\\' || $char == '"' || $char == '$') {
Please login to merge, or discard this patch.
src/CodeGen/Template.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\CodeGen;
11 11
 
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      */
281 281
     protected function skipif(string $spec): bool
282 282
     {
283
-        [ $dump, $test ] = \explode(' ', $spec, 2);
283
+        [$dump, $test] = \explode(' ', $spec, 2);
284 284
         $test = \trim($test);
285 285
         switch ($test) {
286 286
             case '-a':
Please login to merge, or discard this patch.