Skip to content

Conversation

@peter279k
Copy link
Contributor

Changed log

  • Add PHP 8.1 in GitHub actions.

"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
Copy link
Contributor Author

@peter279k peter279k Aug 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To resolve the following error, it should add these lines to let Composer allow the PHP_CodeSniffer coding standards Composer installer plugin (it depends on the slevomat/coding-standard dependency):

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)

@icanhazstring icanhazstring merged commit d29a086 into icanhazstring:master Aug 30, 2022
@icanhazstring
Copy link
Owner

Thanks for the addition 🥳

@peter279k peter279k deleted the add_php81 branch August 30, 2022 16:04
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.

2 participants