File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,22 @@ const mirrorBuildConfig = {
2222 : { }
2323 composerJson . require = { ...composerJson . require , ...patch }
2424 return composerJson ;
25+ } ,
26+ ] ,
27+ 'magento/project-community-edition' : [
28+ // Magento 2.4.8 forked allure-framework/allure-phpunit to magento/magento-allure-phpunit, because PHP 8.4 compat
29+ // Later, Allure created a new version with support for PHP 8.4
30+ // I believe that Magento tried to switch back to allure-framework/allure-phpunit but forgot to remove
31+ // magento/magento-allure-phpunit from the dev-dependencies list in the package. It is removed in githab though.
32+ // We add it in again here for consistency with the upstream release.
33+ composerJson => {
34+ const patch = composerJson . version === '2.4.8-p1'
35+ ? { 'magento/magento-allure-phpunit' : '^3.0.2' }
36+ : { }
37+ composerJson [ 'require-dev' ] = { ...composerJson [ 'require-dev' ] , ...patch }
38+ return composerJson ;
2539 }
26- ]
40+ ] ,
2741 } ,
2842 // After package generation, the files for these specific module versions will be replaced.
2943 packageReplacements : [
You can’t perform that action at this time.
0 commit comments