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

Allow dealerdirect/phpcodesniffer-composer-installer plugin #901

Closed

Conversation

jdreesen
Copy link
Contributor

@jdreesen jdreesen commented Sep 12, 2022

Fixes an error in the CI pipeline during composer install:

Error: dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin which 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/phpcodesniffer-composer-installer [true|false]" to enable it (true) or disable it explicitly and suppress this exception (false)
See https://getcomposer.org/allow-plugins

In PluginManager.php line 744:
                                                                               
  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/phpcodesniffer-composer-installer [true|false]" to enable it (true) or disable it explicitly and suppress this exception (false)                              
  See https://getcomposer.org/allow-plugins
                                    

It's a dependency of doctrine/coding-standard:

> composer why dealerdirect/phpcodesniffer-composer-installer
doctrine/coding-standard 8.2.1 requires dealerdirect/phpcodesniffer-composer-installer (^0.6.2 || ^0.7) 
slevomat/coding-standard 6.4.1 requires dealerdirect/phpcodesniffer-composer-installer (^0.6.2 || ^0.7) 

Probably all pipelines will fail until this is resolved. See #894, #893.

This was referenced Sep 12, 2022
@jdreesen
Copy link
Contributor Author

Duplicate of #897

@jdreesen jdreesen closed this Sep 12, 2022
@jdreesen jdreesen deleted the allow-codesniffer-composer-plugin branch September 12, 2022 11:38
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

1 participant