https://bugzilla.wikimedia.org/show_bug.cgi?id=35588
Web browser: ---
Bug #: 35588
Summary: Jenkins job: PHP code style analyzer
Product: Wikimedia
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Testing Infrastructure
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
This bug is about analyzing PHP file coding style. This might just be a weekly
job or run on every change.
As a first step, we could use our homegrown style checker
We already have trunk/tools/code-utils/check-vars.php
It will does the job.
On a long term we want to migrate to PHP CodeSniffer which comes with a nice
reporting and a nice interface to build syntax check upon. Jenkins already has
a plugin to interface with CodeSniffer making integration of PHP style check
easier.
A basic MediaWiki syntax is available at
https://github.com/hashar/PHP_CodeSniffer
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l