style updates

This commit is contained in:
Mark Gregory
2026-06-23 13:39:02 +01:00
parent e79cadc7f8
commit 3be4ff590f
129 changed files with 482 additions and 404 deletions
+3 -3
View File
@@ -8,8 +8,8 @@ use Modules\Platform\app\Http\Middleware\EnsureLicensedTenant;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
commands: __DIR__.'/../routes/console.php',
web: __DIR__ . '/../routes/web.php',
commands: __DIR__ . '/../routes/console.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
@@ -18,7 +18,7 @@ return Application::configure(basePath: dirname(__DIR__))
headers: Request::HEADER_X_FORWARDED_FOR
| Request::HEADER_X_FORWARDED_HOST
| Request::HEADER_X_FORWARDED_PORT
| Request::HEADER_X_FORWARDED_PROTO
| Request::HEADER_X_FORWARDED_PROTO,
);
$middleware->alias([
+1 -1
View File
@@ -19,7 +19,7 @@ use Modules\Shipping\Providers\ShippingServiceProvider;
use Modules\Transportation\Providers\TransportationServiceProvider;
use Modules\Warehouse\Providers\WarehouseServiceProvider;
$statusesPath = dirname(__DIR__).'/modules_statuses.json';
$statusesPath = dirname(__DIR__) . '/modules_statuses.json';
$statuses = is_file($statusesPath)
? json_decode((string) file_get_contents($statusesPath), true, 512, JSON_THROW_ON_ERROR)
: [];