Skip to content

Commit 21e0951

Browse files
committed
Update composer.json: fix php-cs-fixer script and add phpstan dependency
1 parent 34ad7cf commit 21e0951

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"scripts": {
3333
"test": "phpunit",
34-
"check": "composer iphp-cs-fixer check",
34+
"check": "php-cs-fixer check",
3535
"fix": "php-cs-fixer fix",
3636
"phpstan": "phpstan analyse -c phpstan.neon --memory-limit 1G",
3737
"phpstan:baseline": "@phpstan --generate-baseline tests/phpstan-baseline.neon"
@@ -47,6 +47,7 @@
4747
},
4848
"require-dev": {
4949
"friendsofphp/php-cs-fixer": "^3.68",
50+
"phpstan/phpstan": "^2.1",
5051
"phpunit/php-code-coverage": "^12.0",
5152
"phpunit/phpunit": "^12.5"
5253
},

0 commit comments

Comments
 (0)