Commit graph

49 commits

Author SHA1 Message Date
libraryupgrader 537b441590 build: Updating mediawiki/mediawiki-phan-config to 0.12.1
Change-Id: Ia56b345c5ab1a1fe4f4daf8d00a672f59b38c9b8
2023-04-29 16:44:17 +00:00
libraryupgrader 7e68633b54 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* grunt-banana-checker: 0.9.0 → 0.10.0
* decode-uri-component: 0.2.0 → 0.2.2
  * https://github.com/advisories/GHSA-w573-4hg7-7wgq
* deep-object-diff: 1.1.7 → 1.1.9
  * https://github.com/advisories/GHSA-653v-rqx9-j85p
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* json5: 2.2.1 → 2.2.3
  * https://github.com/advisories/GHSA-9c47-m6qq-7p4h
  * https://github.com/advisories/GHSA-9c47-m6qq-7p4h
* terser: 4.8.0 → 4.8.1
  * https://github.com/advisories/GHSA-4wf5-vphf-c2xc
* ua-parser-js: 1.0.2 → 1.0.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I9775b27f6006e48d928d852bf5c843132ceea867
2023-03-12 16:30:13 +00:00
James D. Forrester c1f8df55c4 build: Drop forked PHPUnit version for test:size convenience method
This repo shouldn't have its own definition of what version of PHPUnit
the MediaWiki world is running.

This partially reverts I3a1f246c57f3021659c23299e151389c0ae77f87.

Change-Id: I2b52536be5c823d806fb089053f51a462449f1f8
2023-02-28 13:54:41 -05:00
libraryupgrader 62ab69e415 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

Change-Id: I5b7d3ddbdc9b09c824293e4294ad3a8d318e0ae6
2022-05-21 19:11:15 +00:00
libraryupgrader a86fd8e1d2 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* wdio-mediawiki: 1.1.1 → 1.2.0
* @wdio/cli: 7.16.4 → 7.19.5
* @wdio/local-runner: 7.16.4 → 7.19.5
* @wdio/sync: 7.16.4 → 7.19.5
* jsdoc: 3.6.7 → 3.6.10
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.2 → 3.2.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 2.7.4 → 2.7.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.3 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* shelljs: 0.8.4 → 0.8.5
  * https://github.com/advisories/GHSA-64g7-mvw6-v9qj
* url-parse: 1.5.3 → 1.5.10
  * https://github.com/advisories/GHSA-jf5r-8hm2-f872
  * https://github.com/advisories/GHSA-hgjh-723h-mx2j
  * https://github.com/advisories/GHSA-8v38-pw62-9cw2
  * https://github.com/advisories/GHSA-rqff-837h-mm52

Additional changes:
* Set `name` in package.json.
* .gitignore: Added .phpunit.result.cache (T242727).

Change-Id: Ic4993fac43fb42af08654aab03352281d663cce9
2022-04-16 08:43:11 +00:00
Kosta Harlan c245636767 Add composer test:size as shortcut bundle size test
Change-Id: I3a1f246c57f3021659c23299e151389c0ae77f87
2021-12-13 11:46:47 -08:00
Umherirrender 993332734a build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I35e6bd738c78db48d98e1a870de4a28654d3d3f4
2021-11-13 18:58:14 +01:00
libraryupgrader 6687406a27 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

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

Change-Id: I7738f50f1d97109716fbb3a1f7e7abfb06d51f97
2021-09-10 13:32:50 +00:00
libraryupgrader 218151025e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* ws: 7.4.5 → 7.5.3
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* normalize-url: 4.5.0 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)
* prismjs: 1.23.0 → 1.24.1
  * https://npmjs.com/advisories/1762 (CVE-2021-32723)

