Skip to content

Commit dc8dd65

Browse files
committed
added phpstan, php-cs-fixer, phpunit
1 parent 06aff9e commit dc8dd65

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

composer.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"php": ">=8.1"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "^10.0"
10+
"phpunit/phpunit": "^10.0",
11+
"friendsofphp/php-cs-fixer": "^3.15",
12+
"phpstan/phpstan": "^1.10"
1113
},
1214
"license": "MIT",
1315
"autoload": {
@@ -20,5 +22,16 @@
2022
"name": "Hiromi Hishida",
2123
"email": "[email protected]"
2224
}
23-
]
25+
],
26+
"scripts": {
27+
"cs": [
28+
"@php ./vendor/bin/php-cs-fixer fix -v --dry-run"
29+
],
30+
"cs-fix": [
31+
"@php ./vendor/bin/php-cs-fixer fix -v"
32+
],
33+
"phpstan": [
34+
"@php ./vendor/bin/phpstan"
35+
]
36+
}
2437
}

0 commit comments

Comments
 (0)