Add rector with laravel rules and composer normalizer

This commit is contained in:
DariusIII
2023-03-01 20:20:44 +01:00
parent ae61c3dc35
commit c360dc1e09
4 changed files with 657 additions and 13 deletions
+14 -10
View File
@@ -119,6 +119,8 @@
"beyondcode/laravel-dump-server": "^1.4",
"captainhook/captainhook": "^5.1",
"captainhook/plugin-composer": "^5.1",
"driftingly/rector-laravel": "^0.16.1",
"ergebnis/composer-normalize": "^2.30",
"friendsofphp/php-cs-fixer": "^3.5",
"jubeki/laravel-code-style": "^1.0",
"laracasts/generators": "^2.0",
@@ -127,6 +129,7 @@
"nunomaduro/larastan": "^2.0",
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0",
"rector/rector": "^0.15.19",
"spatie/laravel-ignition": "^2.0"
},
"suggest": {
@@ -168,20 +171,20 @@
"url": "https://github.com/NNTmux/laravel-caffeine"
},
{
"type": "vcs",
"url": "https://github.com/NNTmux/laravel-countries"
"type": "vcs",
"url": "https://github.com/NNTmux/laravel-countries"
},
{
"type": "vcs",
"url": "https://github.com/DariusIII/Laravel-5-Generators-Extended"
"type": "vcs",
"url": "https://github.com/DariusIII/Laravel-5-Generators-Extended"
},
{
"type": "vcs",
"url": "https://github.com/DariusIII/theTVDbAPI"
"type": "vcs",
"url": "https://github.com/DariusIII/theTVDbAPI"
},
{
"type": "vcs",
"url": "https://github.com/DariusIII/imdbphp"
"type": "vcs",
"url": "https://github.com/DariusIII/imdbphp"
},
{
"type": "vcs",
@@ -192,8 +195,8 @@
"prefer-stable": true,
"autoload": {
"psr-4": {
"Blacklight\\": "Blacklight/",
"App\\": "app/",
"Blacklight\\": "Blacklight/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
},
@@ -211,7 +214,8 @@
"allow-plugins": {
"composer/package-versions-deprecated": true,
"captainhook/plugin-composer": true,
"treeware/plant": true
"treeware/plant": true,
"ergebnis/composer-normalize": true
},
"discard-changes": true,
"optimize-autoloader": true,