File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,24 @@ This extension specifies types of values passed to:
34
34
35
35
` Assert\that ` , ` Assert\thatNullOr ` and ` Assert\thatAll ` functions are supported too.
36
36
37
- ## Usage
37
+
38
+ ## Installation
38
39
39
40
To use this extension, require it in [ Composer] ( https://getcomposer.org/ ) :
40
41
41
- ``` bash
42
+ ```
42
43
composer require --dev phpstan/phpstan-beberlei-assert
43
44
```
44
45
45
- And include extension.neon in your project's PHPStan config:
46
+ If you also install [ phpstan/extension-installer] ( https://github.com/phpstan/extension-installer ) then you're all set!
47
+
48
+ <details >
49
+ <summary >Manual installation</summary >
50
+
51
+ If you don't want to use ` phpstan/extension-installer ` , include extension.neon in your project's PHPStan config:
46
52
47
53
```
48
54
includes:
49
- - vendor/phpstan/phpstan-beberlei-assert/extension.neon
55
+ - vendor/phpstan/phpstan-beberlei-assert/extension.neon
50
56
```
57
+ </details >
You can’t perform that action at this time.
0 commit comments