File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -66,23 +66,31 @@ public function testSomething()
6666}
6767```
6868
69- ## Usage
69+
70+ ## Installation
7071
7172To use this extension, require it in [ Composer] ( https://getcomposer.org/ ) :
7273
73- ``` bash
74+ ```
7475composer require --dev phpstan/phpstan-phpunit
7576```
7677
77- And include extension.neon in your project's PHPStan config:
78+ If you also install [ phpstan/extension-installer] ( https://github.com/phpstan/extension-installer ) then you're all set!
79+
80+ <details >
81+ <summary >Manual installation</summary >
82+
83+ If you don't want to use ` phpstan/extension-installer ` , include extension.neon in your project's PHPStan config:
7884
7985```
8086includes:
81- - vendor/phpstan/phpstan-phpunit/extension.neon
87+ - vendor/phpstan/phpstan-phpunit/extension.neon
8288```
8389
8490To perform framework-specific checks, include also this file:
8591
8692```
87- - vendor/phpstan/phpstan-phpunit/rules.neon
93+ - vendor/phpstan/phpstan-phpunit/rules.neon
8894```
95+
96+ </details >
You can’t perform that action at this time.
0 commit comments