mirror of
https://github.com/phpmon/website
synced 2025-08-07 14:50:09 +02:00
Add Rector & various upgrades
This commit is contained in:
@ -4,21 +4,23 @@
|
||||
"description": "The PHP Monitor website.",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"guzzlehttp/guzzle": "^7.7",
|
||||
"laravel/framework": "^10.12",
|
||||
"laravel/sanctum": "^3.2.5",
|
||||
"laravel/tinker": "^2.8.1",
|
||||
"league/commonmark": "^2.4"
|
||||
"php": "^8.3",
|
||||
"guzzlehttp/guzzle": "^7.8.1",
|
||||
"laravel/framework": "^10.43",
|
||||
"laravel/sanctum": "^3.3.3",
|
||||
"laravel/tinker": "^2.9.0",
|
||||
"league/commonmark": "^2.4.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"fakerphp/faker": "^1.22",
|
||||
"laravel/pint": "^1.10",
|
||||
"laravel/sail": "^1.22",
|
||||
"mockery/mockery": "^1.5.1",
|
||||
"nunomaduro/collision": "^7.1",
|
||||
"phpunit/phpunit": "^9.6.8",
|
||||
"spatie/laravel-ignition": "^2.1.3"
|
||||
"driftingly/rector-laravel": "^1.0",
|
||||
"fakerphp/faker": "^1.23.1",
|
||||
"laravel/pint": "^1.13.10",
|
||||
"laravel/sail": "^1.27.3",
|
||||
"mockery/mockery": "^1.6.7",
|
||||
"nunomaduro/collision": "^7.10",
|
||||
"phpunit/phpunit": "^10.0",
|
||||
"rector/rector": "^1.0",
|
||||
"spatie/laravel-ignition": "^2.4.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -43,6 +45,16 @@
|
||||
],
|
||||
"post-create-project-cmd": [
|
||||
"@php artisan key:generate --ansi"
|
||||
],
|
||||
"pint": "./vendor/bin/pint -v",
|
||||
"rector-dry-run": "./vendor/bin/rector process --dry-run",
|
||||
"rector": "./vendor/bin/rector process",
|
||||
"test": "php artisan test",
|
||||
"coverage": "php artisan test --coverage",
|
||||
"verify": [
|
||||
"@rector",
|
||||
"@pint",
|
||||
"@test"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
@ -52,7 +64,7 @@
|
||||
},
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "8.2"
|
||||
"php": "8.3"
|
||||
},
|
||||
"optimize-autoloader": true,
|
||||
"preferred-install": "dist",
|
||||
|
Reference in New Issue
Block a user