Valentin Udaltsov
Valentin Udaltsov
> The simplest case like `$foo = new class();` could be treated in a special way (at least optionally) - wrapping that is usually redundant. It is already (kind of)...
Also related to #54180.
> > Symfony should probably reconsider it's PHP constraints. > > No. The problem is that a user with PHP 8.4 can install PropertyInfo or other downstream libraries without any...
> PR welcome, I suppose. Let's wait a little bit. `ReflectionProperty::isReadable()/isWritable()` methods might be introduced in PHP 8.4 if approved by RMs, see https://externals.io/message/125772#125795. Theses methods will solve the issue...
@iluuu1994 , however PHP does check `int&float`, for example. Is it difficult to check this as well?
> Both PHPStan and Psalm read each other's phpdoc tags, but each prefers its own. Ok, thank you! Got the idea. > Add a `@psalm-param` with a syntax Psalm understand,...
Probably the problem here is that Psalm does not understand this phpdoc at a parsing level.