Skip to content

Commit

Permalink
Explain allow-plugins in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk authored and ondrejmirtes committed Dec 13, 2021
1 parent 40625ee commit ba31fbb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ index 1b578dd624..f6ebf6e477 100644
composer require --dev phpstan/extension-installer
```

And that's it.
Starting from Composer 2.2.0 you'll get the following question:
```
phpstan/extension-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "phpstan/extension-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
```

Answer with `y` to allow the plugin.

## Instructions for extension developers

Expand Down

0 comments on commit ba31fbb

Please sign in to comment.