Releases: proget-hq/phpstan-phpspec
Releases · proget-hq/phpstan-phpspec
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
First initial release:
- Check if custom matcher exist in given spec class
- support fot
getMatchers
method
- support fot
- Provides correct return type for
Collaborator
in spec methodswill*
methods- support for array return type (check if array item has correct type)
- Allow to user
Propehcy
asCollaborator
argumentsArgument::cetera()
,Argument::any()
- Provides correct attributes for
Collaborator
- Provides correct methods for
ObjectBehavior
:should*
methodsduring*
methodsbeConstructedWith
,beConstructedThrough
,beAnInstanceOf
- search original spec class (subject) and check if methods exists
- Provides correct attributes for
ObjectBehavior
:- public attributes
- static properties (with
$this->CONSTANT_NAME
)
- Provides correct class for
getWrappedObject
method