Commit graph

56 commits

Author SHA1 Message Date
libraryupgrader b5f6be3ca9 build: Updating npm dependencies
* eslint-config-wikimedia: 0.14.3 → 0.15.0
* grunt-stylelint: 0.11.1 → 0.13.0
* stylelint-config-wikimedia: 0.6.0 → 0.8.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I26e6206daaef4d2b7e2966ffef3a49c81b9b6f8f
2020-01-13 05:13:39 +00:00
libraryupgrader 0916348c84 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: Id77528732abaa59ab1e2610c2acc87cb2858b8cd
2020-01-10 10:49:20 -08:00
libraryupgrader 50c8ad3f1a build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ie2e85129ebfa6bbb06d0642dd1f962ee8f161733
2019-12-18 10:53:10 +00:00
Umherirrender 5435c895a3 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: Id81e9b5b728d5230aa283814f6c163271da3434a
2019-11-04 20:21:10 +01:00
James D. Forrester e84c4b6ec2 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I4c9bca1113dc454e4652572cb4b41f012e418460
2019-10-11 12:02:57 -07:00
libraryupgrader c83d43c866 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* 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: I365c3a067141cdf9785df7a22d1cbc9f0d9a38b5
2019-07-16 02:14:43 +00:00
James D. Forrester 36e03d2e9d build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I597d7cfb0e52a63f42a194d4e78c1649691005a8
2019-07-09 14:18:06 -07:00
libraryupgrader 1169cf8fa2 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I86c2219704be18c68fb00becdbb08fa3bcefb923
2019-06-10 11:45:25 +00:00
James D. Forrester 1d1ea0a929 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ifa3fe1a205f7b19a74c2ddb8ba29a9bd6902693f
2019-05-19 13:34:45 +02:00
libraryupgrader 207172de43 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: If6f3dd1c6c4cec6880c196d29278feba6e3169d9
2019-03-10 22:30:03 -07:00
Daimona Eaytoy 66c56f5c86 Migrate to new Phan
Bug: T216944
Change-Id: I5278ea60a17283dca6b0aee843ff60bf5c4103e2
2019-03-02 13:43:16 +01:00
libraryupgrader b4de1b2264 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I5378bf277e8bbe91e81d6a5bcf2701b1b770660f
2019-02-07 05:11:57 +00:00
libraryupgrader 7edbf54aff build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I0cdf6aef32f5c82d22406987efa4faed2436d92a
2018-11-16 13:38:25 +00:00
libraryupgrader 82b8efb581 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I157d98958b24a7546a227b7ba5d89c364b6fc773
2018-09-08 06:06:54 +00:00
libraryupgrader 74dbf4bba9 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I1c75e007be52cd22d0a72d228e56a3a9683fbb58
2018-09-03 19:50:49 +00:00
libraryupgrader f83a48bcf2 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: Ied8ec59045f75be8a30d2dedf10a07e814927c0c
2018-09-01 14:40:28 +00:00
libraryupgrader d282060a1b build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ie8a12ca690d46e826c5f56f6a1f2e06b36f607c3
2018-08-19 16:54:29 +00:00
libraryupgrader 99ebac4719 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.NestedFunctions.NestedFunction

Change-Id: I973d59e297446754203ffe0217b1a7902c868aa0
2018-07-27 19:59:47 +00:00
libraryupgrader 1d40165020 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: Iffc33d0ee9f76984d43b1c93a16723de70bd00ac
2018-06-08 07:49:40 +00:00
libraryupgrader 47a386085f build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I1bb12732540cda91444d1f4b7e0e11fca825243b
2018-05-26 06:39:32 +00:00
Kunal Mehta b185d9892f Upgrade phan-taint-check-plugin to 1.2.0
Change-Id: I2fa1c622dc495e3f4969d7684934f1839f9caf00
2018-05-04 20:01:48 -07:00
libraryupgrader 613e8464b0 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I7950c319ca6a496ae57702bdebb05c0a96421646
2018-04-14 06:59:16 +00:00
Kunal Mehta 0615fe8444 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: I1e5dc6d8fd131db8dd3296337ee73ae07b42f931
2018-04-05 17:23:15 -07:00
libraryupgrader 90212e691e build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Id89128fd4da73a71ac818d1943fe172f20b07938
2018-03-29 06:04:38 +00:00
libraryupgrader a6c8aa00a5 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I7ae26de903868fc61cae4fbaa9abb717ec93dde2
2018-03-10 05:56:54 +00:00
Kunal Mehta e56b9a7427 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ic848fa4ffdeccb8340d347aeb23216364238501d
2018-03-02 15:40:34 -08:00
libraryupgrader 330ac626c2 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I30042215bd10f6f0257007d6370e944b4213eedb
2018-02-25 11:31:43 +00:00
libraryupgrader 3a588ed5da build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I94381a6b6fc7f3fc19dc67008f7edc8cfef20331
2018-02-18 09:46:21 +00:00
Kunal Mehta b7d670c346 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: I36cb5e14e740afabdd42a04ff19b6d59a59a502e
2018-02-16 13:44:31 -08:00
Kunal Mehta e75fda881e Migrate to mediawiki-phan-config
Change-Id: I038c599b428683cee669e69e9a5106f178b129a2
2018-02-15 14:29:11 -08:00
libraryupgrader 60b26d5a1c build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I6d43d6e3af599d2662709a809c61ec0987487f73
2018-02-15 14:15:26 +00:00
Kunal Mehta 15b894bdbc Drop symfony/process dependency, use Shell\Command instead
We originally started using symfony/process because kzykhys/pygments
depended upon it. But that library was unmaintained and became broken,
so we stopped using it, and just used symfony/process directly.

