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

Prepare module for v3 ZF component releases #17

Closed

Conversation

weierophinney
Copy link
Member

This patch prepares the module for use with v3 component releases. Specifically:

  • Updates the minimum supported PHP version to 5.6.
  • Updates all composer dependencies to set the minimum supported version to the current stable release; if v3 releases are available, they are supported via || constraints.
  • Moves Module under the src/ tree, where it belongs, and:
    • Removes the obsolete getAutoloaderConfig() implementation.
    • Extracts all factories into their own classes, removing the need for getServiceConfig().
  • Exposes the module to end-component-isntaller.

- `composer.json`:
  - Updated minimum supported PHP version to 5.6.
  - Set all dependency minimum supported versions to latest known stable
    version; if v3 release is available, provided `||` constraint.
  - Added QA scripts.
  - Exposed as module to zend-component-installer.
- Moved `Module` class to `src/` tree, where it belongs
  - removed `getAutoloaderConfig()` implementation (not necessary)
  - use `::class` notation where possible
- Made PHPUnit config a dist file
- Added `config` tree to `phpcs` rules
- Added lowest/locked/latest test strategy
- Fixed mock configuration in ResourceFactoryTest.
- Added CONDUCT.md
- Referenced CONDUCT from CONTRIBUTING
- Referenced composer scripts from CONTRIBUTING
- Removed ZF2 references.
- Use short array notation.
- Updated install instructions.
@weierophinney weierophinney added this to the 1.2.0 milestone Jul 13, 2016
@weierophinney weierophinney self-assigned this Jul 13, 2016
weierophinney added a commit that referenced this pull request Jul 13, 2016
@weierophinney weierophinney deleted the feature/zf3compat branch July 13, 2016 21:00
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.

1 participant