Commit graph

34 commits

Author SHA1 Message Date
MarcoAurelio
664fbbfce9 build: Updated composer dependencies
Change-Id: Ia95b81e3f5639324cd5ee1d038b77be75d49d28c
2019-07-12 15:47:07 +00:00
James D. Forrester
147550142d build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Add `@param-taint $contents escapes_htmlnoent` annotation to
MonoBookTemplate::getBox(). The method will escape the $contents
parameter if it's an array, but it will not if it's a string; Phan
can't distinguish the types, and assumes it always escapes. Use
escapes_htmlnoent to suppress warnings about double-escaped output.

Change-Id: Id8ef73f2efbe8d4d5510917d55dbac4e41b2b3a1
2019-07-10 17:12:44 +02:00
MarcoAurelio
d9a330bbae build: Update some composer dependencies
Change-Id: Ib12ae38630698830c1f45f15f3bc49a0204c5f76
2019-06-16 11:13:28 +00:00
libraryupgrader
d79dc21f3c build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Iad6356522cfc4d1980005364d5e5ae919fdc3477
2019-06-10 04:40:15 +00:00
libraryupgrader
a243d77ce6 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Change-Id: I4155fcb3fe280d4f5d46080b9dafd836d9683512
2019-06-07 15:54:14 +00:00
James D. Forrester
f8b08d09d3 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ic32748529c65b8e75fbb93cd88c0fd70edaeaf6d
2019-05-19 18:59:48 +00:00
Kunal Mehta
1c67fac1b4 Upgrade to newer phan
Change-Id: Idb1940b42d85afb80422c4f10a50942464c3afba
2019-03-20 19:43:14 -07:00
libraryupgrader
3639907690 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Icb4a1b18db31acfbbeaa24364ac3e230a0e63851
2019-02-06 08:07:00 +00:00
libraryupgrader
e7d7d0ef20 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I821fdc01cd3a45519fefa9f00171d9df25b894c9
2018-11-14 05:59:39 +00:00
Kunal Mehta
1cb028d6e4 Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Change-Id: I643184a08415be12d2552e5c4afd97e06b8458d8
2018-09-04 20:37:02 -07:00
libraryupgrader
3b0df445a9 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I77863b159949de61eb2247e578e545dd9a20ba15
2018-09-02 21:55:44 +00:00
libraryupgrader
ffc76fa61f build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I94df905a7dd4106fc9ada5c8a7f813606d6d0a0d
2018-07-27 00:04:14 +00:00
libraryupgrader
d994eb5faf build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: Iccb4d16eb28071892371f8a3580e61af28937ebd
2018-06-08 06:30:38 +00:00
libraryupgrader
f6e2ca1230 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I89affcb0204f822385bac607c7c36e75a88bfda5
2018-05-25 23:18:21 +00:00
Kunal Mehta
38552d0cce Configure phan
Change-Id: I0267146eea98ee8219c2a0c59992f0e5abe17309
2018-05-06 21:07:04 -07:00
libraryupgrader
f061c9e078 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic

Depends-On: I74374c49407dcb789ef8a9219158a9a773c09d81
Change-Id: I467662e17ee381fd433f548f21ddf651ae632d61
2018-04-13 19:56:20 +00:00
libraryupgrader
61426c13ad build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ic4db7a090578ee3a894b74e66284902db55ff724
2018-03-28 18:31:19 +00:00
libraryupgrader
fb35e5ac02 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I4ac4e9b19908e27ab2d830aea91639e25972482e
2018-03-09 02:41:39 +00:00
libraryupgrader
801064d1ee build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I4a0d56b96e4b3bf5518203484874feb98cf60b29
2018-02-25 05:34:43 +00:00
Umherirrender
150645e778 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I62c219a9d7129b6cabe6f53a4461cfbaff9294b2
2018-02-22 20:19:25 +01:00
libraryupgrader
8c023efaea build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I073add3aaf92f007d737aab9b81c1b399a5a00f4
2018-02-15 06:41:49 +00:00
libraryupgrader
c01f82b36e build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: Ibd703acd59aede18b0f11f81173343f488e6ceb6
2017-12-29 22:37:31 +00:00
Rafid Aslam
b159861383 Add minus-x to "composer test"
Add minus-x to "composer test" and "composer fix"

Bug: T175794
Change-Id: Ie987caacda887a862022632ecce3f5db4db8c9aa
2017-12-19 22:12:28 +07:00
libraryupgrader
b5d1ffd64e build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I7f304227c0954e603b6c4958c76de4b9a381cc05
2017-10-21 03:00:15 +00:00
libraryupgrader
9bd2e896c3 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I16b59b63f5076f3ba0cc2bfc8953a9cd7488768a
2017-09-24 03:51:24 +00:00
libraryupgrader
c51dfa2872 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: Id9ed22e3d5758f6e7277d79d1218add487a77064
2017-09-01 05:01:16 +00:00
Kunal Mehta
2bb6b36db1 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I077fa6e2c9c1f242ac1fe4a182aa5f776caa0e30
2017-08-14 22:56:17 -07:00
Umherirrender
d845e8a424 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ie72e50522e6b12f503696b791b94bb4fabfccfa9
2017-07-24 18:54:49 +02:00
Umherirrender
0687ef3e22 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Idb7fb3f888bd08d365c8e15bb896704690d489af
2017-07-07 21:25:08 +02:00
Umherirrender
6a49b493ee build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: Ib3820f0aff53b881d17ccd4997bcc1bef0ae11da
2017-06-23 22:05:30 +02:00
Umherirrender
95e869bed0 Add phpcs and make pass
Change-Id: I9f48310a405844c61aa6619e6fc28cf3bcbb9619
2017-05-16 18:53:26 +02:00
Antoine Musso
3c3fa08376 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 22:17:04 +02:00
Umherirrender
e7f63725f7 Use tabs in json
Change-Id: Icc34ed7743b59520b4c346ae124c08f83d8662b2
2017-03-25 12:32:12 +01:00
Antoine Musso
3ee26c4f98 composer test entry point
composer.json is no more ignored by git.
Just run php lint for now.

Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 22:34:43 +01:00