Skip to content

Commit 20281fb

Browse files
committed
Update composer.json
1 parent a96a8c4 commit 20281fb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

composer.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"role": "Developer"
1717
}
1818
],
19-
"requires": {
19+
"require": {
2020
"php": ">=7.4"
2121
},
2222
"require-dev": {
@@ -35,5 +35,12 @@
3535
"phpstan/extension-installer": true,
3636
"dealerdirect/phpcodesniffer-composer-installer": true
3737
}
38+
},
39+
"scripts": {
40+
"phpcs": "./vendor/bin/phpcs --standard=phpcs.xml.dist $(find . -name '*.php')",
41+
"phpcbf": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(find . -name '*.php')",
42+
"phpstan": "./vendor/bin/phpstan analyse --memory-limit=5120M",
43+
"phpstan-baseline": "./vendor/bin/phpstan analyse --generate-baseline --memory-limit=5120M"
3844
}
45+
3946
}

0 commit comments

Comments
 (0)