Commit graph

52 commits

Author SHA1 Message Date
libraryupgrader ae5b74e78a build: Updating npm dependencies
* @storybook/html: 6.2.9 → 6.5.4
* bundlesize: 0.18.0 → 0.18.1
* jquery: 3.4.1 → 3.6.0
* jsdoc: 3.6.3 → 3.6.10
* webpack-cli: 3.1.2 → 3.3.12
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 8.4.0 → 8.4.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.20 → 3.1.20
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* prismjs: 1.27.0 → 1.28.0
  * https://github.com/advisories/GHSA-3949-f494-cm99
* refractor: 3.5.0 → 3.6.0
  * https://github.com/advisories/GHSA-3949-f494-cm99

Additional changes:
* Set `name` in package.json.
* Also sorted "composer fix" command to run phpcbf last.
* Added the "composer phan" command to conveniently run phan.
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I21f4c1bf305ef85028d9f7f0c74eca5dce98124b
2022-05-23 19:58:59 +00:00
Umherirrender 835f887c9f build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Iaa36ad93370bd67cbb6daa5bfc828bfc4893cd78
2021-11-13 18:33:32 +01:00
Umherirrender 64c6357ec2 build: Updating mediawiki/mediawiki-phan-config to 0.11.0
Change-Id: I543020a6acca80e01f8ca94a049af11eeb931fbc
2021-09-11 16:03:55 +02:00
Umherirrender f7decec6de build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: Ia585f09b4965319ae62f2d79bab878ce318393dd
2021-09-04 14:24:04 +00:00
Umherirrender 0f087ce5e9 build: Updating composer dependencies
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.3.0
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

Libup is broken on the build steps due to different node versions

Change-Id: I28aefe77365b9812f9cc0f9e5177f45e9f5c2cc2
2021-05-19 19:38:42 +02:00
Umherirrender eaaf560d99 build: Updating mediawiki/mediawiki-codesniffer to 35.0.0
Change-Id: Ib411b8fbec93f469e4f4812f60f8349207744ecd
2021-02-26 23:42:29 +01:00
Umherirrender 153e604601 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: Ib659ba0573b056b5686ba51a035a76444a7dd389
2020-12-30 06:20:11 +01:00
Umherirrender da8f2435c4 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: Ia80b36938fc325c454d241662930c0d145f45ad0
2020-12-13 16:12:07 +01:00
Umherirrender 0f49b4f2f5 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I621f694eb7ae73cc985d9e6028fb10e70b02671d
2020-12-06 12:14:21 +01:00
Umherirrender c85b6cd6ac build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I0629382e1ff17f0eb4eee547aa78c7c8c7bbbc0d
2020-11-20 16:21:02 +01:00
Umherirrender 05faae63a8 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: Ia2551ff625132f0acb5cbeed8d893809438583f0
2020-11-17 23:23:29 +01:00
Umherirrender 99aec050dc build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0
* mediawiki/minus-x: 1.0.0 → 1.1.0
* mediawiki/mediawiki-phan-config: 0.9.2 → 0.10.2
* mediawiki/mediawiki-codesniffer: 30.0.0 → 31.0.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
* remove taint-check, now bundled with phan-config

Change-Id: Ic9cc69fb126bf89aa30454ffe9564d95a7708cf7
2020-06-04 18:26:39 +00:00
Umherirrender 731a9935ce build: Updating dependencies
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.2
* mediawiki/minus-x: 0.3.2 → 1.0.0

Change-Id: Ibbcaf9b631a735abdb6e06b8428bd44414f73ae6
2020-02-28 20:48:57 +01:00
Umherirrender 9fa7f2071c build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Change-Id: Ifb739130872b192b0fee54351555b65c3099981e
2020-01-26 20:22:03 +01:00
Umherirrender 6eeeace41e build: Updating composer dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* jakub-onderka/php-console-highlighter: 0.3.2 -> 0.4.0
* mediawiki/mediawiki-phan-config: 0.8.0 -> 0.9.0

Change-Id: Ibc178d4b0670c9077281dfcdc603c45abe04810c
2020-01-05 11:35:22 +01:00
Umherirrender 6f0e30e366 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: If095181a45ba845b230402fabfa338fa598f3833
2019-11-04 18:48:36 +01:00
James D. Forrester e16143df16 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Icd67aed448269f603dd4465f7e46eac9a64bd1a1
2019-10-15 16:13:01 -07:00
libraryupgrader ca30a90a70 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.2.0 → 0.4.0

