Releases: 123inkt/accessorpair-constraint
Releases · 123inkt/accessorpair-constraint
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
v2.0.0: Merge pull request #12 from 123inkt/add-gitattributes-file
- New ConstraintConfig class to setup the constraint
 Making it possible to turn off the accessorpair/constructorpair tests if those are unwanted.
Backward Incompatible Changes:
AccessorPairAsserter::assertAccessorPairs
- The parameter $testPropertyDefaults = falseis now replaced withConstraintConfig = null. The default values have the same effect as before
 -- If the valuetruewas passed before, a ConstraintConfig instance with$propertyDefaultCheck=trueshould be passed instead
 -- If the valuefalsewas passed in order to set the$messageparameter,nullshould be passed instead for the default config
AccessorPairConstraint::__construct
- The parameter $testPropertyDefaultsis replaced withConstraintConfig
 -- If the valuetruewas passed before, a ConstraintConfig instance with$propertyDefaultCheck=trueshould be passed instead
 -- If the valuefalsewas passed before, a default ConstraintConfig instance should be passed instead
v1.1.2
v1.1.1: Add support for getter to return null (#7)
v1.1.0
What's Changed
- typo fix: customer -> custom by @frankdekker in #5
- Assert constructor parameter with get-method by @bram123 in #4
Full Changelog: v1.0.2...v1.1.0