⬆️ Upgrade from Laravel 7 to 8 for PHP 8
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Clement Desmidt 2022-11-30 14:01:29 +01:00
parent 516cb44c86
commit d982682a54
4 changed files with 2587 additions and 1575 deletions

View File

@ -8,28 +8,27 @@
],
"license": "MIT",
"require": {
"php": "^7.2.5",
"php": "^8.0",
"ext-json": "*",
"absmoca/leboncoin": "dev-master",
"artesaos/seotools": "^0.18.0",
"artesaos/seotools": "^1.0",
"emanueleminotto/simple-html-dom": "^1.5",
"fabpot/goutte": "^3.1",
"fabpot/goutte": "^4.0",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^6.3",
"laravel/framework": "^7.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.0",
"laravel/tinker": "^2.0",
"laravel/ui": "^2.1",
"spatie/laravel-feed": "^2.7",
"spatie/laravel-query-builder": "^2.8",
"laravel/ui": "^3.0",
"spatie/laravel-feed": "^4.0",
"spatie/laravel-query-builder": "^4.0",
"ext-intl": "*"
},
"require-dev": {
"facade/ignition": "^2.0",
"facade/ignition": "^2.3.6",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.0"
},
"config": {
"optimize-autoloader": true,

4118
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -22,6 +22,18 @@ return [
'description' => 'La sélection',
'language' => 'fr-FR',
/*
* The image to display for the feed. For Atom feeds, this is displayed as
* a banner/logo; for RSS and JSON feeds, it's displayed as an icon.
* An empty value omits the image attribute from the feed.
*/
'image' => '',
/*
* The format of the feed. Acceptable values are 'rss', 'atom', or 'json'.
*/
'format' => 'atom',
/*
* The view that will render the feed.
*/
@ -31,6 +43,12 @@ return [
* The type to be used in the <link> tag
*/
'type' => 'application/atom+xml',
/*
* The content type for the feed response. Set to an empty string to automatically
* determine the correct value.
*/
'contentType' => '',
],
],
];

View File

@ -11,7 +11,8 @@ use App\Parser\SeLoger;
return [
'parsers' => [
'leboncoin.fr' => LBC::class,
// FIXME https://packagist.org/packages/absmoca/leboncoin is not PHP 8 compatible because of "ext-json": "^1.6",
// 'leboncoin.fr' => LBC::class,
'seloger.com' => SeLoger::class,
'pap.fr' => Pap::class,
'ouestfrance-immo.com' => OuestFrance::class,