- Issue created by @longwave
- First commit to issue fork.
- 🇳🇱Netherlands bbrala Netherlands
Awesome! So exited you are fixing these so fast <3
- Checked if we managed to get all the
new FunctionExpression
calls, even if a different function was used. None were left. - Tests are green.
- Functionally this is precisely the same.
All good! RTBC from me.
- Checked if we managed to get all the
- 🇬🇧United Kingdom longwave UK
Should we use the ::class constant instead of string class names?
- 🇳🇱Netherlands bbrala Netherlands
Ow, yeah think you're right. If it doesn't mind we should indeed.
- 🇷🇸Serbia finnsky
Not sure. Probably some real PHP developer required here,
/** * @template TExtension of ExtensionInterface * * @param class-string<TExtension> $class * * @return TExtension */ public function getExtension(string $class): ExtensionInterface { return $this->extensionSet->getExtension($class); }
requires string as param.
- 🇳🇱Netherlands bbrala Netherlands
It shouldn't mind. I've seen problems with having a backslash or not. But that was while doing rector stuff. Rector is weird.
So make it a class string, that should be fine.
- 🇳🇱Netherlands bbrala Netherlands
I'll push the small chnage. I made them but didn't push.
- 🇳🇱Netherlands bbrala Netherlands
I applied your changes again and did a quick rebase because of external changes. If all is green i'll RTBC since my additions are really small :)
- First commit to issue fork.
- 🇬🇧United Kingdom longwave UK
Committed and pushed 4b7624537e to 11.x and 4a20137738 to 11.0.x and 7a6c0a55aa to 10.4.x and f38c94f9b6 to 10.3.x. Thanks!
-
longwave →
committed f38c94f9 on 10.3.x
Issue #3477373 by finnsky, bbrala, longwave: Fix "Not passing an...
-
longwave →
committed f38c94f9 on 10.3.x
-
longwave →
committed 7a6c0a55 on 10.4.x
Issue #3477373 by finnsky, bbrala, longwave: Fix "Not passing an...
-
longwave →
committed 7a6c0a55 on 10.4.x
-
longwave →
committed 4a201377 on 11.0.x
Issue #3477373 by finnsky, bbrala, longwave: Fix "Not passing an...
-
longwave →
committed 4a201377 on 11.0.x
-
longwave →
committed 4b762453 on 11.x
Issue #3477373 by finnsky, bbrala, longwave: Fix "Not passing an...
-
longwave →
committed 4b762453 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇩🇪Germany Hydra
Hm this breaks decorating the ComponentsTwigExtension service since another namespaced object gets registered as extension to twig. Any idea on how to get around this?
- 🇳🇱Netherlands bbrala Netherlands
This issue is pretty closed. Could you an new issue about this so we can investigate?