Skip to content

Releases: 123inkt/accessorpair-constraint

v2.1.7: Added support to exclude specific and parent methods

19 Jul 11:14
Compare
Choose a tag to compare

Added two new configuration options to exclude specific methods and parent methods from assertions:

class ConstraintConfig
{
    /**
     * Enabled by default.
     * When disabled, only the direct class methods will be asserted and none of the parent's
     * class methods.
     */
    public function setAssertParentMethods(bool $assertParentMethods);

    /**
     * A list of exact method names that should be excluded from the assertions.
     */
    public function setExcludedMethods(array $excludedMethods);
}

v2.1.6

04 Jun 11:44
d042975
Compare
Choose a tag to compare

What's Changed

  • Add support for constructor argument callback by @drtheuns in #30

New Contributors

Full Changelog: v2.1.5...v2.1.6

v2.1.5

12 Feb 16:52
4281361
Compare
Choose a tag to compare

What's Changed

  • Fix the support for nullable optional parameters. by @bram123 in #29

Full Changelog: v2.1.4...v2.1.5

v2.1.4

29 Jan 17:18
224c83e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.3...v2.1.4

v2.1.3

31 Oct 20:05
d0cbec8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.2...v2.1.3

v2.1.2: Add PHP 8.0 support

04 Oct 10:57
ca4458f
Compare
Choose a tag to compare

What's Changed

  • Add CODEOWNERS file to auto assign the Reviewer team to all new PRs by @PrinsFrank in #22
  • Remove issue templates as they live in the org .github repository by @PrinsFrank in #23
  • Update dependencies + Add PHP 8.0 support by @bram123 in #24

Full Changelog: v2.1.1...v2.1.2

v2.1.1

04 Aug 10:25
32ea822
Compare
Choose a tag to compare

What's Changed

  • Added phpstan and phpcs by @bram123 in #17
  • Updated phpdocumentor/type-resolver to 1.3 by @bram123 in #18
  • Added composer "check" script to github actions by @bram123 in #19
  • Fix accessorpairs when the setter is private/protected (#20) by @bram123 in #21

Full Changelog: v2.1.0...v2.1.1

v2.0.2

04 Aug 10:23
2893b68
Compare
Choose a tag to compare

What's Changed

  • Fix accessorpairs when the setter is private/protected by @bram123 in #20

Full Changelog: v2.0.1...v2.0.2

v2.1.0: PHP version upgrade

22 Jul 11:05
cacaceb
Compare
Choose a tag to compare
  • Removed support for php 7.0 and php 7.1

  • Removed support for phpunit 6.5 and 7.5

  • Added support for php7.4

  • Added support for phpunit 8.5 + 9.2

Fix the syntax: array<type, type>

12 Jun 14:44
603c671
Compare
Choose a tag to compare

Fixes the syntax: array<type, type>

  • Added support for type-resolver v1.0 which includes support for this syntax
  • Removed the spaces before sending data to the library to support type-resolver v0.5