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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.xmlconfig 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
.xmlas a config format (if it was for instance.phpit 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