Skip to content

Commit

Permalink
update grumphp, add pint
Browse files Browse the repository at this point in the history
  • Loading branch information
reliq committed Mar 30, 2024
1 parent e57aef7 commit 0c7a232
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 26 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
"anhskohbo/no-captcha": "@dev"
},
"require-dev": {
"laravel/pint": "^1.15",
"orchestra/testbench": "^9.0",
"phpro/grumphp": "^2.5",
"phpspec/prophecy-phpunit": "^2.0",
"symplify/easy-coding-standard": ">=8.2"
"symplify/easy-coding-standard": ">=8.2",
"yieldstudio/grumphp-laravel-pint": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
16 changes: 0 additions & 16 deletions ecs.php

This file was deleted.

15 changes: 6 additions & 9 deletions grumphp.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
grumphp:
extensions:
- YieldStudio\GrumPHPLaravelPint\ExtensionLoader
tasks:
ecs:
config: ~
level: ~
paths: [ ]
files_on_pre_commit: false
triggered_by: [ 'php' ]
clear-cache: false
no-progress-bar: true
laravel_pint:
config: pint.json
preset: laravel
phpunit:
config_file: ~
testsuite: Unit
testsuite: ~
group: [ ]
always_execute: false
3 changes: 3 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"preset": "psr12"
}

0 comments on commit 0c7a232

Please sign in to comment.