Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allow_plugins setting since Composer 2.2.x #178

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

peter279k
Copy link
Contributor

Changed log

  • Since using the Composer 2.2 version, the Composer plugin need to be set in the composer.json file. Otherwise it will cause the following exception message when running the composer update command:
.......
  dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin w  
  hich is blocked by your allow-plugins config. You may add it to the list if  
   you consider it safe.                                                       
  You can run "composer config --no-plugins allow-plugins.dealerdirect/phpcod  
  esniffer-composer-installer [true|false]" to enable it (true) or disable it  
   explicitly and suppress this exception (false)                              
  See https://getcomposer.org/allow-plugins
.......

@peter279k peter279k changed the title Add allow_plugin setting since Composer 2.2.x Add allow_plugins setting since Composer 2.2.x Sep 1, 2022
@isublimity isublimity merged commit 34f1c77 into smi2:master Dec 20, 2022
@peter279k peter279k deleted the fix_allow_plugin branch December 21, 2022 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants