Valentin Udaltsov

Results 62 issues of Valentin Udaltsov

- [ ] serialization - [ ] JsonSerializable? - [ ] what if objectEncoder returns object?

### Symfony version(s) affected 7.1.4 ### Description In PHP 8.4 we'll have virtual properties and asymmetric visibility. PropertyInfo considers the following properties writable, although they are not: ```php final class...

Bug
Status: Needs Review
PropertyInfo

I have `"qossmic/deptrac": "^2.0.1"` in my dev requirements. Every time I use the `object` type, PhpStorm imports `DEPTRAC_INTERNAL\___PHPSTORM_HELPERS\object` first. This is extremely annoying. I understand that autocomplete is a PhpStorm...

### Feature request PHP 8.4 allows to omit the `new` expression parentheses ([RFC](https://wiki.php.net/rfc/new_without_parentheses)). Right now PHP CS Fixer has 2 rules dealing with parentheses: - [no_unneeded_control_parentheses](https://cs.symfony.com/doc/rules/control_structure/no_unneeded_control_parentheses.html) fixes statements, so it...

kind/feature request

Hi, thank you for the library. I use it in an AMPHP project with a custom transport leveraging https://amphp.org/http-client. I've noticed that in all transports the same Telegram-specific logic is...

See https://github.com/phpstan/phpstan/issues/12954

I would expect an error or `stdClass|(Iterator&Throwable)`, since `"and"` usually has higher precedence than `"or"`.

I have a phpdoc like this: `@phpstan-param ReadonlyMessageContext $parent`. I specifically wrote it for PHPStan. Now Psalm complains that this is an `InvalidDocblock`. Same for call-site variance. I thought that...

question

Add function to infer Parameter from native reflection in `constructors.php`: ```php function paramFromReflection(ReflectionParameter $reflection): Parameter {} ``` Don't forget about `isDefaultValueConstant`!