Skip to content

Commit 8fc323e

Browse files
committed
Add composer scripts from the main repository
Signed-off-by: William Desportes <[email protected]>
1 parent 6e34c69 commit 8fc323e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

composer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,23 @@
5454
"PhpMyAdmin\\SqlParser\\Tests\\": "tests"
5555
}
5656
},
57+
"scripts": {
58+
"phpcbf": "@php phpcbf",
59+
"phpcs": "@php phpcs",
60+
"phpstan": "@php phpstan analyse",
61+
"psalm": "@php psalm --no-diff",
62+
"phpunit": "@php phpunit --color=always",
63+
"test": [
64+
"@phpcs",
65+
"@phpstan",
66+
"@psalm",
67+
"@phpunit"
68+
],
69+
"update:baselines": [
70+
"@php phpstan analyse --generate-baseline",
71+
"@php psalm --set-baseline=psalm-baseline.xml"
72+
]
73+
},
5774
"config": {
5875
"sort-packages": true,
5976
"allow-plugins": {

0 commit comments

Comments
 (0)