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

Avoid fatal error when use PSR 4 loading through ClassLoader #468

Closed
lgnap opened this issue May 18, 2016 · 3 comments
Closed

Avoid fatal error when use PSR 4 loading through ClassLoader #468

lgnap opened this issue May 18, 2016 · 3 comments
Milestone

Comments

@lgnap
Copy link

lgnap commented May 18, 2016

Hello,

The class loader integrated into code is a old version and support only PSR-0 and doesn't support PSR-4.
Indeed the ClassLoader (retrieved from composer) is now supporting PSR-4 loading and the version provided with this package not.

This is blocking PSR-4 loading with the following Fatal

Fatal error: Call to undefined method Composer\Autoload\ClassLoader::setPsr4()

In PHP, it's impossible to exchange a already loaded class with a newest version.

I 'll update the file and will do a merge request when I have this ticket id.

@angelleye
Copy link
Collaborator

Thanks, we'll get this tied into the 1.2.0 update that we'll be releasing soon. Appreciate the help!

kcppdevelopers added a commit that referenced this issue May 26, 2016
Provide a ClassLoader enabled to use PSR-4 loading (close #468)
@shippingmanager
Copy link

Hi Angelleye,

When will be the version 1.2.0 available ? We definitely need the fix ASAP because some clients have the issue and we 're dependent on you. We do really hope to get it for this week.

Thanks for your understanding ;)

@angelleye
Copy link
Collaborator

@shippingmanager The fix has already been merged into our release branch. We'll be releasing it soon, but if you want to grab it early you can download it here.

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

No branches or pull requests

2 participants