Checks
Debug Mode In Production
Overview
This check gathers the current debug status using hasDebugModeEnabled and checks if the current environment is production.
Using this check
This check is turned on by default.
You can update your FireTowerServiceProvider class to include the check and any options.
<?php
//...
class FireTowerServiceProvider extends ServiceProvider
{
public function boot(): void
{
//...
FireTower::checks(function () {
return [
//...
DebugModeInProductionCheck::check(),
];
});
}
}