We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537fdd1 commit 95c5736Copy full SHA for 95c5736
composer.json
@@ -57,6 +57,11 @@
57
"hidev\\": "src"
58
}
59
},
60
+ "autoload-dev": {
61
+ "psr-4": {
62
+ "hidev\\tests\\": "tests"
63
+ }
64
+ },
65
"bin": [
66
"bin/hidev"
67
]
tests/_bootstrap.php
@@ -11,11 +11,6 @@
11
12
error_reporting(-1);
13
14
-define('YII_ENABLE_ERROR_HANDLER', false);
15
-define('YII_DEBUG', true);
16
-$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
17
-$_SERVER['SCRIPT_FILENAME'] = __FILE__;
18
require_once __DIR__ . '/../vendor/autoload.php';
19
-Yii::setAlias('@hidev', dirname(__DIR__) . DIRECTORY_SEPARATOR . 'src');
20
-Yii::setAlias('@hidev/bin', dirname(__DIR__) . DIRECTORY_SEPARATOR . 'bin');
21
-Yii::setAlias('@hidev/tests', __DIR__);
+
+Yii::setAlias('@hidev', dirname(__DIR__));
0 commit comments