Commit graph

68 commits

Author SHA1 Message Date
Kunal Mehta 47ebc8aee2 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: I80a5bb4968ab0ffe1134a8f82acea7f4b11b2745
2018-02-16 13:40:34 -08:00
libraryupgrader 08bfd32590 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ide145e5755e0bec11fe19c18889c92a0e9d78037
2018-02-15 09:34:50 +00:00
libraryupgrader 6034cda66c build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: If938f4bcdefa8c9a90a4e89b44173cf3f0ca676e
2017-12-29 23:41:27 +00:00
libraryupgrader df52cddb95 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I26c53adf93a2f555eb57fa706efd204fd1a51851
2017-12-10 02:31:54 +00:00
Umherirrender f72fde5c66 build: Always exclude node_modules
Change-Id: Ief66ac4a2419c4bc915174371a67a3b7191baf55
2017-11-11 18:14:22 +01:00
Kunal Mehta 8929d3c4bc build: Adding MinusX
Change-Id: Iec43c95823af79db5287435b327854a7c8041938
2017-11-02 18:35:24 -07:00
libraryupgrader c683a83c29 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I8c46c34b0282294e2f7c3669e4bb86fd9f47906e
2017-10-21 04:19:58 +00:00
libraryupgrader 8b439b582d build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I155f72352224f230e94950f149fba400f26cbe6c
2017-09-24 10:04:06 +00:00
libraryupgrader 61e4e142eb build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.MissingReturnType
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.OneClassPerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment

Change-Id: Id3af93f7485712b063b758cbd40752c1bfcb0b2e
2017-09-01 04:47:36 +00:00
Kunal Mehta cb2a80dab7 build: Update mediawiki/mediawiki-codesniffer to 0.11.1
Change-Id: Ie1307df0f85cf0ccb7ad24961df7b63005f9c745
2017-08-16 01:37:58 -07:00
Umherirrender c89fa1c58f build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I7c8dd29e9a683d932c93f1345d7e0c31e8695990
2017-07-26 21:03:44 +02:00
Umherirrender 1d60bc25d2 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I8d107ad6801fe1a5ce7b8feb8e1e730d504a2fb3
2017-07-08 16:04:35 +02:00
Antoine Musso 9a6ccb8f65 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:00 +02:00
Kunal Mehta ec4487b972 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: Ic4d9d9a19bc227fe3111785f97c89da85a108d79
2016-05-27 18:18:59 -07:00
Kunal Mehta 9ea898ba2a build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: Ibda3fd002c577c7f7c41920d67ec44fedbd27cb8
2016-05-09 16:41:17 -07:00
Kunal Mehta 71afb76d32 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I561943af2496600a7f4b9965dc89138d1f2d05b0
2016-01-05 10:33:14 -08:00
Paladox 30490fba52 Add php code sniffer
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +00:00
Paladox 4307f1ec19 Add some Jenkins tests
Add support for composer phplint and npm jshint, jsonlint
and banana-checker.

Change-Id: If509fdb96f35cdd252b6c53ece8a568b4a614926
2015-10-14 11:52:19 +01:00