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

Prepare zf-api-problem for v3 components #45

Merged
merged 9 commits into from
Jul 6, 2016

Conversation

weierophinney
Copy link
Member

This PR incorporates and supercedes #36, with the following changes:

  • Updates dependencies
    • PHP minimum supported version is now 5.6.
    • PHP 7 is now allowed, and required when testing on CI.
    • All components are updated to latest stable versions, using || notation when multiple major versions exist.
    • Removes dependency on zend-console, by testing against a zend-stdlib RequestInterface mock.
  • Removes the getAutoloaderConfig() implementation, as it's superfluous in a Composer-managed project.
  • Updated aggregate listeners to define the optional $priority = 1 argument in attach() implementations.
  • Updated configuration to use ::class notation.

weierophinney and others added 8 commits July 15, 2015 11:05
- It's completely unnecessary, as Composer manages this module.
- Bumped minimum required PHP to 5.6, and allows 7 now.
- Used `||` notation where multiple major versions are possible.
- Removed console; we can test with a stdlib request.
- Added `$priority = 1` optional argument defined in v3 to `attach()`
  signatures.
Added namespace to configuration file to allow usage of `::class`
notation.
@weierophinney weierophinney added this to the 1.2.0 milestone Jul 6, 2016
@weierophinney weierophinney self-assigned this Jul 6, 2016
This patch ensures that all listener aggregates use the form:

```php
    $aggregate->attach($events);
```

vs

```php
    $events->attach($aggregate);
```

as the latter is unsupported in v3 versions of zend-eventmanager.
@weierophinney weierophinney merged commit c5e10ff into zfcampus:develop Jul 6, 2016
weierophinney added a commit that referenced this pull request Jul 6, 2016
weierophinney added a commit that referenced this pull request Jul 6, 2016
@weierophinney weierophinney deleted the feature/36 branch July 6, 2016 18:46
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