Commit graph

55 commits

Author SHA1 Message Date
libraryupgrader ad17b2f596 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.ExtraParamComment
  * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
  * MediaWiki.PHPUnit.SpecificAssertions.assertArrayHasKey
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon

npm:
* ajv: 6.12.2 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* archiver: 4.0.1 → 4.0.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* async: 0.9.2 → 0.9.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.3 → 3.1.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Change-Id: I9d7acb284a4b8d01b57048366dc3d2b5e6e2ab75
2022-04-14 20:24:16 +00:00
libraryupgrader 1704e52943 build: Updating npm dependencies
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* easy-table: 1.1.1 → 1.2.0
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* eslint: 7.3.1 → 7.32.0
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I1035a4106c663808871e60f7770207b51c2875d6
2021-10-07 09:31:44 +00:00
libraryupgrader 52f3cf3aab build: Updating npm dependencies
* bl: 4.0.2 → 4.0.3
  * https://npmjs.com/advisories/1555
* ini: 1.3.5 → 1.3.8
  * https://npmjs.com/advisories/1589

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the "composer phan" command to conveniently run phan.

Change-Id: Ib3b301ebd72bafca6be68d4b2a1dc61cfca5b734
2021-01-01 02:08:00 +00:00
libraryupgrader 406e871074 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: Iaec553f11b2ccbd389d63e2a6d6e878d9ac40ee7
2020-06-08 05:54:15 +00:00
libraryupgrader 0dc25f2c5b build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: I280ee7f72faecad666cb088be9950f9a5250c9c9
2020-06-02 10:51:05 +00:00
libraryupgrader aaf5285571 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

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I9048d6c1c3af412109b67b78d431f4aab7c3060c
2020-05-31 00:39:30 +00:00
libraryupgrader c68575b73b build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I62affe86473b9911f925c0f4147a0369ac00d221
2020-05-29 09:50:02 +00:00
libraryupgrader f819e6374c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I5e285118302582daa288d0afc30860ab0693d332
2020-04-22 06:25:11 +00:00
libraryupgrader 81e6643baf build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1
* mediawiki/minus-x: 0.3.2 → 1.0.0

Change-Id: Ica218e63fd747980b7acc39ac7403f19239fa861
2020-02-19 01:25:06 +00:00
libraryupgrader 691746576b build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: I8bb60a80550a52117bfd5330422667fddf0b42d4
2020-01-28 06:56:20 +00:00
libraryupgrader 812df4820a build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I148ec7fca3d53bddc2dc5abbcc1c229461feea33
2020-01-14 04:06:09 +00:00
libraryupgrader 2e0792a0dd build: Updating mediawiki/mediawiki-phan-config to 0.9.0
One of the most significant changes is when I noticed that the $group
can never be null. We set it to DEFAULT_GROUP before. That's an empty
string.

I'm not very happy with the two @phan-suppress-next-line. Is there a
better way to fix these lines?

Change-Id: I33c1681e2f3857cb6701da71f4ed8893caff4d1e
2019-12-27 19:45:17 +00:00
libraryupgrader 55720346c8 build: Updating mediawiki/minus-x to 0.3.2
Change-Id: I6abda0708cc29b0ca74950e6022cc81a032a0a61
2019-12-16 21:16:23 +00:00
WMDE-Fisch 35897a7c6e Order build dependencies alphabetically
Change-Id: I541787401d0debf4a7c1fc52636cf504493a1b1a
2019-12-05 14:08:00 +01:00
Umherirrender 0f17669424 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I317a48bec0fc1a432e8253b357641379828b39a7
2019-11-01 23:50:43 +01:00
James D. Forrester b960d9d490 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I46f055cd4e3e93b2232e119605d732bc3ab7bf0e
2019-10-09 19:03:50 +00:00
libraryupgrader 8b442be731 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

Change-Id: I49cf7e168b40e849d5a497126f5c5631630346f3
2019-07-14 09:46:29 +00:00
James D. Forrester bceb94ca2a build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I909d3cfa726d7b68b5a580baf00f6746d4689404
2019-07-10 16:31:30 +00:00
libraryupgrader 3470987c27 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I1844a5ee7c17734ed48ca0019f93fb26ad0e5c6f
2019-06-10 06:04:33 +00:00
James D. Forrester f1eda9b6a9 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I45f337fcd6206e119b2126380e66867a45ec19c9
2019-05-19 11:26:43 +00:00
Kunal Mehta 45c01a6b78 Upgrade to newer phan
Bug: T216911
Change-Id: Ib228ac26a9a87c51a107407b6162110681b5e75c
2019-03-17 16:46:06 -07:00
libraryupgrader 32658c84ac build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ieaba78a1c1d946bebbfba6419e554d62fdbe6715
2019-02-06 11:32:11 +00:00
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