Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Deprecate hydrator classes #20

Merged
merged 16 commits into from
Sep 21, 2015

Commits on Sep 21, 2015

  1. Configuration menu
    Copy the full SHA
    b4c96c3 View commit details
    Browse the repository at this point in the history
  2. Modify all hydrator classes to extend zend-hydrator counterparts

    - Updated interfaces, abstract classes, and concrete classes to extend
      zend-hydrator counterparts.
    - Where required, also implemented local hydrator interfaces to allow extensions
      to comply.
    - Most test modifications were around updating exception expectations to look
      for the zend-hydrator equivalents.
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    6dd7eb5 View commit details
    Browse the repository at this point in the history
  3. Marked all hydrator classes as @deprecated

    - Each also indicates the class from zendframework/zend-hydrator to use.
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    bf45144 View commit details
    Browse the repository at this point in the history
  4. CS fixes

    - unused use statements
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    137de71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    802072d View commit details
    Browse the repository at this point in the history
  6. Have HydratorInterface extend stdlib variant of ExtractionInterface

    This was needed to ensure that objects typehinting on
    `Zend\Stdlib\Extractor\ExtractionInterface` specifically would continue to work
    with objects implementing HydratorInterface. (Discovered in testing Apigility;
    this one change makes Apigility work correctly.)
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    7752b57 View commit details
    Browse the repository at this point in the history
  7. Mirror changes in 7752b57

    - In case any code is type-hinting on `HydrationInterface` from
      zend-stdlib, this ensures objects fulfilling `HydratorInterface` will
      fulfill those as well.
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    2e36707 View commit details
    Browse the repository at this point in the history
  8. Updated CHANGELOG

    Now presents notes on how to update code to work with the removal of
    the Hydrator classes.
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    974b4c6 View commit details
    Browse the repository at this point in the history
  9. Ensure custom hydrators extending AbstractHydrator work with typehints

    Before this patch, if a typehint was on
    `Zend\Stdlib\Hydrator\HydratorInterface`, and the hydrator extend the
    `AbstractHydrator`, then the type check would fail, as it was not
    implementing the interface.
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    2a8ce8e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e63ac4f View commit details
    Browse the repository at this point in the history
  11. Ensure strategies implement local StrategyInterface

    - to ensure LSP
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    d99bec0 View commit details
    Browse the repository at this point in the history
  12. Implement local FilterInterface in filters

    - to ensure LSP
    weierophinney committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    bf85db8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    695ac00 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c4b3877 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b751729 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    77d7dbe View commit details
    Browse the repository at this point in the history