Skip to content

Commit f76a44e

Browse files
committed
Apply fixes from StyleCI
1 parent 7b70211 commit f76a44e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bin/bootstrap.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
use Laravel\Octane\Octane;
4-
53
ini_set('display_errors', 'stderr');
64

75
$_ENV['APP_RUNNING_IN_CONSOLE'] = false;
@@ -20,7 +18,7 @@
2018
$basePath = $_SERVER['APP_BASE_PATH'] ?? $_ENV['APP_BASE_PATH'] ?? $serverState['octaneConfig']['base_path'] ?? null;
2119

2220
if (! is_string($basePath)) {
23-
die('Cannot find application base path.');
21+
exit('Cannot find application base path.');
2422

2523
exit(11);
2624
}
@@ -40,7 +38,7 @@
4038
$vendorDir = $_ENV['COMPOSER_VENDOR_DIR'] ?? "{$basePath}/vendor";
4139

4240
if (! is_file($autoload_file = "{$vendorDir}/autoload.php")) {
43-
die("Composer autoload file was not found. Did you install the project's dependencies?");
41+
exit("Composer autoload file was not found. Did you install the project's dependencies?");
4442

4543
exit(10);
4644
}

0 commit comments

Comments
 (0)