Skip to content

Commit 23642d3

Browse files
committed
build():Change composer.json to force composer use same PHP version for run scripts which is used for run composer itself
1 parent 33df909 commit 23642d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"phpunit/phpunit": "^9"
3838
},
3939
"scripts": {
40-
"test": "vendor/bin/phpunit tests --coverage-html coverage --coverage-clover coverage.xml"
40+
"test": "@php vendor/bin/phpunit tests --coverage-html coverage --coverage-clover coverage.xml",
41+
"php-version": "@php --version"
4142
}
4243
}

0 commit comments

Comments
 (0)