Change-Id: Idfecb28ef49b193ba78b3f7b1335d4d5cb2862cd
2021-07-23 18:37:41 +00:00
libraryupgrader e9a4bec57c build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I325e6aabd1cd89cf5893ea8e85202765ed46a57e
2021-05-04 12:26:23 +00:00
libraryupgrader 846a37613b build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* prismjs: 1.21.0 → 1.23.0
  * https://npmjs.com/advisories/1638 (CVE-2021-23341)
* elliptic: 6.5.3 → 6.5.4
  * https://npmjs.com/advisories/1648 (CVE-2020-28498)

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: I4be864417fbb0259e5db85b6741da0c7918df494
2021-03-12 08:17:22 +00:00
Umherirrender bc7b102141 build: Updating mediawiki/mediawiki-codesniffer to 35.0.0
Change-Id: Ic18538ccc62474ee9252e8ba7924fd84ec780410
2021-02-26 23:14:14 +01:00
libraryupgrader 974bdb5ec4 build: Updating npm dependencies
* bundlesize: 0.18.0 → 0.18.1
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)
* github-build: 1.2.1 → 1.2.2
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I31709fad756dfea5d47755f170a5b75952c793d2
2021-01-09 05:07:14 +00:00
libraryupgrader 4877070904 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: Icaa4a91207613a869f16d4a3e3b561563c6ce655
2020-12-19 08:57:13 +00:00
libraryupgrader 68b3bcd63f build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I69ee97acbdf8a1054b3be704ed9d7b87d3ed7152
2020-12-09 20:41:19 +00:00
libraryupgrader accccf7372 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I03d13afd0d0af22aa2aa052252b15f9348f9315f
2020-12-07 21:58:29 +00:00
libraryupgrader e490879e91 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I4c5398a38cd9c527f8d232133c87bdf9fec59b75
2020-11-21 03:31:53 +00:00
libraryupgrader 450f70d24b build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle

The following sniffs now pass and were enabled:
* MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

Change-Id: Ib605f800c2ae0e521c034c1f49d98cbca546b720
2020-11-05 16:18:11 +00:00
libraryupgrader f19a803e56 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I80ff59fc2f1b06bdd938a0ed79ceddfc0ea7a0a7
2020-09-25 20:28:33 +00:00
libraryupgrader b8cfba1bab build: Updating markdown-to-jsx to 6.11.4
* https://npmjs.com/advisories/1219

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

Change-Id: I2ee33d128567067e48c1dbe5f78c254a4cba82e4
2020-06-12 11:31:40 +00:00
Umherirrender 1b5d9ea755 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/mediawiki-phan-config: 0.9.0 → 0.10.2
* mediawiki/mediawiki-codesniffer: 29.0.0 → 31.0.0
* mediawiki/minus-x: 1.0.0 → 1.1.0

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

