Closed dinfinity closed 2 years ago
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!
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 tokensDetails
Code to reproduce issue
N/A. AFAICS this should happen in all Symfony 4.4 projects.