Commit graph

69 commits

Author SHA1 Message Date
Timo Tijhof 4197a00409 build: Add --allow-polyfill-parser to phan command
This way it works out of the box during minimal local dev environments
without requiring additional native extensions. The repo is small enough
that it's fast enough either way.

Change-Id: I0c789f266cb01f31bb42cb9f960cae0bb4c293df
2023-12-13 03:06:33 +00:00
libraryupgrader 31cdb28e85 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I59b98f2c8de19aa0c027c9dc05bea95c9fa88264
2023-04-29 04:17:41 +00:00
libraryupgrader 4742780d5b build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I41320d045cc0cae253dd7715e9b41c5181485d49
2023-03-12 02:12:40 +00:00
libraryupgrader 30951fced2 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: I7a4e8f1288555457cd60cba6be4797f82e085575
2022-11-16 05:47:29 +00:00
libraryupgrader eb99f12bce build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Ic857959b35f31be8a963e1889b6d79b54dbd3855
2022-10-09 12:06:20 +00:00
libraryupgrader f4e4469aa8 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: Ia1fc04b195651dcd3356081b7189fc2f043f41e9
2022-05-21 04:11:05 +00:00
libraryupgrader aad009fd1f build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Id25bb6285fcde7e93ea3eeeffd0184ceaf7bc4ac
2021-10-24 04:01:25 +00:00
libraryupgrader 4f825a72cf build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

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

Change-Id: I6d2a147836bc717b4c70211a9ea6b9d0365a1936
2021-10-04 22:12:57 +00:00
libraryupgrader 206d0b5c18 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: I92b5eb5fb29bc373a5eed0f4ef26f283a9e8fea3
2021-09-09 01:15:10 +00:00
libraryupgrader b5e7230698 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: Id55b598a81bd22cbe0f415f32fd28ba3825bf61e
2021-07-22 20:01:41 +00:00
libraryupgrader c3c98c1146 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: I5e0b9e78f0436355cc21dc356fb78e96e59cb536
2021-05-04 18:43:54 +00:00
libraryupgrader b95f062426 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.
* Removing manual extensions for eslint.

Change-Id: Ia5e47e750485b1499c9a0899407e24bfdfddacd4
2021-01-29 13:35:14 +00:00
libraryupgrader e0b57e6f4c build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I17abb7671bca7bf216c002f6fb26b4510224929a
2020-12-19 15:29:17 +00:00
libraryupgrader a903767fb3 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: Ibdd99b4c75dbb2ffaae42ef8f7cc2d96a88f8b68
2020-12-10 07:29:35 +00:00
libraryupgrader ffc95a2119 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Iee049c20559975955222f67cff1958c18f807de8
2020-12-06 10:12:49 +00:00
libraryupgrader 25f0658de9 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I9a778602386c5e467b00031b6f3e86ff788446d6
2020-11-20 05:07:31 +00:00
libraryupgrader 64a341cec5 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I7298186b0d7d240b6513948fd62cb569a05ecedc
2020-11-03 21:16:44 +00:00
libraryupgrader 5fc41bb340 build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingVar
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: I73a5f722738dff75c623cf631bfa7e3dcf8d6f82
2020-10-29 13:34:25 +00:00
libraryupgrader f8ac13673a build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I8cc74c77e5f84f447b75d857334da950460c5c3d
2020-09-25 01:44:49 +00:00
libraryupgrader 314bf0933f build: Updating mediawiki/minus-x to 1.1.0
Change-Id: I6f565b6bb120db3a57bde1bd0e1c9a8da8b7cf48
2020-06-11 18:15:01 +00:00
libraryupgrader 74f1967d15 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: I2b0e49dda461c4099cc1ac0abb095413706a3854
2020-05-31 15:14:35 +00:00
Umherirrender 4454c2a871 build: Bump phan to 0.10.2, remove taint-check
Change-Id: I58c0720a6b206883e2150683b69887b91335120b
2020-05-31 17:12:20 +02:00
libraryupgrader 5c3b04a551 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I32a7007b3b3f4cd59bb7fa951dc66c18cde6df09
2020-05-29 18:37:13 +00:00
libraryupgrader 084baa4e01 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: Ifed56b38fca12a730ae2184fe71cd90f28d614f9
2020-04-22 10:52:13 +00:00
libraryupgrader 5aa7fc242d build: Updating composer dependencies
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: Ie934f8edc3b3585abd6b112cdd78f6d3a65d259a
2020-01-29 05:42:21 +00:00
libraryupgrader 9227fe44f7 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: I8d7e3dc03c2d2d9a22ec1861eb458b962ce41883
2020-01-28 13:23:29 +00:00
libraryupgrader d9afecbd84 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

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

