Commit Graph
6 Commits
Author SHA1 Message Date
Paladox 125af37b05 Remove !defined( 'MEDIAWIKI' )
This may be causing a problem for the translate extension using
composer.json to run php code sniffer.

And not needed since we use extension.json if we use mediawiki 1.25+.

I traced back to the extension since translate extension in composer
requires this extension and seems to have that message.

Change-Id: I6c119c8f4744623e8756ce8da1869dfd66a3c026
2015-10-01 16:53:59 +01:00
paladoxandAntoine Musso 7e0fe37a06 Add php code sniffing
Shorten a commented out code to match the style.

Change-Id: I1cbe3513e9c7eaf5a852141b7775a4c78104eae5
2015-09-26 22:09:50 +02:00
paladoxandHashar e623702647 Add grunt-jscs
Change-Id: I0213d16e4e1dc3819ae0a663b896033ca572a37d
2015-09-23 09:40:45 +00:00
paladoxandHashar 9223417c9e Add composer test entry point and php parallel lint test
This is so the composer-test Job can be added in Jenkins:
 https://gerrit.wikimedia.org/r/#/c/239873/

Change-Id: I77163d2dc8f20f985fd55d59f2e9c5ffdb14a57e
2015-09-23 09:32:06 +00:00
paladoxandHashar ad82b64889 Update grunt-contrib-jshint to 0.11.3
Update to JSHint ~2.8.0.

Change-Id: Ia3d7f353754ed55fc709aeb73d529cb958a8be27
2015-09-21 20:23:31 +00:00
paladoxandHashar b436eab7af Add jshint to npm
Add jshint to gruntfile.js

Change-Id: I1b741215dd04db9dded330dbbd3ba901e20566d1
2015-09-21 07:58:17 +00:00