@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | require_once 'Doctrine/Common/ClassLoader.php'; |
7 | 7 | |
@@ -11,13 +11,13 @@ discard block |
||
11 | 11 | $classLoader = new \Doctrine\Common\ClassLoader('Symfony'); |
12 | 12 | $classLoader->register(); |
13 | 13 | |
14 | -$configFile = getcwd() . DIRECTORY_SEPARATOR . 'cli-config.php'; |
|
14 | +$configFile = getcwd().DIRECTORY_SEPARATOR.'cli-config.php'; |
|
15 | 15 | |
16 | 16 | $helperSet = null; |
17 | 17 | if (file_exists($configFile)) { |
18 | 18 | if ( ! is_readable($configFile)) { |
19 | 19 | trigger_error( |
20 | - 'Configuration file [' . $configFile . '] does not have read permission.', E_USER_ERROR |
|
20 | + 'Configuration file ['.$configFile.'] does not have read permission.', E_USER_ERROR |
|
21 | 21 | ); |
22 | 22 | } |
23 | 23 |
@@ -1,13 +1,13 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | use Symfony\Component\Console\Helper\HelperSet; |
6 | 6 | use Doctrine\ORM\Tools\Console\ConsoleRunner; |
7 | 7 | |
8 | 8 | $autoloadFiles = [ |
9 | - __DIR__ . '/../vendor/autoload.php', |
|
10 | - __DIR__ . '/../../../autoload.php' |
|
9 | + __DIR__.'/../vendor/autoload.php', |
|
10 | + __DIR__.'/../../../autoload.php' |
|
11 | 11 | ]; |
12 | 12 | |
13 | 13 | foreach ($autoloadFiles as $autoloadFile) { |
@@ -17,11 +17,11 @@ discard block |
||
17 | 17 | } |
18 | 18 | } |
19 | 19 | |
20 | -$directories = [getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config']; |
|
20 | +$directories = [getcwd(), getcwd().DIRECTORY_SEPARATOR.'config']; |
|
21 | 21 | |
22 | 22 | $configFile = null; |
23 | 23 | foreach ($directories as $directory) { |
24 | - $configFile = $directory . DIRECTORY_SEPARATOR . 'cli-config.php'; |
|
24 | + $configFile = $directory.DIRECTORY_SEPARATOR.'cli-config.php'; |
|
25 | 25 | |
26 | 26 | if (file_exists($configFile)) { |
27 | 27 | break; |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | if ( ! is_readable($configFile)) { |
37 | - echo 'Configuration file [' . $configFile . '] does not have read permission.' . "\n"; |
|
37 | + echo 'Configuration file ['.$configFile.'] does not have read permission.'."\n"; |
|
38 | 38 | exit(1); |
39 | 39 | } |
40 | 40 |