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

ViewHelperProviderInterface #3

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

ViewHelperProviderInterface #3

wants to merge 5 commits into from

Conversation

boesing
Copy link
Member

@boesing boesing commented Sep 9, 2019

I forgot to implement the ViewHelperProviderInterface in the initial release.

@boesing boesing requested a review from Xerkus September 9, 2019 17:38
@boesing boesing added the enhancement New feature or request label Sep 9, 2019
Copy link
Member

@michalbundyra michalbundyra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boesing Thanks for the PR! In general looks good, just not sure if it should be Feature or Hotfix. Please see my other small comments.

composer.json Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved

### Added

- Nothing.
- [#3](https://github.com/zendframework/zend-config-aggregator-modulemanager/pull/3) adds support for `ViewHelperProviderInterface`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if it should be considered as "new feature" or a bugfix.
Also description should be a bit extended, to describe what is the fix/feature.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it is a "new feature" as the view_helpers array key didnt exist in the first place.

It would be a bug if we say "we are handling every method in your module" but actually we just had the features provided by the current ConfigProvider.
I am not sure if its a bugfix as the package never said that it can parse the view_helpers config at all.

@@ -177,7 +179,7 @@ public function getHydratorConfig() : array
return $this->convert($this->module->getHydratorConfig());
}

public function getInputFilterConfig()
public function getInputFilterConfig() /* : array */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it help with anything now? Or it is just added because it was missed in that place as 'hard' RTH?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I obviously forgot to add this in the first release.
Therefore I thought adding that comment to remind me that I have to add it in the next major release (as its a bc in case of extending the ConfigProvider. Should have put a final on it since it should be never extended at all...)

@boesing boesing changed the base branch from master to develop September 17, 2019 08:21
@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-config-aggregator-modulemanager; a new issue has been opened at laminas/laminas-config-aggregator-modulemanager#1.

@weierophinney
Copy link
Member

This repository has been moved to laminas/laminas-config-aggregator-modulemanager. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:

  • Squash all commits in your branch (git rebase -i origin/{branch})
  • Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
  • Run the laminas/laminas-migration tool on the code.
  • Clone laminas/laminas-config-aggregator-modulemanager to another directory.
  • Copy the files from the second bullet point to the clone of laminas/laminas-config-aggregator-modulemanager.
  • In your clone of laminas/laminas-config-aggregator-modulemanager, commit the files, push to your fork, and open the new PR.
    We will be providing tooling via laminas/laminas-migration soon to help automate the process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants