@@ -71,7 +71,7 @@ |
||
71 | 71 | $line = $token[2]; |
72 | 72 | |
73 | 73 | if ($this->isBackslashable($functions, $token, $previousToken, $constants)) { |
74 | - $source[$line-1] = str_replace($token[1], '\\'.$token[1], $source[$line-1]); |
|
74 | + $source[$line - 1] = str_replace($token[1], '\\' . $token[1], $source[$line - 1]); |
|
75 | 75 | } |
76 | 76 | } |
77 | 77 |
@@ -5,10 +5,10 @@ |
||
5 | 5 | return \file_exists($file) ? include $file : \\false; |
6 | 6 | } |
7 | 7 | |
8 | -if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../autoload.php'))) { |
|
9 | - echo 'You must set up the project dependencies, run the following commands:'.\\PHP_EOL. |
|
10 | - 'curl -sS https://getcomposer.org/installer | php'.\\PHP_EOL. |
|
11 | - 'php composer.phar install'.\\PHP_EOL; |
|
8 | +if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) { |
|
9 | + echo 'You must set up the project dependencies, run the following commands:' . \\PHP_EOL . |
|
10 | + 'curl -sS https://getcomposer.org/installer | php' . \\PHP_EOL . |
|
11 | + 'php composer.phar install' . \\PHP_EOL; |
|
12 | 12 | exit(1); |
13 | 13 | } |
14 | 14 |