Update to Composer 2 (#12263)

* Update to Composer 2

No need to roll our own checks anymore since this is now built in.
Also limit the update check to once a week.

* update

* Make Composer wrapper report correct exit code

* Update composer_wrapper.php

* re-enable extension check

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Jellyfrog
2020-11-09 07:28:07 +01:00
committed by GitHub
parent 591384f321
commit b7676e4cc8
9 changed files with 15 additions and 88 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Http;
use App\Checks;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
@@ -96,10 +95,4 @@ class Kernel extends HttpKernel
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\Illuminate\Auth\Middleware\Authorize::class,
];
public function bootstrap()
{
Checks::preBoot();
parent::bootstrap();
}
}