Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSR-4 Autoloading from composer.phar #16

Merged
merged 1 commit into from
Oct 1, 2015
Merged

Conversation

aashley
Copy link

@aashley aashley commented Sep 24, 2015

This is not a great patch, I don't know why it wasn't done this way originally but it does fix the issues with the PSR-4 dependencies as mentioned in #15 and phiamo/MopaBootstrapBundle#1112

I've only used this with the MopaBootstrap Commands so far so no idea what other knock on effects it might have.

@phiamo
Copy link
Owner

phiamo commented Sep 24, 2015

I think PSR-4 wasnt there when this was built, will this be a bc break in anyway or work with any recent composer?

@aashley
Copy link
Author

aashley commented Sep 24, 2015

This should work with any composer.phar, it certainly has with all I've tried includes several from the last 6 months. Definitely works with versions before and after the change that broke stuff.

Where I'm not sure is the pervious version didn't include all of the autoloader and I'm not sure if that was deliberate and if this version loading the entire autoloader might cause other issues on the mopa side.

@phiamo
Copy link
Owner

phiamo commented Sep 24, 2015

it shouldn't but i need some time to check this ... await merge at latest start of next week

@phiamo phiamo merged commit aacc279 into phiamo:master Oct 1, 2015
@phiamo
Copy link
Owner

phiamo commented Oct 1, 2015

@aashley thanks a lot!

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

Successfully merging this pull request may close these issues.

None yet

2 participants