Compare commits

...

1 Commits

Author SHA1 Message Date
a3a9a1f6cc ⬆️ Passe à Laravel 8 2020-11-09 15:26:04 +01:00
7 changed files with 1478 additions and 723 deletions

View File

@ -2,6 +2,7 @@
namespace App\Providers; namespace App\Providers;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str; use Illuminate\Support\Str;
@ -34,5 +35,6 @@ class AppServiceProvider extends ServiceProvider
} }
return sprintf('%s m²', number_format($surface, 0, ',', ' ')); return sprintf('%s m²', number_format($surface, 0, ',', ' '));
}); });
Paginator::useBootstrap();
} }
} }

View File

@ -8,27 +8,27 @@
], ],
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^7.2.5", "php": "^7.3.0",
"ext-json": "*", "ext-json": "*",
"absmoca/leboncoin": "dev-master", "absmoca/leboncoin": "dev-master",
"artesaos/seotools": "^0.18.0", "artesaos/seotools": "^0",
"emanueleminotto/simple-html-dom": "^1.5", "emanueleminotto/simple-html-dom": "^1.5",
"fabpot/goutte": "^3.1", "fabpot/goutte": "^4.0",
"fideloper/proxy": "^4.2", "fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^2.0", "fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^6.3", "guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^7.0", "laravel/framework": "^8.0",
"laravel/tinker": "^2.0", "laravel/tinker": "^2.0",
"laravel/ui": "^2.1", "laravel/ui": "^3.0",
"spatie/laravel-feed": "^2.7", "spatie/laravel-feed": "^2.7",
"spatie/laravel-query-builder": "^2.8" "spatie/laravel-query-builder": "^2.8"
}, },
"require-dev": { "require-dev": {
"facade/ignition": "^2.0", "facade/ignition": "^2.3.6",
"fzaninotto/faker": "^1.9.1", "fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1", "mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^4.1", "nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^8.5" "phpunit/phpunit": "^9.0"
}, },
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,
@ -42,7 +42,9 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"App\\": "app/" "App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}, },
"classmap": [ "classmap": [
"database/seeds", "database/seeds",

2135
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Factories;
/** @var \Illuminate\Database\Eloquent\Factory $factory */ /** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User; use App\User;

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateFailedJobsLaravel8 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('failed_jobs', function (Blueprint $table) {
$table->string('uuid')->after('id')->nullable()->unique();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('failed_jobs', static function (Blueprint $table) {
$table->dropColumn('uuid');
});
}
}

View File

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder class DatabaseSeeder extends Seeder

View File

@ -9,6 +9,10 @@
define('LARAVEL_START', microtime(true)); define('LARAVEL_START', microtime(true));
if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) {
require __DIR__.'/../storage/framework/maintenance.php';
}
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Register The Auto Loader | Register The Auto Loader