@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * <http://www.doctrine-project.org>. |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -declare(strict_types=1); |
|
| 20 | +declare(strict_types = 1); |
|
| 21 | 21 | |
| 22 | 22 | require_once 'Doctrine/Common/ClassLoader.php'; |
| 23 | 23 | |
@@ -27,13 +27,13 @@ discard block |
||
| 27 | 27 | $classLoader = new \Doctrine\Common\ClassLoader('Symfony'); |
| 28 | 28 | $classLoader->register(); |
| 29 | 29 | |
| 30 | -$configFile = getcwd() . DIRECTORY_SEPARATOR . 'cli-config.php'; |
|
| 30 | +$configFile = getcwd().DIRECTORY_SEPARATOR.'cli-config.php'; |
|
| 31 | 31 | |
| 32 | 32 | $helperSet = null; |
| 33 | 33 | if (file_exists($configFile)) { |
| 34 | 34 | if ( ! is_readable($configFile)) { |
| 35 | 35 | trigger_error( |
| 36 | - 'Configuration file [' . $configFile . '] does not have read permission.', E_USER_ERROR |
|
| 36 | + 'Configuration file ['.$configFile.'] does not have read permission.', E_USER_ERROR |
|
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -17,14 +17,14 @@ discard block |
||
| 17 | 17 | * <http://www.doctrine-project.org>. |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -declare(strict_types=1); |
|
| 20 | +declare(strict_types = 1); |
|
| 21 | 21 | |
| 22 | 22 | use Symfony\Component\Console\Helper\HelperSet; |
| 23 | 23 | use Doctrine\ORM\Tools\Console\ConsoleRunner; |
| 24 | 24 | |
| 25 | 25 | $autoloadFiles = [ |
| 26 | - __DIR__ . '/../vendor/autoload.php', |
|
| 27 | - __DIR__ . '/../../../autoload.php' |
|
| 26 | + __DIR__.'/../vendor/autoload.php', |
|
| 27 | + __DIR__.'/../../../autoload.php' |
|
| 28 | 28 | ]; |
| 29 | 29 | |
| 30 | 30 | foreach ($autoloadFiles as $autoloadFile) { |
@@ -34,11 +34,11 @@ discard block |
||
| 34 | 34 | } |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | -$directories = [getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config']; |
|
| 37 | +$directories = [getcwd(), getcwd().DIRECTORY_SEPARATOR.'config']; |
|
| 38 | 38 | |
| 39 | 39 | $configFile = null; |
| 40 | 40 | foreach ($directories as $directory) { |
| 41 | - $configFile = $directory . DIRECTORY_SEPARATOR . 'cli-config.php'; |
|
| 41 | + $configFile = $directory.DIRECTORY_SEPARATOR.'cli-config.php'; |
|
| 42 | 42 | |
| 43 | 43 | if (file_exists($configFile)) { |
| 44 | 44 | break; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | if ( ! is_readable($configFile)) { |
| 54 | - echo 'Configuration file [' . $configFile . '] does not have read permission.' . "\n"; |
|
| 54 | + echo 'Configuration file ['.$configFile.'] does not have read permission.'."\n"; |
|
| 55 | 55 | exit(1); |
| 56 | 56 | } |
| 57 | 57 | |