This is a clonable task for #google-code-in-2017
Phan is a PHP static analysis tool that can identify problems with code without actually executing it. We use it in MediaWiki core and a few other extensions, and I'd like to add it to more. The process is generally straightforward.
* Example patch to extension: https://gerrit.wikimedia.org/r/#/c/387958/
* Example patch to CI (Continuous Integration): https://gerrit.wikimedia.org/r/#/c/387960/
* Example patch to add any other MediaWiki extensions as a dependency (if necessary): https://gerrit.wikimedia.org/r/#/c/400173/
Please use the Gerrit topic of "phan" for your commits.
A more in-depth tutorial can be found at https://www.mediawiki.org/wiki/Continuous_integration/Tutorials/Add_phan_to_a_MediaWiki_extension
First we can start with the tarball bundled extensions and skins:
[x] Cite
[x] CiteThisPage
[ ] ConfirmEdit
[ ] Gadgets
[x] ImageMap
[x] InputBox
[x] Interwiki
[x] LocalisationUpdate
[x] Nuke
[x] ParserFunctions
[ ] PdfHandler
[ ] Poem
[ ] Renameuser
[ ] SpamBlacklist
[x] SyntaxHighlight_GeSHi
[x] TitleBlacklist
[x] WikiEditor
[ ] CologneBlue skin
[ ] MonoBook skin
[x] Modern skin
[x] Vector skin