Commit graph

6 commits

Author SHA1 Message Date
Paladox c9e664ca99 Make it easer to debug php code sniffer, Update mediawiki/mediawiki-codesniffer to 0.4.0
Change-Id: I28a0aa347c43811e54afd901d8059e93b00208a2
2015-09-29 21:33:17 +00:00
Timo Tijhof eb6d66a22d build: Move config to phpcs.xml and require php 5.3.3
* Reformat without all the spurious spaces.
* Update php requirement to 5.3.3 to match MediaWiki core and
  other Wikimedia libraries.
* Update php-parallel-lint to v0.9.
* Move phpcs config to a separate file.

Change-Id: I30895c87dd082dfae0a1b95237d5619ae89fa6fe
2015-07-06 13:30:47 +01:00
paladox 045ca339a5 Update mediawiki codesniffer to 0.3.0
Change-Id: If0ce45250a5954a1db6cccfe93b4455de840ef5e
2015-06-26 22:04:39 +00:00
Vivek Ghaisas 28c2e986ae Don't autoload Vector.php using composer.json
As per T467, the RfC for extension management with composer has been
declined. Hence, we can get rid of Vector.php from composer.json, thus
also solving the issue of `composer test` die()ing because it loads
Vector.php and wfLoadSkin is not found.

Any users who are currently installing the skin via composer will need
to add "wfLoadSkin( 'Vector' )" to their LocalSettings.php.

Bug: T103800
Change-Id: Icd8acc34f52be9c3c0f564744d2eb2aae7f34398
2015-06-25 21:19:09 +00:00
Vivek Ghaisas e0289b7d0c Run phplint and phpcs through "composer test" entry point
Also fixed files to match coding standards. (Checked against
tools/codesniffer v0.2.0)

Bug: T90943
Change-Id: I38dcb7a5389cf6986dc1247b9291bfb1ad3fca7d
2015-06-09 16:37:14 +03:00
mwjames 8084362545 Add composer.json
To prepare for the usage of `composer require mediawiki/vector-skin`

Change-Id: I7fbdfcf03de9cb26f97687958d590bbb6fe9b38b
2014-08-28 04:06:03 +09:00