@@ -5,7 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | return static function(ECSConfig $ecsConfig): void { |
| 7 | 7 | $ecsConfig->paths([ |
| 8 | - __DIR__ . '/src', |
|
| 8 | + __DIR__.'/src', |
|
| 9 | 9 | __FILE__, |
| 10 | 10 | ]); |
| 11 | 11 | $ecsConfig->parallel(); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -define('PROJECT_VENDOR_DIR', getenv('PROJECT_VENDOR_DIR') ?: dirname(__DIR__) . '/vendor'); |
|
| 3 | +define('PROJECT_VENDOR_DIR', getenv('PROJECT_VENDOR_DIR') ?: dirname(__DIR__).'/vendor'); |
|
| 4 | 4 | |
| 5 | -require realpath(PROJECT_VENDOR_DIR . '/autoload.php'); |
|
| 5 | +require realpath(PROJECT_VENDOR_DIR.'/autoload.php'); |
|
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * @var WebSandboxErrorHandler|ConsoleSandboxErrorHandler|null The error handler to use for the SandboxView |
| 25 | 25 | */ |
| 26 | - public WebSandboxErrorHandler|ConsoleSandboxErrorHandler|null $sandboxErrorHandler = null; |
|
| 26 | + public WebSandboxErrorHandler | ConsoleSandboxErrorHandler | null $sandboxErrorHandler = null; |
|
| 27 | 27 | |
| 28 | 28 | // Public Methods |
| 29 | 29 | // ========================================================================= |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | private static function getConfigFilePath(string $alias, string $filePath): string |
| 80 | 80 | { |
| 81 | - $path = DIRECTORY_SEPARATOR . ltrim($filePath, DIRECTORY_SEPARATOR); |
|
| 81 | + $path = DIRECTORY_SEPARATOR.ltrim($filePath, DIRECTORY_SEPARATOR); |
|
| 82 | 82 | $path = Craft::getAlias($alias) |
| 83 | 83 | . DIRECTORY_SEPARATOR |
| 84 | 84 | . str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $path) |