Skip to content

Commit fd427c4

Browse files
committed
Laravel 10
1 parent cb64c07 commit fd427c4

File tree

2 files changed

+4
-54
lines changed

2 files changed

+4
-54
lines changed

.php-cs-fixer.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"require-dev": {
99
"phpunit/phpunit": "^9.5",
1010
"mockery/mockery": "^1.4",
11-
"friendsofphp/php-cs-fixer": "^3.3"
11+
"brainmaestro/composer-git-hooks": "dev-master",
12+
"laravel/pint": "^1.5"
1213
},
1314
"autoload": {
1415
"psr-4": {
@@ -30,11 +31,9 @@
3031
},
3132
"hooks": {
3233
"pre-commit": [
33-
"composer test",
3434
"composer check-style"
3535
],
3636
"pre-push": [
37-
"composer test",
3837
"composer check-style"
3938
]
4039
}
@@ -49,8 +48,8 @@
4948
"cghooks update"
5049
],
5150
"cghooks": "vendor/bin/cghooks",
52-
"check-style": "php-cs-fixer fix --using-cache=no --diff --dry-run --ansi",
53-
"fix-style": "php-cs-fixer fix --using-cache=no --ansi",
51+
"check-style": "vendor/bin/pint --test",
52+
"fix-style": "vendor/bin/pint",
5453
"test": "vendor/bin/phpunit"
5554
},
5655
"scripts-descriptions": {

0 commit comments

Comments
 (0)