Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
/zend-mvcPublic archive

Provide PHP 7.2 support for zend-mvc 2.7 series#279

Conversation

@weierophinney
Copy link
Member

  • Updates dependencies to versions known to work with 2.7 when possible.
  • Fixes a signature within the PluginManager
  • Fixes a test asset signature
  • Adds 7.1 and 7.2 jobs

@weierophinneyweierophinneyforce-pushed thehotfix/2.7-php-7.2-support branch 3 times, most recently fromcb15aa2 to7800a56CompareMay 2, 2018 22:15
- Updates dependencies to versions known to work with 2.7 when possible.- Fixes a signature within the PluginManager- Fixes a test asset signature- Adds 7.1 and 7.2 jobs- Drops PHP 5.5 from the matrix  Most dependencies _require_ 5.6 as a minimum supported version, and thus  we cannot install dependencies as a result.  It may still _work_ on 5.5, but if you're on 5.5, you don't care about  7.2 support.- Use latest possible version of PHPUnit in the v4 series.
…n detected`PluginManager` overrides the `get()` method, which has a differentsignature in v2 than in v3. Until PHP 7.2, this was not a problem;however, in 7.2, even optional values must follow the exact samesignature as the parent. As a result, we now need to vary theimplementations.This patch provides `AbstractPluginManager`, which contains the bulk of thelogic for implementing the `PluginManager`. It then introduces thefollowing:- `PluginManagerSM2`, which extends `AbstractPluginManager` and  implements the zend-servicemanager v2 `get()` signature.- `PluginManagerSM3`, which extends `AbstractPluginManager` and  implements the zend-servicemanager v3 `get()` signature.It removes the `PluginManager` class.It then adds a file-based autoloader that checks to see if`Zend\ServiceManager\PluginManagerInterface` exists. If it does, italiases `PluginManager` to `PluginManagerSM3`; otherwise, it aliases itto `PluginManagerSM2`.Additionally, this patch updates to zend-servicemanager 2.7.10, whichhas important fixes to how it handles creation options withInvokableFactory that are necessary here.
@weierophinneyweierophinneyforce-pushed thehotfix/2.7-php-7.2-support branch from7800a56 to43cbba0CompareMay 2, 2018 22:22
@weierophinneyweierophinney merged commit43cbba0 intozendframework:release-2.7May 2, 2018
weierophinney added a commit that referenced this pull requestMay 2, 2018
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@weierophinney

[8]ページ先頭

©2009-2025 Movatter.jp