Skip to content

Releases: proget-hq/phpstan-phpspec

0.3.0

04 Jan 20:48
82b9dc9
Compare
Choose a tag to compare

Added

  • Support for PhpSpec 6 (#13)

Removed

  • Support for PhpSpec 5 (#13)

0.2.1

29 Jan 07:05
032e1d0
Compare
Choose a tag to compare

Added

  • Support for phpstan extension installer #12

0.2.0

15 May 10:40
7ab2492
Compare
Choose a tag to compare

Fixed

  • support for negation in ObjectState Matcher (not)
  • support for phpstan 0.11.x

0.1.1

30 Dec 15:29
3cc6b98
Compare
Choose a tag to compare

Added

  • support for ObjectState Matcher (is, has)

Removed

  • unused symfony/finder dependency

0.1.0

29 Dec 22:41
Compare
Choose a tag to compare

First initial release:

  • Check if custom matcher exist in given spec class
    • support fot getMatchers method
  • Provides correct return type for Collaborator in spec methods
    • will* methods
    • support for array return type (check if array item has correct type)
  • Allow to user Propehcy as Collaborator arguments
    • Argument::cetera(), Argument::any()
  • Provides correct attributes for Collaborator
  • Provides correct methods for ObjectBehavior:
    • should* methods
    • during* methods
    • beConstructedWith, 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