File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 84
84
85
85
env :
86
86
SYMFONY_VERSION : ${{ matrix.symfony-version }}
87
+ MAKER_ALLOW_DEV_DEPS_IN_APP : ${{ matrix.allow-dev-deps-in-apps }}
87
88
88
89
strategy :
89
90
fail-fast : false
96
97
- ' 5.4.x-dev'
97
98
- ' 6.0.x-dev'
98
99
dependency-versions : ['highest']
100
+ allow-dev-deps-in-apps : ['0']
99
101
include :
100
102
# testing lowest PHP version with LTS
101
103
- php-version : ' 7.1.3'
@@ -110,6 +112,8 @@ jobs:
110
112
- php-version : ' 8.1'
111
113
symfony-version : ' 5.3.*'
112
114
dependency-versions : ' highest'
115
+ # temporarily needed until some packages support php 8.1
116
+ allow-dev-deps-in-apps : ' 1'
113
117
114
118
steps :
115
119
- name : " Checkout code"
Original file line number Diff line number Diff line change @@ -262,6 +262,11 @@ private function buildFlexSkeleton(): void
262
262
];
263
263
$ this ->processReplacements ($ replacements , $ this ->flexPath );
264
264
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
+
265
270
// fetch a few packages needed for testing
266
271
MakerTestProcess::create ('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest ' , $ this ->flexPath )
267
272
->run ();
You can’t perform that action at this time.
0 commit comments