Skip to content

Commit c481743

Browse files
committed
Add post-install-cmd command to prevent PHP version conflict
1 parent 8891cd7 commit c481743

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
}
7272
},
7373
"scripts" :{
74+
"post-install-cmd": ["@composer bin all install --ansi --ignore-platform-req=php"],
75+
"post-update-cmd": ["@composer bin all update --ansi --ignore-platform-req=php"],
7476
"test": ["./vendor/bin/phpunit"],
7577
"tests": ["@cs", "@sa", "@test"],
7678
"coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],

0 commit comments

Comments
 (0)