Change-Id: I6d8d0e35f5dd0eb19d42cc57547ede5e38e1fa68
2019-08-15 19:40:36 +00:00
James D. Forrester 85084a4484 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I6bbf150ae44e0e54cbf7c6167df03b856dc9f668
2019-07-09 14:14:45 -07:00
libraryupgrader 8c3c943468 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I98849b0e976c261fe5e3bef98e5c71e1b5b99da9
2019-06-10 10:03:03 +00:00
James D. Forrester 692a706e08 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I96b36d9e535c6d886aec7e9e77334ed239569b3a
2019-05-23 19:18:53 +00:00
Umherirrender d7767ed7f5 Add phan
Change-Id: Ia56406f26ecf81d35f505d4a62a93615fcc718fd
2019-04-25 20:54:33 +02:00
libraryupgrader 182bfafec3 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I2ba5692241f1e9983304f8c9e3a9f960429a4616
2019-02-07 03:16:07 +00:00
libraryupgrader 750a357434 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I046509fb8fa8c7e3e3ad8ab00062212498da54d0
2018-11-16 07:41:01 +00:00
libraryupgrader 5635d8863b build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: Ia9c9cc3426d811d2b7341323f58d73479d5e9943
2018-09-08 04:56:41 +00:00
libraryupgrader f9ea076bbc build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Ib7bfe61e9ce064e712d061f8360c88a7552c688d
2018-09-03 09:24:02 +00:00
libraryupgrader c03ebb6521 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: Id118b3d76cd1cdd11e4328309faf1705bb56e659
2018-09-01 13:16:51 +00:00
libraryupgrader be13e39358 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I9ff0c587dc1807a9ee5424b11d09d74f5ef5fe00
2018-08-19 15:37:11 +00:00
Kunal Mehta 0ae3a127d5 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.

Bug: T201219
Change-Id: I307dc7848562ba7db9b0aca4085b135a314cd66f
2018-08-03 21:30:01 -07:00
libraryupgrader c42b25585b build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: Ibd1a92e09449b26d73053a0ef1f266c03729c2c0
2018-07-27 13:42:06 +00:00
libraryupgrader 9713f14b87 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: Ib22e2e3ebe667c1f245d665abcc2b72ae1c4a884
2018-05-26 05:52:59 +00:00
libraryupgrader bd3acd7e5f build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Depends-On: I2bb3b586727a4a7c52f4fd8813f87d0a4e7c5952
Change-Id: Id8da817564e9920a3b92b7dc38a3a220849947a8
2018-04-14 05:43:21 +00:00
libraryupgrader a89f613678 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: Ia9519ea4f530e024d36c4d8fdbb50b7452c848cf
2018-03-29 05:09:20 +00:00
libraryupgrader 8391f5cc71 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I0ebddbc9b6ef2cb2a78f5d8fbddb07488b4a6159
2018-03-10 02:25:40 +00:00
libraryupgrader 46ac149155 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Id52239c46b00ca2d066f1444da01a060add10af8
2018-02-25 10:38:23 +00:00
libraryupgrader a7ca711185 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ifb9cbb6fe4b9a6dd36c1213890bdc42c3b7f7574
2018-02-18 07:12:34 +00:00
libraryupgrader 6c294c91c2 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I62343b120937faf99bae94188e6a934cc0402fe5
2018-02-15 13:44:12 +00:00
libraryupgrader 9cccf15c43 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: I163626b66b33cb185bbcedb8f00d85890628f9dc
2017-12-30 02:19:18 +00:00
libraryupgrader affc1924e3 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I867b61066087d4b2161f1ca7d43efcc05440d4b2
2017-12-11 01:41:06 +00:00
Kunal Mehta 74004f3bfc build: Adding MinusX
Change-Id: Ia4362098d86b2fdbf44ebd6e2ed7d462203b0ce8
2017-11-03 18:53:51 -07:00
libraryupgrader 48361a9c3a build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
Change-Id: Ifda9c873461566c0e133c077a43c6d45c5532279
2017-10-21 04:28:50 +00:00
libraryupgrader cc611bbc85 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Ibea048de7fc5f703d7ebf54d7844e35af8eac8d8
2017-09-24 12:31:23 +00:00
libraryupgrader 4cf348c614 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: I99700010ab32a37f78ad0d9d7b32cc6bc4966b8a
2017-09-01 04:55:51 +00:00
Kunal Mehta 05fafbf8ba build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I7b00bf0beb47f54c4543de0d605c80ebdd6cdb4d
2017-08-11 00:21:26 -04:00
Umherirrender afb2db82ad Improve some parameter docs
Change-Id: Ic78a889eb7374731a282312c9eadb701483ae298
2017-08-10 13:24:00 +02:00
Kunal Mehta 9dfa3e5ee5 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I835fadf053efea56a3037d7b64af8feca12f9c0f
2017-07-23 00:35:36 -07:00
Kunal Mehta e7ac7f0b7d build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I5c8aaff0ed7b9eef97db7e22188212e37ee3beb1
2017-07-01 01:40:13 -07:00
Kunal Mehta ba9e3c68f6 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: Id9e98b7a4e87d00c63e7b509506c23f12cf0d380
2017-06-20 00:19:34 -07:00
Piotr Miazga 49c4cb4d42 Introduce PHPCS check in CI
Introduced PHPCS check in CI - using same configuration as in
MobileFrontend. Additionally fixed wrong code style.

Change-Id: I0c879553d355c2a277fcc4349a93e85c65eb2291
2017-05-16 19:59:29 +02:00
Antoine Musso 9ac903dd84 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:51:43 +02:00