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

Complete forwards compatibility migration #16

Merged
merged 6 commits into from
Feb 23, 2016

Conversation

weierophinney
Copy link
Member

This patch completes the work from #15, with a few additional changes:

  • zend-di now implements container-interop!
  • most dependencies, including zend-servicemanager, were removed as they were unnecessary. These include:
    • zend-config (its usage could be replaced with PHP config files for purposes of testing)
    • zend-db, zend-filter, zend-form, zend-log, and zend-view were used only to test specific instantiation patterns, all of which could be accomplished with either generic test assets or PHP built-in classes.
  • test against v2.6 and v3.0 versions of zend-code.

ezimuel and others added 6 commits February 23, 2016 19:08
- Removed dependency on zend-servicemanaer. We can test for
  container-interop exceptions instead, as zend-servicemanager, for the
  versions we'll receive with this component, will throw compatible
  exceptions.
- Updated `LocatorInterface` to extend container-interop.
- Updated `Di` to implement `has()`.
- Updated `ServiceLocator` to implement `has()`.
In all cases, usage of zend-config was to pull data from configuration files,
and then pass the parsed data to zend-di objects. This could be easily
accomplished without the zend-config component by simply using configuration
arrays.
- Only test that required it could be mimiced with generic test assets.
Removes each of:

- zend-filter
- zend-form
- zend-log
- zend-view

as each component was used only to test specific instantiation patterns, each of
which could be mimiced via generic test assets or PHP built-in classes.
- Remove documentation build artifacts (not yet deployed)
- `s/SERVICE_MANAGER/CODE/g`, and set versions to `^2.6` and `^3.0` for testing.
@weierophinney weierophinney self-assigned this Feb 23, 2016
@weierophinney weierophinney merged commit 06e3cae into zendframework:develop Feb 23, 2016
weierophinney added a commit that referenced this pull request Feb 23, 2016
@weierophinney weierophinney modified the milestone: 2.6.0 Feb 23, 2016
@weierophinney weierophinney deleted the feature/15 branch February 23, 2016 20:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants