File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -66,23 +66,31 @@ public function testSomething()
66
66
}
67
67
```
68
68
69
- ## Usage
69
+
70
+ ## Installation
70
71
71
72
To use this extension, require it in [ Composer] ( https://getcomposer.org/ ) :
72
73
73
- ``` bash
74
+ ```
74
75
composer require --dev phpstan/phpstan-phpunit
75
76
```
76
77
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:
78
84
79
85
```
80
86
includes:
81
- - vendor/phpstan/phpstan-phpunit/extension.neon
87
+ - vendor/phpstan/phpstan-phpunit/extension.neon
82
88
```
83
89
84
90
To perform framework-specific checks, include also this file:
85
91
86
92
```
87
- - vendor/phpstan/phpstan-phpunit/rules.neon
93
+ - vendor/phpstan/phpstan-phpunit/rules.neon
88
94
```
95
+
96
+ </details >
You can’t perform that action at this time.
0 commit comments