Bug report
It appears PHPStan does not understand the assignment by reference of some PHP native functions like proc_open.
It might be loosely related to #11777.
Code snippet that reproduces the problem
https://phpstan.org/r/dc1d4f91-b22d-4eaa-b796-34a353062477
Expected output
No errors.
Did PHPStan help you today? Did it make you happy in any way?
Upgrade to PHPStan2 was easy :D
Bug report
It appears PHPStan does not understand the assignment by reference of some PHP native functions like
proc_open.It might be loosely related to #11777.
Code snippet that reproduces the problem
https://phpstan.org/r/dc1d4f91-b22d-4eaa-b796-34a353062477
Expected output
No errors.
Did PHPStan help you today? Did it make you happy in any way?
Upgrade to PHPStan2 was easy :D