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

Remove double dots from cache path without keys#6552

Closed
gabrielsch wants to merge 5 commits intozendframework:masterfrom
gabrielsch:feature/module-listener-cache-path
Closed

Remove double dots from cache path without keys#6552
gabrielsch wants to merge 5 commits intozendframework:masterfrom
gabrielsch:feature/module-listener-cache-path

Conversation

@gabrielsch
Copy link
Contributor

This PR is a continuation of #5165 from @juriansluiman that was closed by the lack of tests.

I only have added tests cases to this feature.

weierophinney and others added 5 commits August 7, 2014 15:22
we only care that the name has a position, not what is is, so don't waste resources looking it up
isset will return false if value is null which is not what we want. `array_key_exists` will still be faster than `array_search`
When no key is specified, do not concat the string with two dots
as it results in a double dotted file path for both cache files.
@Ocramius Ocramius self-assigned this Aug 10, 2014
@Ocramius Ocramius added this to the 2.4.0 milestone Aug 10, 2014
@Ocramius
Copy link
Member

Marking for 2.4 as this PR actually changes the cached config file path, which may be a problem in deployments happening towards 2.3.2

@Ocramius
Copy link
Member

Manually merged in develop at eeb571e

Thanks @gabrielsch!

@Ocramius Ocramius closed this Nov 22, 2014
@gabrielsch gabrielsch deleted the feature/module-listener-cache-path branch April 15, 2015 01:18
gianarb pushed a commit to zendframework/zend-modulemanager that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-modulemanager that referenced this pull request May 15, 2015
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.

3 participants