Skip to content

Commit 054630b

Browse files
committed
Move the authorise text to the installation section.
1 parent a8bd9aa commit 054630b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ To use this extension, require it in Composer:
1717
composer require --dev xactsystems/phpstan-dev
1818
```
1919

20+
Authorise the plugin, please answer y to the following prompt:
21+
xactsystems/phpstan-dev contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
22+
Do you trust "xactsystems/phpstan-dev" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
23+
2024
## Usage
2125

2226
This plugin will expose the \PHPStan namespace so that you can create your custom rules and collectors.
@@ -25,10 +29,6 @@ See the following pages for more details:
2529
https://phpstan.org/developing-extensions/rules
2630
https://phpstan.org/developing-extensions/collectors
2731

28-
Authorise the plugin, please answer y to the following prompt:
29-
xactsystems/phpstan-dev contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
30-
Do you trust "xactsystems/phpstan-dev" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
31-
3232
## Why a plugin?
3333
Although there are events within the Composer ecosystem, none of these fire for the packages being managed, they fire only for the top level package that is requiring them. Composer plugins on the other hand fire within the package being required.
3434

0 commit comments

Comments
 (0)