-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Interface 'Localheinz\Json\Normalizer\NormalizerInterface' not found exception #68
Comments
Thank you for your report! I have tried to reproduce the issue, and after deleting my global composer files with
I ran the following steps
That is, I have been unable to reproduce the issue. Can you try again, or maybe also share the output of
? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
For reference, @WyriHaximus reported the same issue. See |
I have now the same issue in my Travis build: https://travis-ci.org/phpstan/phpstan/jobs/412048416 |
Taking a look! |
I have been able to reproduce the issue, running
yields
Basically, after installing, every |
It appears that this is an issue with |
|
Possibly fixed by composer/composer@a74b639. |
After taking a look at this PR, it seems that the latest Composer version has this issue. |
I am running into the same issue after upgrading from Composer 1.6.5 to 1.7.0. Unfortunately I had to manually remove this package in order to get Composer working again. |
This is an issue in As a workaround, follow @Seldaek's suggestion at composer/composer#7516 (comment):
|
Can confirm that hat fix works 👍 |
Great to hear! For reference, also see ergebnis/test-util#94. |
@localheinz yeah not really keen on updating all my packages temporary, I'll wait @Seldaek releases the next composer version with this fix in it. |
Yes, every I apologize for any inconvenience! |
https://github.com/composer/composer/releases/tag/1.7.1 is out now with the fix |
Thank you, @Seldaek! |
Can confirm that the upgrade to Composer 1.7.1 fixed the issue. Thank you @Seldaek and @localheinz for your work! 👍 |
You are welcome! Apologies again for any troubles. |
Can also confirm that this fixes the issues. Thank you @localheinz and @Seldaek 👍 |
Thanks everyone 😊 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing! |
Steps required to reproduce the problem
composer global require localheinz/composer-normalize
composer update
Expected Result
Actual Result
Fatal error: Interface 'Localheinz\Json\Normalizer\NormalizerInterface' not found in /Users/user/.composer/vendor/localheinz/composer-normalize/src/Normalizer/ComposerJsonNormalizer.php on line 20
The text was updated successfully, but these errors were encountered: