File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 8484
8585 env :
8686 SYMFONY_VERSION : ${{ matrix.symfony-version }}
87+ MAKER_ALLOW_DEV_DEPS_IN_APP : ${{ matrix.allow-dev-deps-in-apps }}
8788
8889 strategy :
8990 fail-fast : false
9697 - ' 5.4.x-dev'
9798 - ' 6.0.x-dev'
9899 dependency-versions : ['highest']
100+ allow-dev-deps-in-apps : ['0']
99101 include :
100102 # testing lowest PHP version with LTS
101103 - php-version : ' 7.1.3'
@@ -110,6 +112,8 @@ jobs:
110112 - php-version : ' 8.1'
111113 symfony-version : ' 5.3.*'
112114 dependency-versions : ' highest'
115+ # temporarily needed until some packages support php 8.1
116+ allow-dev-deps-in-apps : ' 1'
113117
114118 steps :
115119 - name : " Checkout code"
Original file line number Diff line number Diff line change @@ -262,6 +262,11 @@ private function buildFlexSkeleton(): void
262262 ];
263263 $ this ->processReplacements ($ replacements , $ this ->flexPath );
264264
265+ if ($ _SERVER ['MAKER_ALLOW_DEV_DEPS_IN_APP ' ] ?? false ) {
266+ MakerTestProcess::create ('composer config minimum-stability dev ' , $ this ->flexPath )->run ();
267+ MakerTestProcess::create ('composer config prefer-stable true ' , $ this ->flexPath )->run ();
268+ }
269+
265270 // fetch a few packages needed for testing
266271 MakerTestProcess::create ('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest ' , $ this ->flexPath )
267272 ->run ();
You can’t perform that action at this time.
0 commit comments