If you find that PHPStan reports different code on your machine and in continuous integration build system, here are the steps to follow to get rid of this problem.
If you feel like PHPStan could be faster when analysing your project, you can debug what’s actually making it slow. Usually the cause of slow analysis can be pinpointed to a single file or a handful of files in a project that make PHPStan’s analysis crawl to a halt.
This release has been in the works for a year. But it doesn’t mean there hasn’t been anything else released for a year.
PHPStan 1.10.60 introduces enhancements in handling parameters passed by reference. These parameters, besides typical returned values, also serve as a form of output that a called function can produce: