Releases: 123inkt/accessorpair-constraint
Releases · 123inkt/accessorpair-constraint
v2.1.7: Added support to exclude specific and parent methods
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
v2.1.5
v2.1.4
v2.1.3
What's Changed
- Plural getter/add pairs by @avgeeklucky in #25
New Contributors
- @avgeeklucky made their first contribution in #25
Full Changelog: v2.1.2...v2.1.3
v2.1.2: Add PHP 8.0 support
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
v2.0.2
v2.1.0: PHP version upgrade
-
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>
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