Vincent Langlet

Results 103 issues of Vincent Langlet

The idea would be to introduce a rule similar to https://github.com/psalm/psalm-plugin-symfony/issues/158 in psalm. According to the psalm issue and the doctrine related issue https://github.com/doctrine/orm/issues/8113 there is a performance issue when...

Symfony provides a UniqueEntity annotation https://symfony.com/doc/current/reference/constraints/UniqueEntity.html The first arguments need to be entity fields, which will be use by a `findBy` call (by default). So a rule could be implemented,...

@dmaicher already did a good work for sonata-doctrine-extensions and DoctrineORMAdminBundle. Done: - sonata-doctrine-extensions - DoctrineORMAdminBundle - MediaBundle - SonataFormatterBundle I found this project with orm in the composer.json - Dev...

### Support Question `doctrine/orm` Querybuilder provide the `getDQLpart` and `resetDQLpart` functions. I found the `debug` function in the `mongodb-odm` ; in my use case, this could be use to get...

Idea

### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | yes | BC Break | no #### Summary I didn't found out...

### Bug Report | Q | A |------------ | ------ | BC Break | no | Version | x.y.z #### Summary `DependencyFactory::getEventDispatcher` is implemented this way: ``` return $this->getDependency(EventDispatcher::class, function...

This code is valid https://psalm.dev/r/e1d61bda01 But when I use `assertArrayHasKey` and `assertCount`, the offset are reported as possibly undefined. It would be great to tell psalm that ``` assertArrayHasKey work...

Hi, This PR is kinda similar to https://github.com/gocardless/gocardless-pro-php/pull/186 in the idea The issue I encountered is that the syntax ``` @property-read $foo ``` is not a valid one for lot...

Hi @barrucadu @Nimisoere @opsz2 @NickLewry `GoCardlessPro\Resources\Event` is not a valid phpdoc. It will be resolved to `GoCardlessPro\GoCardlessPro\Resources\Event` by php. `\GoCardlessPro\Resources\Event` or `Resources\Event` should be used instead. Closes https://github.com/gocardless/gocardless-pro-php/issues/170 Closes https://github.com/gocardless/gocardless-pro-php/pull/171

Hi, This PR is doing multiple fixes: 1) Both ``` array[string][mixed] string[mixed] ``` are not valid PHPdoc and it reports error when using an IDE or a static-analysis tool like...