ComposerPluginsValidator::SUPPORTED_PLUGINS_THAT_DO_NOT_MODIFY
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/ComposerPluginsValidator.php \Drupal\package_manager\Validator\ComposerPluginsValidator::SUPPORTED_PLUGINS_THAT_DO_NOT_MODIFY
Composer plugins known to NOT modify other packages.
Keys are Composer plugin package names, values are version constraints for those plugins that this validator explicitly supports.
File
-
core/
modules/ package_manager/ src/ Validator/ ComposerPluginsValidator.php, line 77
Class
- ComposerPluginsValidator
- Validates the allowed Composer plugins, both in active and stage.
Namespace
Drupal\package_manager\ValidatorCode
private const SUPPORTED_PLUGINS_THAT_DO_NOT_MODIFY = [
'composer/installers' => '^2.0',
'dealerdirect/phpcodesniffer-composer-installer' => '^0.7.1 || ^1.0.0',
'drupal/core-composer-scaffold' => '*',
'drupal/core-recipe-unpack' => '*',
'drupal/core-project-message' => '*',
'phpstan/extension-installer' => '^1.1',
PhpTufValidator::PLUGIN_NAME => '^1',
'symfony/runtime' => '*',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.