-
Notifications
You must be signed in to change notification settings - Fork 221
Fix Deprecation warning for PHP 8.2 #1126
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
Conversation
Hey @aviator-ua |
@@ -52,6 +53,10 @@ public function __invoke(Request $request, string $token): Response | |||
$this->profiler->disable(); | |||
|
|||
$profile = $this->profiler->loadProfile($token); | |||
// Type hint as int for the $limit argument of the find method was updated in Symfony 5.4.22 and 6.2.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @aviator-ua.
Just add a @phpstan-ignore-line
above line 57 and we can merge.
Thanks!
Thx @aviator-ua! |
@Vincz Will you create a tag? Or I should use |
Hi @aviator-ua & @Vincz! It looks like we need this fix in the stable branches 0.13 / 0.14, as well as 1.0. Could the project README be outdated? It says 1.0 is a dev branch, does not mention 0.15, and says 0.13 / 0.14 are stable branches. But I notice 0.15 got this fix while 0.13 / 0.14 didn't. |
The fix for 0.14 is done, @Vincz could you have a look, please? |
Fix Deprecation warnings for PHP 8.2