Skip to content

Add 'allow-plugins' section to composer.json#164

Open
lukaszachy wants to merge 1 commit into
sclorg:masterfrom
lukaszachy:allow-plugins
Open

Add 'allow-plugins' section to composer.json#164
lukaszachy wants to merge 1 commit into
sclorg:masterfrom
lukaszachy:allow-plugins

Conversation

@lukaszachy
Copy link
Copy Markdown

Without this section, current latest composer 2.10.0 fails with

In PluginManager.php line 746:

  Your composer.lock was generated before the allow-plugins security feature
  was introduced and your composer.json does not define allow-plugins. Run "c
  omposer update --lock" locally and commit the updated composer.lock, then a
  dd an explicit allow-plugins section to composer.json. See https://getcompo
  ser.org/allow-plugins

Hit this in today's ubi8/php-74 refresh.

Without this section, current latest composer 2.10.0 fails with

```
In PluginManager.php line 746:

  Your composer.lock was generated before the allow-plugins security feature
  was introduced and your composer.json does not define allow-plugins. Run "c
  omposer update --lock" locally and commit the updated composer.lock, then a
  dd an explicit allow-plugins section to composer.json. See https://getcompo
  ser.org/allow-plugins
```
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.

1 participant