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

Fix formElement's config #206

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

agopaul
Copy link

@agopaul agopaul commented Jul 22, 2019

This PR fixes the container configuration for TwbBundle\Form\View\Helper\TwbBundleFormElement and TwbBundle\View\Helper\Navigation.

From what I understand, aliases are processed before factories, so when merging the configuration of all ZF modules, the 'aliases/formElement' entry in zend-form takes precedence and the factory entry 'factories/formElement' is ignored.

In order to override the zend-form's element, we need to create an alias with that name.

See #203

agopaul and others added 3 commits July 22, 2019 16:42
From what I understand, aliases are processed before factories, so when
merging the configuration of all ZF modules, the 'aliases/formElement'
entry in zend-form takes precedence and the factory entry
'factories/formElement' is ignored.

In order to override the zend-form's element, we need to create an alias
with that name.
@ghost
Copy link

ghost commented Jan 27, 2020

DeepCode's analysis on #aa2530 found:

  • 0 critical issues. ⚠️ 0 warnings and 0 minor issues. ✔️ 0 issues were fixed.

💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues.


☺️ If you want to provide feedback on our bot, here is how to contact us.

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

Successfully merging this pull request may close these issues.

None yet

2 participants