-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
2.6.0 calls setDeprecated with incorrect parameters for Symfony 4.4 #38
Comments
When I looked up the deprecation feature, I looked in the Symfony 6.x docs instead of the 4.x docs 🙈, thank you for spotting the mistake early on! Release 2.6.1 should include the fix - I also added a 2.x branch and tests running on GitHub actions to (hopefully 🤞) avoid mistakes like these in the future. Thanks again! 🌺 |
Thanks for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
In a local project I have 2.6.0 installed combined with symfony/symfony 4.4.35. It apparently makes an incorrect call to
Alias->setDeprecated()
(it takes 2 parameters, but 3 are provided with the template being the last one).See run of cache:clear below.
Environment
php -v
): 7.4.22composer show | grep kreait
):kreait/clock 1.1.0 A PHP 7.0 compatible clock abstraction
kreait/firebase-bundle 2.6.0 Symfony Bundle for the Firebase Admin SDK
kreait/firebase-php 5.25.0 Firebase Admin SDK
kreait/firebase-tokens 1.16.1 A library to work with Firebase tokens
Details
Code to reproduce issue
N/A. AFAICS this should happen in all Symfony 4.4 projects.
The text was updated successfully, but these errors were encountered: