Vincent Langlet
Vincent Langlet
Hi @kerattila, We does not support any object as category, but only `CategoryInterface`. So the phpdoc is true. > I would say that we can try removing the annotation for...
Does updating the phpdoc to ``` @var object @phpstan-var CategoryInterface ``` solve your issue @kerattila ?
> Any chance the issue to be fixed with the next release? Open source is easy. If you want something to be fixed, fix it ;) I didn't even got...
> We are also facing this issue currently. > > > > We have created our own stub for Doctrine's Result class. now [phpstan/phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine) also starting providing it's own Result...
> Fixed in upstream Is there something to fix on PHPStan @ondrejmirtes or should this issue be closed then ?
> Fun fact: If I flip the if/else condition, the code passes, although both versions should be equivalent. Is there any drawback to flip the if/else in the ORM code...
> In the ORM's CI, we perform multiple PHPStan runs with different sets of dependencies. This means that in our case, both branches of the if/else block are covered in...
Hi ! Do you want to provide a PR ?
> Could do, its not very nice code, pretty sure I've stripped out necessary things :/ Sure, a PR with You can change ``` {{ admin.isChild and admin.parent.subject ? 'title_edit'|trans({'%name%':...
The implementation of the Serializer is pretty easy https://github.com/symfony/symfony/compare/5.4...VincentLanglet:symfony:amazonSerializer?expand=1 But the issue is the fact the defaultSerializer is injected by this config https://github.com/symfony/symfony/blob/9c9d571bc6b7616591d27483f1855c28a8242b98/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php#L1545-L1551 https://github.com/symfony/symfony/blob/9c9d571bc6b7616591d27483f1855c28a8242b98/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L2157 https://github.com/symfony/symfony/blob/9c9d571bc6b7616591d27483f1855c28a8242b98/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L2184-L2191 And I'm not sure what...