Change-Id: I202a48e1b0aab38181a402d6f2661d782ecd79e2
2020-06-01 19:43:05 +00:00
Umherirrender 5b0a4f30b2 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Change-Id: I529c6a67eeb5eb012031b69ef63f4338f3685178
2020-01-26 20:26:31 +01:00
Umherirrender 960cd11fa8 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: I6519f1e27777c13c432c25f46e35ab8b61bdcbab
2020-01-04 13:24:24 +01:00
Umherirrender 9096c53f92 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: Ia7a2a77c6c918f4d0ed41836a7eff9eb5660c60f
2019-11-03 18:42:16 +01:00
James D. Forrester e8d227b78e build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I8ce5f16f496f048f6bcf587c545745193dbfe151
2019-10-11 12:04:00 -07:00
Daimona Eaytoy b5c6658813 Add phan
Bug: T133664
Change-Id: I26f8cfe8cb88ed7de88e765681d9334edd9f3ce4
2019-07-15 17:10:13 +00:00
James D. Forrester 34b3818877 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: Ie261c2f7ea0d18971c5ae6da99ac3a44bb55622a
2019-07-10 16:32:46 -07:00
libraryupgrader 63e52a302a build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ie071cb13e535f3fe168bc6cf780b21add90b4b8a
2019-02-07 07:51:12 +00:00
libraryupgrader 582066e1c3 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I2ea16b428e3e4d2dbbaed956a4a4d070e94b1e2e
2018-11-16 14:46:46 +00:00
libraryupgrader ec4dc79e38 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I95e15c6364209fd8d6216dd9d7685884d5b8fa87
2018-09-08 08:22:21 +00:00
Kunal Mehta 24eac21513 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: Ief36c5b7c3fc61950e52044fde7feeed9fe28831
2018-09-04 20:36:47 -07:00
libraryupgrader 4982558493 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Idf2967084af29940ecb1d92a66365821c0290fd0
2018-09-04 01:31:06 +00:00
libraryupgrader 8dce8f341f build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: Ie17ff96cb2b49203d8d5b2337d1dbc3e408ff49f
2018-07-27 23:57:18 +00:00
libraryupgrader a47d585583 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I3c15fa6f6f54a24d35697d50556024482a6b854d
2018-05-26 08:37:53 +00:00
libraryupgrader 44c99b6c66 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I1f5c867e812ef384915dfb94deb86d8fd2a43893
2018-04-14 09:46:47 +00:00
libraryupgrader d925a800ef build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I036e37625f68b620f505a8d8be4202056fde09ff
2018-03-29 07:59:18 +00:00
libraryupgrader 9b937643d1 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I7745caaa2925aea87ad981ab017d7fcb7150309f
2018-03-10 09:59:27 +00:00
libraryupgrader 7017cccb29 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ie158ec43ef6307941a7f5a025be6c8bcc35e5ffd
2018-02-25 13:12:05 +00:00
libraryupgrader f32328fb05 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I4289fd11b6390bc6fab66dc8c1734a3fea39c016
2018-02-18 13:13:05 +00:00
libraryupgrader c4eb15654e build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ibb3b0d2f4713609cd43d8c411561ab0bcdf941ce
2018-02-15 17:17:29 +00:00
Alangi Derick 8cd73c01af Update Minus-X utility from 0.2.1 to 0.3.0 in MinervaNeue skin
Change-Id: Ibbdef91034b2e3ac3d3abb50f63d1725babad66c
2018-01-26 16:50:32 +01:00
libraryupgrader cc984c2f11 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: Ib81b8adc5730d9715d767b1b5d39cc3e005a69b9
2017-12-30 04:01:12 +00:00
Rafid Aslam 88d889ab25 Add minus-x to "composer test"
Add minus-x to "composer test" and "composer fix"

Bug: T175794
Change-Id: I54088f3895ca931006c6a004a48c87f9445abf8c
2017-12-16 16:09:12 +07:00
Umherirrender 7a95a43104 build: Always exclude node_modules
Change-Id: I8f055032f1a076445c18ac96d90017a44d6d9077
2017-11-02 17:53:18 +01:00
libraryupgrader eb7323e0eb build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I4e80293c27dbc09470449acc8f6994dd846f6c70
2017-10-21 04:35:00 +00:00
libraryupgrader 3226035e06 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I8f3069930a043b9d901c0834a875ed90ee6c8c81
2017-09-24 05:37:39 +00:00
libraryupgrader f86c148866 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.OneClassPerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.SpacingAfterParamType
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage

Change-Id: I0689ff20133a2a23d6389aa50487349c6ed3797b
2017-09-01 05:01:10 +00:00
Umherirrender 2aacf47c8d build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Icba559465885af1169a1912f501bed56eea23ad9
2017-07-24 18:53:04 +02:00
Piotr Miazga 7536ca089a Enable PHPCS and lint checks via composer test
Sniffs that are currently failing are disabled in phpcs.xml.

Additional changes:
* Fix problem in test file

Change-Id: I53642e9d7bc1ef96e359cfe04a8f93dabbc977eb
2017-07-17 22:20:29 +00:00