@@ -17,14 +17,14 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | public static function setUpBeforeClass() |
| 19 | 19 | { |
| 20 | - $vendorDir = __DIR__ . '/../vendor'; |
|
| 21 | - $vendorAutoload = $vendorDir . '/autoload.php'; |
|
| 20 | + $vendorDir = __DIR__.'/../vendor'; |
|
| 21 | + $vendorAutoload = $vendorDir.'/autoload.php'; |
|
| 22 | 22 | if (file_exists($vendorAutoload)) { |
| 23 | 23 | require_once($vendorAutoload); |
| 24 | 24 | } else { |
| 25 | 25 | throw new NotSupportedException("Vendor autoload file '{$vendorAutoload}' is missing."); |
| 26 | 26 | } |
| 27 | - require_once($vendorDir . '/yiisoft/yii2/Yii.php'); |
|
| 27 | + require_once($vendorDir.'/yiisoft/yii2/Yii.php'); |
|
| 28 | 28 | Yii::setAlias('@vendor', $vendorDir); |
| 29 | 29 | } |
| 30 | 30 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | 'id' => 'querybuilder-test', |
| 38 | 38 | 'basePath' => __DIR__, |
| 39 | 39 | ]; |
| 40 | - $config['vendorPath'] = dirname(dirname(__DIR__)) . '/vendor'; |
|
| 40 | + $config['vendorPath'] = dirname(dirname(__DIR__)).'/vendor'; |
|
| 41 | 41 | new \yii\console\Application($config); |
| 42 | 42 | } |
| 43 | 43 | |
@@ -5,12 +5,12 @@ |
||
| 5 | 5 | |
| 6 | 6 | define('YII_ENABLE_ERROR_HANDLER', false); |
| 7 | 7 | define('YII_DEBUG', true); |
| 8 | -$_SERVER['SCRIPT_NAME'] = '/' . __DIR__; |
|
| 8 | +$_SERVER['SCRIPT_NAME'] = '/'.__DIR__; |
|
| 9 | 9 | $_SERVER['SCRIPT_FILENAME'] = __FILE__; |
| 10 | 10 | |
| 11 | 11 | // require composer autoloader if available |
| 12 | -$vendor = __DIR__ . '/../vendor'; |
|
| 12 | +$vendor = __DIR__.'/../vendor'; |
|
| 13 | 13 | |
| 14 | -require_once($vendor . '/autoload.php'); |
|
| 15 | -require_once($vendor . '/yiisoft/yii2/Yii.php'); |
|
| 16 | -require_once(__DIR__ . '/TestCase.php'); |
|
| 14 | +require_once($vendor.'/autoload.php'); |
|
| 15 | +require_once($vendor.'/yiisoft/yii2/Yii.php'); |
|
| 16 | +require_once(__DIR__.'/TestCase.php'); |
|