Commit graph

69 commits

Author SHA1 Message Date
Kunal Mehta e99e181303 Add phan configuration
Depends-On: I09a0c0a786b687997e61344847f8af08b20cebf2
Change-Id: I9500232fb524e884d6cb15f2bdda10835df35ad4
2018-02-26 12:57:40 -08:00
libraryupgrader d61d7a1e80 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I68e12ea887aaf715ea97667525de9a583b709ede
2018-02-25 08:28:10 +00:00
libraryupgrader ffaf4364c5 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ia9bdc474d4ecb42fbe5f2b7bc877e61cd9bdeeff
2018-02-17 21:59:56 +00:00
Kunal Mehta 63cf890e51 Set phan-taint-check-plugin version in composer.json
We cannot set this in the normal "require-dev" because the plugin
depends on exactly PHP 7.0, preventing running tests on any other PHP
version.

Instead, CI will read the version number out of the "extra" field to
figure out what version to install.

Bug: T187497
Change-Id: Iff39081f8ea40d98fdf4853550052142f1cca8db
2018-02-16 13:40:44 -08:00
libraryupgrader d2b360f250 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ibf5453cc97cb6896247c52dff4e1dde7a40fa90c
2018-02-15 11:09:33 +00:00
libraryupgrader 570a7e9137 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MemberVarScope.Missing
* Squiz.Scope.MethodScope.Missing

Change-Id: I2d6f0152000954215ac4771bf94ef4acb5c3fc82
2017-12-30 00:32:33 +00:00
libraryupgrader eccabb23c1 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I62c92103a8d459411be34892c67a886c29aaf940
2017-12-10 07:32:24 +00:00
Kunal Mehta 6a56a9bfe9 build: Adding MinusX
Change-Id: Id198fd872f296ca04c9d38b79a252ac7f37493e9
2017-11-03 14:05:18 -07:00
libraryupgrader f4f8588e9d build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: If6d180c84a57cd61fc0f7c4d2a319bce70d9f8bd
2017-10-21 04:22:47 +00:00
libraryupgrader 969027392e build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I40598f8c34691bbe7b217aa38f24f150a210e2f3
2017-09-24 05:26:03 +00:00
libraryupgrader d3387520a9 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: I5e224d9dd6d1c2e9de1fd028f35cfd4d8c1c9482
2017-09-01 04:50:30 +00:00
Kunal Mehta def096e625 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I8f22c8871fb992cba132c63ea87c432b6f268ed9
2017-08-10 23:42:15 -04:00
Kunal Mehta fd09887a48 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I38ce5579c75d58f0ab1adfe3883732813fad938f
2017-07-23 00:23:06 -07:00
Kunal Mehta baefe16b43 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ice76436a81e608960fb80195f7d98bd313409c06
2017-07-01 01:24:46 -07:00
Kunal Mehta 837c8403fd build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.FunctionComment.Missing.Protected
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I38d7f39d2d00e8d26dad4c6281885b54203b23b7
2017-06-20 00:06:01 -07:00
Umherirrender f102194baf Add phpcs and make pass
Change-Id: I02b7f85f54ffaf8a1c9d5bed6fa20abb1627afe5
2017-05-31 16:36:45 +02:00
Antoine Musso a51aabd2ee build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00
Kunal Mehta e794e3e232 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: If38d84062257bc63120417711b376197e3634262
2016-01-05 10:35:01 -08:00
paladox 11a683dd07 Update Jenkins tests
Run jshint through npm instead.

Also add composer.json to run phplint and in future run the php code sniffer.

Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I1797ac2bce1936ed75da76618f28fc239b60001b
2015-11-19 15:19:35 +01:00