You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vudaltsov
changed the title
self_accessor should not replace self in bound closures
self_accessor should correctly replace self in bound closures
Jul 18, 2023
Bug report
Currently PHP-CS-Fixer always replaces class with self, even in \Clos
Description
Consider code:
Here we should not replace
A::class
withself::class
, because within bound closureself
isB
, notA
.https://3v4l.org/38GQA
The text was updated successfully, but these errors were encountered: