Commit graph

35 commits

Author SHA1 Message Date
libraryupgrader 6cd913cdc1 build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: Ib8324bc6a0a63d5153f278f6b5e6af1b1b4be9fd
2024-02-10 16:48:20 +00:00
libraryupgrader 8070feda05 build: Updating mediawiki/mediawiki-phan-config to 0.12.1
Change-Id: I7296161cc8aa6a2b71439f2b47e1e9f9af5887f1
2023-04-29 02:29:39 +00:00
libraryupgrader 3561760067 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic

Change-Id: Ibc7772bf066adb53eaac52b2b5539b418c9618f6
2023-03-12 00:45:46 +00:00
Ed Sanders f595c9c08a composer: Update mediawiki-codesniffer to 40.0.1
Change-Id: If953d807a0146e6d3cb6113539d826f399b0a6c0
2023-01-17 11:45:27 +00:00
Bartosz Dziewoński 433e57394c Use PHP 7.4 property types
Change-Id: I788db64f0c0c00894d77256b7f016d44eda4bbb1
2022-10-28 21:56:38 +02:00
libraryupgrader 154e47a7a5
build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0

Change-Id: I8cf8b6960533718646189263acabc852ea976416
2022-10-09 10:55:34 +03:00
Bartosz Dziewoński 0024a94ba7 Store permalink data, implement Special:FindComment/GoToComment
Depends-On: I90656cc74bb1cb1f2f3c82ad51cfb164cb8a4a4b
Bug: T296801
Change-Id: I84187b303aa10a242c872088403f808df3d1f940
2022-08-11 01:19:47 +02:00
libraryupgrader 41bd560880 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* 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: Ie0c391bea8742bfa25f2d5e54c2a8d3e32bc00a5
2022-05-21 02:45:49 +00:00
Bartosz Dziewoński ae9f26a9e5 Various code quality tweaks
(suggested by PhpStorm)

composer.json:
* Document required PHP extensions

Parser.js:
* Remove incorrect param documentation
* Fix some typos in comments (missing parentheses)

CommentParser.php:
* Fix some typos in comments (missing parentheses)

ImmutableRange.php:
* Remove unused property
* Add a `throw` to indicate that code path is unreachable

SubscribedNewCommentPresentationModel.php:
* Add missing `return false`

CommentParserTest.php:
* Remove unnecessary pass-by-reference

CommentModifierTest.php:
* Remove unused variable

CommentParserTest.php:
* Don't construct Element objects directly. PHP's DOMElement allows
  it, but Parsoid/Dodo's doesn't, and we use the latter for static
  analysis. This generates all kinds of confusing warnings.

Change-Id: Ia9598ebea0e99830dd485296e94a9d96acc4b258
2022-02-19 19:36:52 +01:00
libraryupgrader 99dda222ec build: Updating mediawiki/mediawiki-phan-config to 0.11.1
Change-Id: Ife9812d74b86ddb2f6ba4f5a9b9eafbef0f86bce
2021-12-20 07:00:31 +00:00
libraryupgrader 8bac47f4fb build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I2a4206a563fe6ab548243b05c000035032b233f5
2021-10-24 02:15:38 +00:00
libraryupgrader b0c8621973 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* eslint: Added `wikimedia/mediawiki` profile (T262222).
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I39276efa5a6991f6216992840c497ae9d3b5fd7d
2021-10-09 07:08:30 +00:00
libraryupgrader 26b69d2c70 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

Change-Id: I76996ed939d706739d2094077c64eeca6f51126a
2021-09-08 23:14:53 +00:00
libraryupgrader b0884b177c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.1 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I7a71e23da561599da417db3b3077b78d91173bbc
2021-07-22 16:29:04 +00:00
libraryupgrader 12fb65b9f1 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: I5c152292e83e7f3441e2c08b7d0ad23ac90f194b
2021-05-05 11:14:52 +00:00
David Lynch 5b8646f73f Create table for topic subscriptions
Bug: T264885
Change-Id: I92d0362eac80ae1ae70839e26e2c084003862a5f
2021-04-06 21:24:53 +00:00
libraryupgrader 095622bf4d build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

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

Change-Id: I271199abd055233f12f8a1c18ff414b06d1748ec
2021-01-29 09:54:58 +00:00
libraryupgrader aa61fe68e2 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I40cf53290ea5054dfb25e9eb620aaab121163298
2020-12-19 13:49:04 +00:00
libraryupgrader 794ad7d492 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I3e53748bad5447b1a7a07e1f48600b1f522aa63c
2020-12-10 05:21:03 +00:00
libraryupgrader 5c9db663e3 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I2045b7a8672f482ab685d8af47cf69076d3ac2d7
2020-12-06 05:45:21 +00:00
libraryupgrader 59009a8f26 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: Ia27150524a70272eff6582f8827259bec3b45511
2020-11-20 03:18:36 +00:00
libraryupgrader 7d19ec42e2 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I513674e64115593d9a8effedac77fca31a56adce
2020-11-03 17:39:19 +00:00
libraryupgrader fb6706a606 build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic

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

Change-Id: I340d6b573e9ae2a99085fb19a705fcf567b03f92
2020-10-29 10:53:01 +00:00
libraryupgrader 6daa4d37c9 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I9380c9cf278caf91529c38a35a316bffbaef9d5a
2020-09-25 00:22:53 +00:00
Ed Sanders d5376e28fc Improve ThreadItem documentation
Change-Id: Ia266fc22b02af0edbb32f356b4e0d92fe3a4da5f
2020-06-26 14:56:19 +02:00
Umherirrender 48e860916a build: Add mediawiki/mediawiki-phan-config
Replace phan-taint-check-plugin by phan, it is now included

Change-Id: I0e682a83afd30faa8967e3c586431be4ae9a29b3
2020-06-10 22:21:07 +02:00
libraryupgrader a51abc4350 build: Updating composer dependencies
* mediawiki/minus-x: 1.0.0 → 1.1.0
* 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: I44c4bd373a575b623d5e40c7e4f9e4cab55d5299
2020-06-08 10:00:59 +00:00
Ed Sanders 12db2cbe6b Update mediawiki-codesniffer to 31.0.0
Change-Id: I14c3e5f9638f180d033cfeb45d1ba027a6811475
2020-05-27 17:32:46 +01:00
libraryupgrader 56a6bd090d build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

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

Change-Id: I4c59ac4a125dd87f7fb77219447f4987a137b4e7
2020-04-22 08:19:10 +00:00
libraryupgrader ad39e6e9b7 build: Updating mediawiki/minus-x to 1.0.0
Change-Id: I8c174820508a97da3282fcb5d67be897af58cab9
2020-01-29 03:41:40 +00:00
Umherirrender 328e97ac11 build: Add phan-taint-check-plugin version
job is already set up

Change-Id: I5bcafa72323e952223bb54d7f99bb2775342412e
2020-01-17 18:13:25 +01:00
libraryupgrader 7bb23482bd build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Use json file extension for the stylelint config file.

Change-Id: Idca900cd65b88692ad43d34af7a9af4c4cfb9fcc
2020-01-14 04:55:38 +00:00
Umherirrender f08c1ebc29 build: Add MinusX
MinusX will test for executable bits

Also add php-console-highlighter

Change-Id: I26929198357e032d70b4801c5e548278e7376fa9
2020-01-11 22:27:35 +01:00
Reedy 6f8185a7d4 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ib93a3fe44e7fa6c8141b445ce4b32c2ca88c6d68
2019-10-12 17:56:36 +01:00
Ed Sanders fe0a05ad49 Add required files for an extension
Change-Id: I626e607e6ae7efc2521f9dd1da83c6fd90b0767d
2019-10-10 19:42:56 +01:00