feat: update Dockerfile and AppServiceProvider for PHP 7.2 compatibility and improved error handling
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 7m7s

This commit is contained in:
Frank John Begornia
2026-04-17 12:52:38 +08:00
parent 289e11f3c5
commit c6518e81c9
3 changed files with 734 additions and 17 deletions

View File

@@ -40,6 +40,10 @@ class AppServiceProvider extends ServiceProvider {
*/
public function register()
{
// Laravel's HandleExceptions sets error_reporting(-1) which causes PECL mcrypt
// deprecation notices to become ErrorExceptions. Override it here to suppress E_DEPRECATED.
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
$this->app->bind(
'Illuminate\Contracts\Auth\Registrar',
'App\Services\Registrar'