Testing: Difference between revisions

add notice about parameter-functions.py
Line 49: Line 49:
return $cfg;
return $cfg;
</syntaxhighlight>The reason the normal pattern is to include directories and exclude those same directories is that you include 'dependencies' for class definitions etc. (symbol discovery), but do not warn about issues outside the limits of your own MyExtension extension.
</syntaxhighlight>The reason the normal pattern is to include directories and exclude those same directories is that you include 'dependencies' for class definitions etc. (symbol discovery), but do not warn about issues outside the limits of your own MyExtension extension.
{{Ambox|
|text=If your Extension '''does''' have dependencies on other extensions, '''and''' you are hosting your code in gerrit for automated CI checks and fixes (you should), you must create an entry in the so-called [https://gerrit.wikimedia.org/r/plugins/gitiles/integration/config/+/refs/heads/master/zuul/parameter_functions.py#558 parameter-functions.py] to declare those dependencies.}}


==== MediaWiki Phan Config ====
==== MediaWiki Phan Config ====
Line 106: Line 109:
===Psalm===
===Psalm===
https://psalm.dev/
https://psalm.dev/
<references />


[[Category:Wiki]]
[[Category:Wiki]]
Line 115: Line 128:
[[Category:Tools]]
[[Category:Tools]]
[[Category:Continuous Integration]]
[[Category:Continuous Integration]]
<references />