File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ _to install dev dependencies:_
4848 args : analyse src/
4949` ` `
5050
51+ _to allow dev dependencies:_
52+ ` ` ` diff
53+ uses : docker://oskarstark/phpstan-ga
54+ + env :
55+ + ALLOW_DEV : true
56+ with :
57+ args : analyse src/
58+ ` ` `
59+
5160_to skip checking the platform requirements:_
5261` ` ` diff
5362 uses : docker://oskarstark/phpstan-ga
Original file line number Diff line number Diff line change 2020
2121COMPOSER_COMMAND=" composer install --no-progress $NO_DEV $IGNORE_PLATFORM_REQS "
2222echo " ::group::$COMPOSER_COMMAND "
23+
24+ if [ " $ALLOW_DEV " = " true" ]; then
25+ composer config minimum-stability dev
26+ composer config prefer-stable true
27+ fi
28+
2329$COMPOSER_COMMAND
2430echo " ::endgroup::"
2531/composer/vendor/bin/phpstan $*
You can’t perform that action at this time.
0 commit comments