-
-
Notifications
You must be signed in to change notification settings - Fork 946
Description
Bug report
I have been preparing phpoffice/phpspreadsheet to migrate to Phpstan V2. I have turned on bleeding edge in V1, and fixed almost all the new problems that it reports. I am close enough that I prepared a new package, upgraded phpstan and phpstan-phpunit to V2, added phpstan-deprecation-rules, and removed bleedingEdge from phpstan.neon.dist. V1 typically analyzes the project in 2-5 minutes. V2, operating in exactly the same environment as V1, issues "Note: using configuration file ...", and then, without exception, sends nothing to the terminal for upwards of half an hour. It eventually starts working and completes, but this time lag makes it too impractical to use. This happens on two different computers (both using Php 8.3), on several different days and times. Removing the deprecation rules doesn't seem to affect this. Is there any information I can gather for you to look at? (I have xdebug but have never been able to get a usable profile from it.) Or do you have any suggestions for, say, configuration options that might help get me over this hump? I am not including a snippet with this report; this is a performance issue, not a bug in any particular output.
Code snippet that reproduces the problem
No response
Expected output
No snippet. I expect V2 to run in about the same time as V1.
Did PHPStan help you today? Did it make you happy in any way?
It is always a tremendous help to me.