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
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 7m7s
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user