Prepare for Laravel 9

This commit is contained in:
DariusIII
2022-03-16 23:00:52 +01:00
parent eef20a3bf4
commit 997aeacade
4 changed files with 1760 additions and 1616 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
require __DIR__.'/vendor/autoload.php';
require __DIR__.'/bootstrap/app.php';
return (new MattAllan\LaravelCodeStyle\Config())
return (new \Jubeki\LaravelCodeStyle\Config())
->setFinder(
PhpCsFixer\Finder::create()
->in(app_path())
+7 -2
View File
@@ -2,7 +2,7 @@
namespace App\Http\Middleware;
use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
@@ -19,5 +19,10 @@ class TrustProxies extends Middleware
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
}
+28 -28
View File
@@ -45,22 +45,21 @@
"aharen/omdbapi": "^2.0",
"anhskohbo/no-captcha": "^3.0",
"b3rs3rk/steamfront": "dev-master",
"bhuvidya/laravel-countries": "^8.0",
"bhuvidya/laravel-countries": "^9.0",
"brick/math": "^0.9",
"canihavesomecoffee/thetvdbapi": "^2.0",
"cviebrock/laravel-elasticsearch": "^8.0",
"cviebrock/laravel-elasticsearch": "^9.0",
"czproject/git-php": "^4.0",
"dariusiii/l5-fixtures": "^2.2.0",
"dariusiii/l5-fixtures": "^3.0",
"dariusiii/php-itunes-api": "^1.0",
"dariusiii/rarinfo": "^2.5",
"dariusiii/tmdb-laravel": "^4.0",
"dariusiii/token": "^3.0",
"dariusiii/tmdb-laravel": "^5.0",
"dariusiii/token": "^4.0",
"dborsatto/php-giantbomb": "^2.0",
"doctrine/dbal": "^3.0",
"fakerphp/faker": "^1.12",
"fideloper/proxy": "^4.2",
"foolz/sphinxql-query-builder": "^3.0",
"genealabs/laravel-caffeine": "^8.0",
"genealabs/laravel-caffeine": "^9.0",
"geoip2/geoip2": "^2.9",
"google/recaptcha": "^1.2",
"guzzlehttp/guzzle": "^7.2",
@@ -68,28 +67,28 @@
"intervention/image": "^2.4",
"intervention/imagecache": "^2.3",
"james-heinrich/getid3": "1.9.*",
"jamesmills/laravel-timezone": "^1.10",
"jamesmills/laravel-timezone": "^1.11",
"joshpinkney/tv-maze-php-api": "^1.0",
"jrean/laravel-user-verification": "^9.0",
"junaidnasir/larainvite": "^4.0",
"jrean/laravel-user-verification": "^10.0",
"junaidnasir/larainvite": "^5.0",
"kevinlebrun/colors.php": "^1.0",
"laravel/framework": "^8.0",
"laravel/framework": "^9.0",
"laravel/horizon": "^5.0",
"laravel/scout": "^8.0.0",
"laravel/scout": "^9.0",
"laravel/telescope": "^4.0",
"laravel/tinker": "^2.0",
"laravel/ui": "^3.0",
"laravelcollective/html": "^6.0",
"league/climate": "^3.4",
"marcreichel/igdb-laravel": "^3.0",
"mattkingshott/triggers": "^1.0",
"mhor/php-mediainfo": "^5.0",
"monicahq/laravel-cloudflare": "^1.3",
"monicahq/laravel-cloudflare": "^3.2",
"monolog/monolog": "^2.0",
"nesbot/carbon": "^2.14",
"ntimyeboah/laravel-database-trigger": "^5.0",
"opis/closure": "^3.6",
"pear/net_nntp": "^1.6.0",
"php-ffmpeg/php-ffmpeg": "^0.18",
"php-ffmpeg/php-ffmpeg": "^1.0",
"php-http/guzzle7-adapter": "^0.1",
"php-http/message": "^1.6",
"pragmarx/google2fa-laravel": "^v2.0.0",
@@ -99,31 +98,32 @@
"rtconner/laravel-tagging": "^4.0",
"smarty/smarty": "^4.0",
"spatie/async": "^1.0",
"spatie/laravel-backup": "^6.9",
"spatie/laravel-backup": "^8.1",
"spatie/laravel-directory-cleanup": "^1.2",
"spatie/laravel-fractal": "^5.3",
"spatie/laravel-fractal": "^6.0",
"spatie/laravel-permission": "^5.0",
"sspat/es-query-sanitizer": "^1.0",
"stechstudio/laravel-zipstream": "^4.5",
"symfony/process": "^5.4",
"symfony/http-client": "^6.0",
"symfony/postmark-mailer": "^6.0",
"symfony/process": "^6.0",
"vlucas/phpdotenv": "^5.0",
"voku/simple_html_dom": "^4.3",
"wildbit/swiftmailer-postmark": "^3.0",
"yab/laravel-scout-mysql-driver": "^3.0",
"ytake/laravel-smarty": "^5.0"
"yab/laravel-scout-mysql-driver": "^5.0",
"ytake/laravel-smarty": "^6.0"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.4",
"beyondcode/laravel-dump-server": "^1.4",
"captainhook/captainhook": "^5.1",
"captainhook/plugin-composer": "^5.1",
"facade/ignition": "^2.0",
"spatie/laravel-ignition": "^1.0",
"friendsofphp/php-cs-fixer": "^3.5",
"laracasts/generators": "^1.1",
"matt-allan/laravel-code-style": "^0.7.0",
"laracasts/generators": "^2.0",
"jubeki/laravel-code-style": "^1.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^4.2.0",
"nunomaduro/larastan": "^0.6",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0",
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
@@ -139,11 +139,11 @@
},
{
"type": "vcs",
"url": "https://github.com/DariusIII/TVMaze-PHP-API-Wrapper"
"url": "https://github.com/DariusIII/larainvite"
},
{
"type": "vcs",
"url": "https://github.com/DariusIII/Laravel.Smarty"
"url": "https://github.com/DariusIII/TVMaze-PHP-API-Wrapper"
}
],
"minimum-stability": "dev",
Generated
+1724 -1585
View File
File diff suppressed because it is too large Load Diff