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

Use zend-stdlib for autoload config #7

Merged
merged 4 commits into from
Oct 13, 2015
Merged

Use zend-stdlib for autoload config #7

merged 4 commits into from
Oct 13, 2015

Conversation

geerteltink
Copy link
Member

As discussed here: zendframework/zend-expressive#150

It fixes auto loading configuration files. This happens when routes are split in different files.

I'm not sure if zend-stdlib should be made a dependency since it is already included in zend-expressive.

@Ocramius
Copy link
Member

@xtreamwayz looks good. @weierophinney do we have any plan on how to test this sort of stuff? I think the change here is subtle, but VERY important.

@Ocramius
Copy link
Member

@xtreamwayz the zendframework/zend-stdlib dependency should be included in this PR. Even though the dependency is inherited, we can't really rely on that.

@geerteltink
Copy link
Member Author

@Ocramius That's what I was thinking myself. I've added the dependency.

@@ -11,7 +11,8 @@
],
"require": {
"roave/security-advisories": "dev-master",
"zendframework/zend-expressive": "^0.5"
"zendframework/zend-expressive": "^0.5",
"zendframework/zend-stdlib": "^2.7"
Copy link
Member

Choose a reason for hiding this comment

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

Can rely on ~2.4 here, IMO.

Copy link
Member Author

Choose a reason for hiding this comment

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

Can change it if you want. I used the same version as in zend-expressive.

Copy link
Member

Choose a reason for hiding this comment

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

Use 2.7, as we don't need hydrators. ;-)
On Oct 11, 2015 2:54 PM, "Marco Pivetta" notifications@github.com wrote:

In composer.json
#7 (comment)
:

@@ -11,7 +11,8 @@
],
"require": {
"roave/security-advisories": "dev-master",

  •    "zendframework/zend-expressive": "^0.5"
    
  •    "zendframework/zend-expressive": "^0.5",
    
  •    "zendframework/zend-stdlib": "^2.7"
    

Can rely on ~2.4 here, IMO.


Reply to this email directly or view it on GitHub
https://github.com/zendframework/zend-expressive-skeleton/pull/7/files#r41714643
.

Copy link
Member

Choose a reason for hiding this comment

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

2.4 is the minimum supported version. By default composer will retireve the latest (2.7) so I don't see why bum the minimum so high.

@weierophinney weierophinney added this to the 0.5.2 milestone Oct 13, 2015
@weierophinney weierophinney self-assigned this Oct 13, 2015
@weierophinney weierophinney merged commit c103f53 into zendframework:master Oct 13, 2015
weierophinney added a commit that referenced this pull request Oct 13, 2015
Use zend-stdlib for autoload config
weierophinney added a commit that referenced this pull request Oct 13, 2015
weierophinney added a commit that referenced this pull request Oct 13, 2015
@geerteltink geerteltink deleted the hotfix/config-loader branch October 13, 2015 21:19
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.

4 participants