This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Make include_path functionality of Config and Translator opt-in #4766
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merge branch 'hotfix/4438' of git://github.com/leodido/zf2 into leodido-hotfix/4438
Merge branch 'leodido-hotfix/4438' into develop
* added better testing for DbTableGateway paginator
Merge branch 'fmarquis-master' into develop
Merge branch 'YannickDa-SqlSetTable' into develop
Merge branch 'AgentCoop-develop' into develop
2.2.0rc3 readiness
Back to dev version Conflicts: README.md library/Zend/Version/Version.php
2.2.0 readiness Conflicts: README.md library/Zend/Version/Version.php
Conflicts: README.md library/Zend/Version/Version.php
Forward port zendframework#4746 Conflicts: composer.json
Hydrator aware trait
getValue() for MonthSelect, DateSelect and DateTimeSelect Form Elements
- Added `setUseIncludePath()` call to translator adapters - added flag, Factory::USE_INCLUDE_PATH, as second argument to config factory
- You must pass the `$useIncludePath` to either `fromFile()` or `fromFiles()` for it to be used. Constants were created with boolean values for those using IDEs.
- Created AbstractFileLoader, which provides implementation details for when/how to use the include_path to load translation file assets. - Updated INI, gettext, and PHP loaders to extend AbstractFileLoader.
- Added to translator loader plugin manager
Made this against the wrong branch; closing. |
Changes Unknown when pulling 5a3d9e7 on weierophinney:hotfix/4766 into * on zendframework:master*. |
weierophinney
added a commit
to zendframework/zend-config
that referenced
this pull request
May 15, 2015
…s opt-in - Added `setUseIncludePath()` call to translator adapters - added flag, Factory::USE_INCLUDE_PATH, as second argument to config factory
weierophinney
added a commit
to zendframework/zend-config
that referenced
this pull request
May 15, 2015
…t-in only - You must pass the `$useIncludePath` to either `fromFile()` or `fromFiles()` for it to be used. Constants were created with boolean values for those using IDEs.
weierophinney
added a commit
to zendframework/zend-i18n
that referenced
this pull request
May 15, 2015
…s opt-in - Added `setUseIncludePath()` call to translator adapters - added flag, Factory::USE_INCLUDE_PATH, as second argument to config factory
weierophinney
added a commit
to zendframework/zend-i18n
that referenced
this pull request
May 15, 2015
… in Translators - Created AbstractFileLoader, which provides implementation details for when/how to use the include_path to load translation file assets. - Updated INI, gettext, and PHP loaders to extend AbstractFileLoader.
weierophinney
added a commit
to zendframework/zend-i18n
that referenced
this pull request
May 15, 2015
…include_path flag - Added to translator loader plugin manager
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#4443 and #4574 both introduce features that use PHP's
include_path
to identify application assets. While the functionality has reasonable use cases, as implemented, it introduces some performance impact, as the components look on theinclude_path
for each and every file. Additionally, if.
is not on theinclude_path
, files that resolve from the current working directory will not resolve.