You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Thank you for creating the stubs available in a single file. I checked it out and can bring some more input to improve the situation.
The ideal scenario for the phpstan is to have multiple stub files. It's not like I thought it would be best for the DX to have a single file. For some reason, phpstan is unable to process them all and it's getting stuck often using a tremendous amount of memory.
I would like to propose a couple of changes.
Keep all the stubs per class/interface stub file
Pack all the stub files as zip and keep them in release artefacts
Add documentation that would help use the stubs. That is
Describe the feature you'd like
This issue relates to #2931
Hello! Thank you for creating the stubs available in a single file. I checked it out and can bring some more input to improve the situation.
The ideal scenario for the phpstan is to have multiple stub files. It's not like I thought it would be best for the DX to have a single file. For some reason, phpstan is unable to process them all and it's getting stuck often using a tremendous amount of memory.
I would like to propose a couple of changes.
I believe a great example could the the phpstan symfony extension (https://github.com/phpstan/phpstan-symfony/tree/2.0.x/stubs)
Is your feature request related to a problem?
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: