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.
‹ PHPStan 1.12: Road to PHPStan 2.0 Debugging PHPStan Performance: Identify Slow Files ›