Completed
Push — 1.4-env-changes ( 8d9e7c )
by Kamil
32:55
created
src/Sylius/Bundle/CoreBundle/Routing/Matcher/Dumper/PhpMatcherDumper.php 1 patch
Upper-Lower-Casing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 {$this->generateMatchMethod($supportsRedirections)}
80 80
 }
81 81
 
82
-EOF;
82
+eof;
83 83
     }
84 84
 
85 85
     public function addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider)
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
 $code
123 123
 
124
-EOF;
124
+eof;
125 125
 
126 126
         if ($supportsRedirections) {
127 127
             return <<<'EOF'
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     private function doMatch(string $rawPathinfo, array &$allow = array(), array &$allowSchemes = array()): ?array
164 164
 
165
-EOF
165
+eof
166 166
                 . $code . "\n        return null;\n    }";
167 167
         }
168 168
 
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
             }
296 296
             list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) = \$routes[\$pathinfo];
297 297
 {$this->compileSwitchDefault(false, $matchHost)}
298
-EOF;
298
+eof;
299 299
         }
300 300
 
301 301
         return sprintf("        switch (\$pathinfo) {\n%s        }\n\n", $this->indent($code));
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
             list(\$ret, \$vars, \$requiredMethods, \$requiredSchemes) = \$routes[\$m];
433 433
 {$this->compileSwitchDefault(true, $matchHost)}
434
-EOF;
434
+eof;
435 435
         }
436 436
 
437 437
         $matchedPathinfo = $matchHost ? '$host.\'.\'.$pathinfo' : '$pathinfo';
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
             }
456 456
         }
457 457
 
458
-EOF;
458
+eof;
459 459
     }
460 460
 
461 461
     /**
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 {$combine}{$this->compileRoute($route, $name, false)}
530 530
             break;
531 531
 
532
-EOF;
532
+eof;
533 533
             }
534 534
         }
535 535
 
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
                 }
551 551
             }
552 552
 
553
-EOF;
553
+eof;
554 554
         } elseif ($matchHost) {
555 555
             $code = <<<EOF
556 556
 
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
                 }
565 565
             }
566 566
 
567
-EOF;
567
+eof;
568 568
         } else {
569 569
             $code = '';
570 570
         }
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
 
586 586
             return \$ret;
587 587
 
588
-EOF;
588
+eof;
589 589
 
590 590
         return $code;
591 591
     }
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
         // $name
629 629
         if ($conditions) {
630 630
 
631
-EOF;
631
+eof;
632 632
         } else {
633 633
             $code .= "            // {$name}\n";
634 634
         }
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
             }
688 688
 
689 689
 
690
-EOF;
690
+eof;
691 691
             } else {
692 692
                 $code .= <<<EOF
693 693
             \$requiredSchemes = $schemes;
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
             }
698 698
 
699 699
 
700
-EOF;
700
+eof;
701 701
             }
702 702
         } elseif ($methods) {
703 703
             $code .= <<<EOF
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
             }
708 708
 
709 709
 
710
-EOF;
710
+eof;
711 711
         }
712 712
 
713 713
         if ($schemes || $methods) {
Please login to merge, or discard this patch.