File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 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:
3546includes:
3647 - vendor/proget-hq/phpstan-phpspec/extension.neon
3748parameters:
38- phpspecSourceFiles:
39- - 'src/'
49+ specDir: 'spec/'
4050```
41-
42- ## Limitations
43-
44- TBD.
You can’t perform that action at this time.
0 commit comments