Replies: 1 comment
-
Psalm supports XInclude in its configs. See https://psalm.dev/docs/running_psalm/configuration/. That probably won't help with root tag attributes though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have many (like > 50) local php projects, each of which uses psalm for static analysis.
It is annoying and error prone to go and change
psalm.xml
config contents every time I figure out some new parameter need to be added, or changed.Question: how everybody handles it?
From what I found there is no really a way to inherit psalm configs. And psalm only accepts
.xml
as a config format (if it was for instance.php
it would be possible to have a shared package with config and just include it everywhere).It feels like I need to implement a plugin that changes the configuration in runtime?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions