Skip to content

Commit 532b42d

Browse files
committed
Update README
1 parent 8eaa8e8 commit 532b42d

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,22 @@
88

99
## What does it do?
1010

11+
* Currently compatible with original specs from `PhpSpec` itself
12+
* Check if custom matcher exist in given spec class
13+
* support fot `getMatchers` method
1114
* Provides correct return type for `Collaborator` in spec methods
1215
* `will*` methods
16+
* support for array return type (check if array item has correct type)
17+
* Allow to user `Propehcy` as `Collaborator` arguments
18+
* `Argument::cetera()`, `Argument::any()`
1319
* Provides correct methods for `ObjectBehavior`:
1420
* `should*` methods
21+
* `during*` methods
1522
* `beConstructedWith`, `beConstructedThrough`, `beAnInstanceOf`
23+
* search original spec class (subject) and check if methods exists
24+
* Provides correct attributes for `ObjectBehavior`:
25+
* public attributes
26+
* static properties (with `$this->CONSTANT_NAME`)
1627

1728
## Compatibility
1829

@@ -35,10 +46,5 @@ Put this into your `phpstan.neon` config:
3546
includes:
3647
- vendor/proget-hq/phpstan-phpspec/extension.neon
3748
parameters:
38-
phpspecSourceFiles:
39-
- 'src/'
49+
specDir: 'spec/'
4050
```
41-
42-
## Limitations
43-
44-
TBD.

0 commit comments

Comments
 (0)