Skip to content

Releases: 123inkt/accessorpair-constraint

v2.1.11

08 Aug 09:32
51477c6

Choose a tag to compare

What's Changed

  • Add support for php 8.1 enum typehints by @bram123 in #40

Full Changelog: v2.1.10...v2.1.11

v2.1.10

13 Jun 12:46
c1bd008

Choose a tag to compare

What's Changed

  • When creating a new instance, prefer the constructor's parameter's default… by @bram123 in #38

Full Changelog: v2.1.9...v2.1.10

v2.1.9

22 May 10:57
861f172

Choose a tag to compare

What's Changed

  • Add support for @template tags on the class by @bram123 in #37

Full Changelog: v2.1.8...v2.1.9

v2.1.8

19 May 19:25
a675729

Choose a tag to compare

What's Changed

  • Add PHP 8.1 to workflow by @bram123 in #32
  • Update outdated packages by @bram123 in #33
  • Add support for extra pseudo types by @bram123 in #34
  • Update package with the latest skeleton package changes by @bram123 in #36
  • @phpstan- / @psalm- annotation support by @bram123 in #35

Full Changelog: v.2.1.7...v2.1.8

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

19 Jul 11:14

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

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

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

Choose a tag to compare

What's Changed

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

v2.1.3

31 Oct 20:05
d0cbec8

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

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