Commit graph

33 commits

Author SHA1 Message Date
libraryupgrader 8cac9f4aee build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: Ie7785a40557446e40db079b147610ba29b135ba4
2018-11-14 08:53:25 +00:00
jenkins-bot 1c67723bfe Merge "Make Cite pass phan-taint-check" 2018-09-13 03:04:20 +00:00
Brian Wolff 9ce0be6a78 Make Cite pass phan-taint-check
Because of how arrays are handled, phan-taint-check thought all
return values from refArg() were escaped, where really only $dir
was. We also split the error method into the parse and noparse
case as separate functions so that phan can better analyse these calls.
In linkRef() we suppress the double escaping as the escaping used
is appropriate for inserting into wikitext.

Bug: T195009
Change-Id: I3e04c8cceae727e5470d4ae4fdb2404639f9bf33
2018-09-13 01:10:59 +00:00
libraryupgrader cfb1858fa5 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ic0ee18f4f3dbf807483af5377b020f51f1484b86
2018-09-02 23:29:58 +00:00
libraryupgrader 19eb07b84d build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionAnnotations.UnrecognizedAnnotation

Change-Id: I97d67cdecbc4849a5d73a53852a9b8b4b6139d1c
2018-07-27 03:34:41 +00:00
libraryupgrader 19b7c6dced build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: Id67e06150da6ba5b470957b3d6dd1a974847be89
2018-06-08 06:54:15 +00:00
libraryupgrader ccc3bd2b60 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: Id797b943c9362b9a327d831284c22838d449d8c0
2018-05-26 01:25:02 +00:00
libraryupgrader 992c5898fe build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Idb97d720b19159bd1e1961c7ad838bf04c8e00f2
2018-04-13 22:53:31 +00:00
Kunal Mehta 80236cf804 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: Iee2afd2c42d68d938fdb5a4979a4ec235d2a3083
2018-04-05 20:34:14 +00:00
libraryupgrader 419aa5e201 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ie7f86c852539798a632aa2681da8c85710bb4959
2018-03-29 00:35:52 +00:00
libraryupgrader 9bf8f5c3f1 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I659abf8034e81a7f579ee36f2f5390b0e29568ca
2018-03-09 06:00:39 +00:00
libraryupgrader 8f5401bab2 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ia843b9df792aa9790eb91a1fed1114f2c03a7822
2018-02-25 07:00:04 +00:00
libraryupgrader b4a59a8b82 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ifb73948ae29037fa480f57e9f18339ca32f1231a
2018-02-17 19:24:59 +00:00
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