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

@@ -1,22 +0,0 @@
<?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so we do not have to manually load any of
| our application's PHP classes. It just feels great to relax.
|
*/
@require_once __DIR__ . '/../app/Checks.php';
\App\Checks::preAutoload();
@include __DIR__ . '/../vendor/autoload.php';
\App\Checks::postAutoload();