We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 874cb6b + 702bffd commit fcf3cc5Copy full SHA for fcf3cc5
test/bootstrap.php
@@ -10,12 +10,18 @@
10
* @license https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE
11
*/
12
13
+ini_set('display_errors', 'on');
14
+ini_set('display_startup_errors', 'on');
15
+
16
error_reporting(E_ALL);
17
+date_default_timezone_set('Asia/Shanghai');
18
19
! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
20
-\Swoole\Runtime::enableCoroutine(true);
21
+Swoole\Runtime::enableCoroutine(true);
22
23
require BASE_PATH . '/vendor/autoload.php';
24
-require BASE_PATH . '/config/container.php';
25
+$container = require BASE_PATH . '/config/container.php';
26
27
+$container->get(Hyperf\Contract\ApplicationInterface::class);
0 commit comments