Commit graph

70 commits

Author SHA1 Message Date
Kunal Mehta a20c4b20da 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: I2e9c1c24e3a78132e71dabd045d7e1a509c3efa5
2018-02-16 13:40:15 -08:00
Kunal Mehta a068a3a379 Migrate to mediawiki-phan-config
Change-Id: I463500bf14e15a9127d02d5d7104ea4571dc9a30
2018-02-15 12:38:56 -08:00
libraryupgrader 0695918d6d build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I3de8920b2dc503378da63b14180caca14e1932b2
2018-02-15 09:10:31 +00:00
libraryupgrader 1ca3dd57be build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: I11e6d584932dbde52fc5e5d463029270976a47df
2017-12-29 23:28:16 +00:00
libraryupgrader 926b505e3e build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I8e2716689d1b865106d898efd23cbdd42b4a7ddc
2017-12-10 02:30:08 +00:00
Kunal Mehta 7fcb6023c6 build: Adding MinusX
Change-Id: I377f76c5c5aaadcaa66d37c3581bf9872cabe752
2017-11-02 18:27:49 -07:00
libraryupgrader dfae87234d build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I257cc4b0f62f96583cb822aac772600d40182af3
2017-10-21 04:18:33 +00:00
libraryupgrader 1f80983036 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I24d08b59607bc2db8729961b708ba1de77ba4dcb
2017-09-24 05:21:03 +00:00
libraryupgrader 7b9aeb77be build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: I5d41868359d6234f99029d01a6fb9f166a3789fe
2017-09-01 04:45:59 +00:00
Kunal Mehta 2b351f4642 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: Ia121c1a8afd38ccc236fbedca24fbcbea3881d9c
2017-08-10 23:09:29 -04:00
Kunal Mehta b46b060f2f build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Icc6b4568557583a62a630bd1d5a889fc3cad77bc
2017-07-23 00:10:18 -07:00
Kunal Mehta 045d902810 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ie4e1c359efa0e19f1c0ec6f471e4f9a9b68247b5
2017-07-01 00:55:29 -07:00
Kunal Mehta 635ee1cce0 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.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I5a7f01d6d5d8b56583940524b251d4de1ca09f5e
2017-06-19 19:32:30 -07:00
Antoine Musso 0f7432a72b 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 3663e0f88f build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I8d516bb890d1aa851dd3f2ec087902806586bbab
2016-05-27 18:18:03 -07:00
Kunal Mehta 4bbd227702 build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: I3cdaa7aac81fc3f9b3e284b049a2dd07b1abf0f3
2016-05-09 16:36:49 -07:00
Kunal Mehta d233a8811e build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I1d0187333bdb72adec7ab3f434090660e3837c6f
2016-01-05 10:32:19 -08:00
Kunal Mehta f523d48edd build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I698cedf81bfbd282176b765b170f969d4a5b956c
2016-01-03 18:46:02 -08:00
Paladox 669d19c916 Add php code sniffer
Change-Id: Icd5e488f6d7009e1ed7a901298cd35c70c683f13
2015-12-16 13:11:00 +00:00
Antoine Musso 21d85fcf66 composer test entry point
Just run php lint for now.

Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 22:15:36 +01:00