Change-Id: I5fa8001a2ea7fdab2dbf9ce8cba9d1764f7a4562
2020-01-14 05:38:11 +00:00
libraryupgrader 2abdd0f983 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Add an explicit check before using the parameter.

Depends-On: I92ecaa9c14e5c8ba32d152a9e2246a2144b1c7da
Change-Id: I255237574e76f1c0d92f376bc8cbb81f7cb4ed14
2019-12-21 14:01:00 +01:00
libraryupgrader 7cb86c3dfb build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.7.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ibbde8773be9b8687b5117eb1589f3ed66bfb5cb9
2019-12-16 15:29:42 +00:00
Umherirrender 7c13328467 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Argument 1 ($min) is 7000000.0 but \mt_rand() takes int
Argument 2 ($max) is 15000000.0 but \mt_rand() takes int

Bug: T235049
Change-Id: I2d7d0d6defd312dbed0de833678f3768fa3d7a46
2019-11-03 12:13:20 +01:00
James D. Forrester ed181c2db0 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I61896470e0dc9cffd3e8fff8b45e2231ef4265f3
2019-10-09 16:24:09 -07:00
libraryupgrader 28bc89ad4f build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Additional changes:
* Committed package-lock.json (T179229) too.

Change-Id: I4049186e4a7b3f0fb62d913f635ce8e491a7fbc3
2019-07-14 11:38:20 +00:00
James D. Forrester 8f714aef48 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I17d29f0cd32efdd92dee56be4f7fb3ca4bc15968
2019-07-09 14:05:59 -07:00
libraryupgrader 3b4893c146 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Ifefd32227a8b306e7cc29a659c2fc763f2e2520d
2019-06-10 07:46:30 +00:00
James D. Forrester 47a47334cd build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I31a207a38562df5ac9eaf2db535ff80a16481183
2019-05-19 12:09:35 +00:00
Kunal Mehta b28ad14b8c Upgrade to newer phan
Bug: T216919
Change-Id: I3a403891eafa703215a79526fcf9469b1fd6edc6
2019-03-17 16:39:02 -07:00
libraryupgrader 5fa2aeae65 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ief5ec740b4231a0f4f880a6b9b7e57121d761829
2019-02-06 15:02:29 +00:00
libraryupgrader 2480ada231 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I57f040d8ce2b217162b41f72f1a2ae02bd13b3d1
2018-11-16 00:55:47 +00:00
libraryupgrader 1141461156 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I05f12d773fef7ca66ea9e3679344338b5f062cb5
2018-09-08 01:38:52 +00:00
libraryupgrader b60ab7ae58 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I770698b81a862467e3a2de0c7d912e2ff8d62642
2018-09-03 02:58:58 +00:00
libraryupgrader 9cdeff59bd build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I227bee841a8d9bdbe2fa7579bf4e0607b3340e51
2018-09-01 09:03:47 +00:00
libraryupgrader d1ea87f970 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ie8bc38b665bfa89d2b25f02344dbae3225d6ab26
2018-08-19 12:48:57 +00:00
libraryupgrader c86d3620e0 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs now pass and were enabled:
* Squiz.Scope.MemberVarScope.Missing

Change-Id: If3902b0dffb9bb28de7093dd33e92869bead3746
2018-07-27 06:22:12 +00:00
libraryupgrader b1a7eb2642 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I7603c3892408e484845cbb1e5da7cabdf4ae25c2
2018-06-08 07:05:45 +00:00
libraryupgrader 33ecce01c0 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I210883a100f2060e9bff0d5066896ce35b45a788
2018-05-26 03:01:39 +00:00
Brian Wolff ee633a273b Bump phan-taint-check 1.1.0->1.2.0
Bug: T193909
Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df
2018-05-04 20:34:59 +00:00
libraryupgrader e1ac086c7a build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ib8e7fc03e189535fcbd00bb7ecdbc57b3162868c
2018-04-14 01:31:15 +00:00
Kunal Mehta 441302fb5e build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: I4d364243c33243aceeff9793bc3e69efd62ae491
2018-04-05 13:25:35 -07:00
libraryupgrader 5974c3b7dc build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

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

Change-Id: I999afc9253d67e13144fe3165ffc3b8a74ac9ea4
2018-03-29 02:17:02 +00:00
libraryupgrader 5b7e9fcfb6 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Iaa264fc2a0f6d20fdd47a1abe19ac05047ebc4fd
2018-03-09 10:05:29 +00:00