Skip to content

Commit 648a16e

Browse files
committed
Use the current php binary for invoking sub scripts
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 5a8b97e commit 648a16e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@
1616
"source": "https://github.com/phpmyadmin/shapefile"
1717
},
1818
"scripts": {
19-
"phpcbf": "phpcbf",
20-
"phpcs": "phpcs",
21-
"phpstan": "phpstan analyse",
22-
"phpunit": "phpunit --color=always",
19+
"phpcbf": "@php phpcbf",
20+
"phpcs": "@php phpcs",
21+
"phpstan": "@php phpstan analyse",
22+
"phpunit": "@php phpunit --color=always",
2323
"test": [
2424
"@phpcs",
2525
"@phpstan",
2626
"@phpunit"
27+
],
28+
"update:baselines": [
29+
"@php phpstan analyse --generate-baseline"
2730
]
2831
},
2932
"require": {

0 commit comments

Comments
 (0)