Skip to content

Commit

Permalink
Explicitly configure all composer plugins (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
andytson-inviqa authored Jul 11, 2022
1 parent f4ffa64 commit 452465e
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/akeneo/application/skeleton/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
"config": {
"platform": {
"php": "{{ (version_compare(@('akeneo.major_version'), '5', '>=')) ? '7.4' : '7.3.22' }}"
},
"allow-plugins": {
"symfony/flex": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable"
Expand Down
8 changes: 8 additions & 0 deletions src/drupal8/application/skeleton/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
"sort-packages": true,
"platform": {
"php": "7.4.10"
},
"allow-plugins": {
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"fenetikm/autoload-drupal": true,
"oomphinc/composer-installers-extender": true
}
},
"repositories": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"bin-dir": "bin",
"platform": {
"php": "7.2.33"
},
"allow-plugins": {
"aydin-hassan/magento-core-composer-installer": true,
"magento-hackathon/magento-composer-installer": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"bin-dir": "bin",
"platform": {
"php": "5.6.40"
},
"allow-plugins": {
"aydin-hassan/magento-core-composer-installer": true,
"magento-hackathon/magento-composer-installer": true
}
}
}
6 changes: 6 additions & 0 deletions src/magento2/application/skeleton/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"sort-packages": true,
"platform": {
"php": "7.4.10"
},
"allow-plugins": {
"laminas/laminas-dependency-plugin": true,
"magento/inventory-composer-installer": true,
"magento/magento-composer-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
Expand Down
4 changes: 4 additions & 0 deletions src/spryker/application/skeleton/composer-harness.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
"compatibility": "bin/phpcs -s --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility/ --runtime-set testVersion 7.4-"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"sllh/composer-versions-check": true
},
"platform": {
"php": "7.4.10"
}
Expand Down
3 changes: 2 additions & 1 deletion src/symfony/application/skeleton/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"config": {
"allow-plugins": {
"symfony/flex": true,
"symfony/runtime": true
"symfony/runtime": true,
"dealerdirect/phpcodesniffer-composer-installer": false
},
"bin-dir": "bin",
"optimize-autoloader": true,
Expand Down
3 changes: 3 additions & 0 deletions src/wordpress/application/skeleton/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"bin-dir": "bin",
"platform": {
"php": "7.4.10"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}

0 comments on commit 452465e

Please sign in to comment.