zfcampus / zf-doctrine-querybuilder

Doctrine Query Builder request Filters
BSD 3-Clause "New" or "Revised" License
32 stars 19 forks source link

Allow usage with zend-hydrator v3 #50

Closed weierophinney closed 5 years ago

weierophinney commented 5 years ago

Updates dependency constraints to also allow v3 releases of zend-hydrator. Updates the travis configuration to add zend-hydrator as a legacy dep for locked environments prior to PHP 7.2.

Additionally, this patch renames CollectionLink to CollectionLinkHydratorV2, and adds CollectionLinkHydratorV3, which provides an alternate version that satisfies the StrategyInterface definitions in zend-hydrator v3.

A new package autoloader definition will alias one of these to CollectionLink based on the zend-hydrator version detected.

weierophinney commented 5 years ago

Is composer.lock deleted in that PR? Why?

I must have accidentally added a -a when doing a commit; I've fixed the commit at this time.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-4.8%) to 80.585% when pulling 9e6b6978c6f54ee99841691f180aef8f8b1f2158 on weierophinney:feature/zend-hydrator-v3 into 9b8c0afac37c1626e8b2f81c0dd8fcc304720dad on zfcampus:develop.