At the time, the main reason in favor of symfony/process was that it
could pass stdin to pygments, while Shell\Command couldn't - but it can
now (T182463)! On top of that, there are downsides, like not respecting
the default MediaWiki shell limits, being incompatible with core's
firejail support, and requiring an external composer dependency.

Note that because Shell::command() will enforce MediaWiki's normal
limits, it's possible that some large pages may no longer render with
syntax highlighting if they pass those limits.

Bug: T182467
Bug: T181771
Change-Id: Ie1cb72b7eb17d943f79ecae4d94a2110546ef039
2018-01-04 13:07:35 -08:00
libraryupgrader 77ac013073 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: If136f446383a4b7563bf5c6d26c1af64513caf09
2017-12-30 02:52:44 +00:00
libraryupgrader c3f97c046c build: Updating mediawiki/minus-x to 0.2.1
Change-Id: Iaede6ca152d740ef35128797105b5c6b800771da
2017-12-11 09:02:46 +00:00
Reedy 8cc811d9c3 Update symfony/process to ~3.3
Change-Id: I38544e88880311bab8add376cc1f17c6a423684d
Depends-On: I2dc357691d672626c90ee4c4ad696b5862bda764
2017-11-23 12:27:26 +00:00
Kunal Mehta 054302f83c build: Adding MinusX
Change-Id: Ib2b2f09c495f62b458c2c6175e5c0d27b14984ec
2017-11-03 19:49:51 -07:00
libraryupgrader 2faa7ef9f3 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: If284e34e02d4f678b0ae0d2863d3feb7f8d55d0d
2017-10-21 04:30:56 +00:00
libraryupgrader 365c3627c6 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Idb1e57b59484b97e9c1b527a95e87e1ec5e069da
2017-09-24 05:33:42 +00:00
libraryupgrader f8a4f8cb0e build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.ClassMatchesFilename.WrongCase

Change-Id: I2781f52be104163ba58e30055bc7593da6ded29a
2017-09-02 08:53:42 +00:00
Kunal Mehta 1abf516d6a build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I9df860b01a9e99174e4f0f6fe65670dffa548988
2017-08-11 00:34:10 -04:00
Kunal Mehta e700c15b81 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment

Change-Id: I6f0b55e7694cdae1fcdd68b33449db412a656e37
2017-07-23 00:38:40 -07:00
Umherirrender 52548536ba build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ie3c4add8601ace14b6ff956e1fb451bc2d379860
2017-07-08 11:51:43 +02:00
Umherirrender 62d8ae19d3 Update mediawiki/codesniffer to 0.7.2
Short array syntax will be used in follow ups
to keep this patch set small


Change-Id: Ibfb09fb93a827d2c23060e79d287c963fe149770
2017-06-13 12:22:06 +02:00
Derk-Jan Hartman e908a9ef43 Remove 'GeSHi' name from composer and npm manifests
Both of these seem to be private, and are therefore easily renamed.

Bug: T164939
Change-Id: I09be0ef0131d31182ed8bb6be221c76dba2c1a53
2017-05-21 13:26:40 +00:00
Antoine Musso 5ee2deb6d8 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:02 +02:00
Umherirrender ed7f1f6dc4 Add fix phpcbf command to composer.json
This allows to use the phpcbf easily

Change-Id: I76b14ace9fb95bf2ae30bfd56c41019c88c862ac
2017-04-28 23:57:37 +02:00
Reedy 370d8750ac Update symfony/process from ~3.0 to ~3.2
Change-Id: Ibf91f004e69a82161d9e567c539dd532c96df336
Depends-On: I78d1459d7f7e980ac4b6c4a6e57b5d8d6f97f3e6
2017-04-04 20:59:34 +01:00
Reedy 79dcd57ee8 Update symfony/process to ~3.0
Change-Id: I4f8c1e789ed706074c229e06374f38b9abaa15f5
Depends-On: I99661d2770329a54195b07e894c6a29a9397c87d
2016-04-02 20:57:52 +00:00
Reedy 0983a55488 Update symfony/process to ~2.6
Depends-On: I99d551cd89b38a25943080690165344cf973dce7
Change-Id: Ia959f51c4327412b0604a9ecf537dbb07cbeb87d
2016-01-12 00:51:43 +00:00
Kunal Mehta 8b876b8bbc build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: If16a3bea816ccf476bff8d495a112438be264366
2016-01-05 10:41:02 -08:00