Skip to content

Commit 2929a23

Browse files
committed
Lint
1 parent 3d91c94 commit 2929a23

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

phpserver/router.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
*/
3939

4040
if (php_sapi_name() === 'cli-server') {
41-
4241
$debug("URI: {$_SERVER["REQUEST_URI"]}");
4342
if (preg_match('/^\/(index|get|static)\.php(\/)?/', $_SERVER["REQUEST_URI"])) {
4443
return false; // serve the requested resource as-is.
@@ -62,14 +61,12 @@
6261

6362
$magentoPackagePubDir = __DIR__."/../pub";
6463

65-
if (
66-
strpos($route, 'media/') === 0 ||
64+
if (strpos($route, 'media/') === 0 ||
6765
strpos($route, 'opt/') === 0 ||
6866
strpos($route, 'static/') === 0 ||
6967
strpos($route, 'errors/default/css/') === 0 ||
7068
strpos($route, 'errors/default/images/') === 0
7169
) {
72-
7370
$origFile = $magentoPackagePubDir.'/'.$route;
7471

7572
if (strpos($route, 'static/version') === 0) {

0 commit comments

Comments
 (0)