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
Psalm emits a 10Kb error message. While #7445 could be useful for more formatting, it would still be a 10Kb string to process.
It happens that for those shapes, there are already declared aliases: doctrine/dbal#5830 (comment) that would help reduce the error by more than half (and getting rid of irrelevant parts of the error). Ideally, we should be able to reapply those aliases to the error message.
Alternatively, if applying local aliases is a problem, we could propose a config with a simple search/replace string that we would process on every error message that would help user reduce known structure into recognizable aliases
The text was updated successfully, but these errors were encountered:
In the following comment:
doctrine/dbal#5830 (comment)
Psalm emits a 10Kb error message. While #7445 could be useful for more formatting, it would still be a 10Kb string to process.
It happens that for those shapes, there are already declared aliases: doctrine/dbal#5830 (comment) that would help reduce the error by more than half (and getting rid of irrelevant parts of the error). Ideally, we should be able to reapply those aliases to the error message.
Alternatively, if applying local aliases is a problem, we could propose a config with a simple search/replace string that we would process on every error message that would help user reduce known structure into recognizable aliases
The text was updated successfully, but these errors were encountered: