Migrates to Pint

This commit is contained in:
Nuno Maduro
2022-09-16 10:45:53 +01:00
parent 579b975318
commit e9564febaf
94 changed files with 413 additions and 471 deletions

View File

@ -51,7 +51,13 @@
"illuminate/console": "^9.30.1",
"illuminate/support": "^9.30.1",
"laravel/dusk": "^6.25.1",
"pestphp/pest-dev-tools": "dev-master"
"ergebnis/phpstan-rules": "^1.0.0",
"laravel/pint": "^1.2.0",
"phpstan/phpstan": "^1.8.5",
"phpstan/phpstan-strict-rules": "^1.4.3",
"symfony/var-dumper": "^6.2.0",
"thecodingmachine/phpstan-strict-rules": "^1.0.0",
"rector/rector": "^0.14.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
@ -66,8 +72,10 @@
"bin/pest"
],
"scripts": {
"lint": "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix -v",
"test:lint": "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix -v --dry-run",
"lint": "pint --test",
"refactor": "rector",
"test:lint": "pint --test",
"test:refactor": "rector --dry-run",
"test:types": "phpstan analyse --ansi --memory-limit=-1 --debug",
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
"test:parallel": "exit 1",
@ -77,7 +85,8 @@
"@test:lint",
"@test:types",
"@test:unit",
"@test:integration"
"@test:integration",
"@test:refactor"
]
},
"extra": {