Commit graph

75 commits

Author SHA1 Message Date
David Lynch 099e7a80c4 Exclude node_modules directories from phpcs
The `flatted` module in lib/ve/node_modules includes some php files that
keep causing errors.

Add the --cache just because it seems to be common practice in other MW
extensions.

Change-Id: Ia791e569587d76e991711b93011cb1df3796f532
2023-10-12 16:52:22 -05:00
libraryupgrader 9c99485fca 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: Ieeb1d06761805ff2f3e29c4d0977f515e0629d41
2023-04-27 01:04:37 +00:00
James D. Forrester b12b5e21d9 build: Upgrade mediawiki/mediawiki-codesniffer from 40.0.1 to 41.0.0
Change-Id: I82a51fabffbdecd947077f143fff3a7ec7e3dbd6
2023-02-25 18:54:59 -05:00
Umherirrender 2ea2796605 build: Update mediawiki/mediawiki-codesniffer
Apply the latest version to libup-canary repo

Change-Id: Ifd3f356f713cc70257c88e7ec6fb8ff608f5f4a9
2022-11-14 22:43:38 +01:00
Daimona Eaytoy 16ae2da19a build: Update mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Ib527ec60ac7894d28e330b7080f0e3b0a2b3ddfc
2022-10-08 02:45:31 +02:00
libraryupgrader 0166b79ecd build: Updating dependencies
composer:
* 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

npm:
* grunt-eslint: 23.0.0 → 24.0.0
* meow: 3.7.0 → 3.7.0
  * https://github.com/advisories/GHSA-7p7h-4mm5-852v
* trim-newlines: 1.0.0 → 1.0.0
  * https://github.com/advisories/GHSA-7p7h-4mm5-852v

Change-Id: Id518b0dcafa3a6ce480c951c5ea7d0512aaa94a2
2022-05-20 10:06:25 +00:00
James D. Forrester 8574e2379c build: Upgrade mediawiki-phan-config to 0.11.1
Change-Id: I53e2d8f5450e083660da0da7bf6b90ce8ce25382
2021-11-22 18:34:57 +00:00
libraryupgrader 21c518b2e7 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I235030ce65736b43ff8f04441080b11bb25f1c55
2021-10-23 18:50:40 +00:00
libraryupgrader 3dd4b47039 build: Updating npm dependencies
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* is-svg: 4.2.1 → 4.3.1
  * https://npmjs.com/advisories/1002911 (CVE-2021-28092)

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

Change-Id: I03a4d3b8038590812667adc9d33c3b78d0d134df
2021-10-09 12:08:12 +00:00
libraryupgrader db01666a88 build: Updating mediawiki/mediawiki-phan-config to 0.11.0
Change-Id: I18aeec0e77c9aacfc4df8de485a246416cc0ecd3
2021-09-05 00:16:17 +00:00
libraryupgrader 5f5ba72b3a build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* stylelint-config-wikimedia: 0.10.3 → 0.11.1
  The following rules are failing and were disabled:
  * declaration-property-unit-disallowed-list

Change-Id: Ib918897328cff66642c453d3d394a4e262ed788d
2021-09-02 03:43:02 +00:00
libraryupgrader 30b68f3a74 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: 1.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: Ia15aa76cb4abbfe42215532edf52b08c75f72034
2021-07-21 19:56:36 +00:00
libraryupgrader 710e75dfb0 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: Iae29334b618b3f3758cb048394f85c0aca81b42c
2021-04-29 19:18:20 +00:00
libraryupgrader 56724d13db 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.18.0 → 0.18.1

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

Change-Id: I2f9210c6a02e34a59c8ebc9284e0711612c4098e
2021-01-28 21:37:51 +00:00
libraryupgrader 58c694bb16 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I5b7acd4881084faffd1cbc1335bd2edd1d8a39c2
2020-12-18 11:25:26 +00:00
libraryupgrader a2ae7b9586 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I0e757713b96d3c76f6d870c80f738acf67781b90
2020-12-08 14:05:20 +00:00
libraryupgrader be985ba285 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Iaeee8711628054a94e71f30bd3dc9e2143225481
2020-12-05 08:18:39 +00:00
libraryupgrader ce544c807e build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: Ia700e8ac15f42277f348d0b82b55304ed65b63ee
2020-11-18 04:24:31 +00:00
libraryupgrader 89a735510d build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I075436a6bf45b3ee5e6e359784760d60502becc4
2020-11-02 20:14:27 +00:00
libraryupgrader 7248ad6332 build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

Additional changes:
* Removed globals `OO`, `require`, included via `wikimedia/mediawiki` profile (T262222).

Change-Id: If161f46db0a1f35126fecec141e29d15fa4f2532
2020-10-28 17:50:11 +00:00
libraryupgrader 5af52f1298 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I1a6f66ae2613faa2f337e5d42e6817ac7ff7f596
2020-09-23 00:14:12 +00:00
libraryupgrader c5424afd79 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: Ib7ee6331da3c051a4909ebf5a25b454de9d08345
2020-06-02 04:29:32 +00:00
James D. Forrester a8a616f7ce build: Upgrade mediawiki-codesniffer from v30.0.0 to v31.0.0
Change-Id: Ia12194a0c10b5c6eef4ba4a115af7ae678edfeaf
2020-05-26 12:15:53 -07:00
James D. Forrester 7dae6eb9d4 build: Bump phan to 0.10.2, remove taint-check
Test change to ensure everything is working fine.

Bug: T248630
Change-Id: Id7d9438a6b2be29d5764e3fa809b2cdbe7772958
2020-04-15 09:26:51 -07:00
libraryupgrader d0d6af8e5a build: Updating composer dependencies
* mediawiki/minus-x: 1.0.0 → 1.1.0
* mediawiki/mediawiki-phan-config: 0.9.1 → 0.9.2

Change-Id: Ie52ba7af4b21933036f906cffe18c9c89c728012
2020-03-23 21:08:47 +00:00
libraryupgrader 362e96e9d3 build: Updating mediawiki/mediawiki-codesniffer to 30.0.0
Change-Id: I60daaa0abe00ac7d4cc536e6d7baf3c6c3f6769d
2020-02-21 04:29:45 +00:00
libraryupgrader 1baeb9ef0c 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: Ibf55f382c586603967da0086f86bfe4924e7cf96
2020-01-26 18:27:39 +00:00
libraryupgrader 63fa79a946 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: I668a20ccee89a7822d6cb3fe6001d865ee266f0d
2020-01-17 05:29:10 +00:00
libraryupgrader 6afa14fe4d build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag

Change-Id: If59d450236a7d1afa3c6a05536abea819535f984
2020-01-10 17:51:43 +00:00
libraryupgrader c8de97fcd2 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: Iaaea284190aa9306177b3ee945a75da631a89b93
2019-12-16 10:11:47 +00:00
Daimona Eaytoy dd1d022c9d build: Bump mediawiki-phan-config to 0.8.0
Change-Id: Iafcf36672189c7729e9936634d95e585ed2247be
2019-10-20 12:27:16 +00:00
James D. Forrester dec54cf56e build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I23702d16eee09292b63051f94103a3bca3b1dd13
2019-10-11 12:42:23 -07:00
libraryupgrader ef3906b82b build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* grunt-banana-checker: 0.7.0 → 0.7.1

Change-Id: Idaf7723adc2136f1fc39573897604c056f814e49
2019-07-16 04:47:13 +00:00
James D. Forrester 9aca5ab86c build: Upgrade phan-taint-check-plugin from 1.5.0 to 2.0.1
Change-Id: Ie2bd989a52ec61ad881fd4f12d0598b42f4ca2e0
2019-07-09 13:00:47 -07:00
libraryupgrader cdd3c69db5 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I59039cf354649d34661be0151df5dd94807606b4
2019-06-10 04:40:05 +00:00
libraryupgrader a32c2a42e5 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Change-Id: Iec9fc6e2ec593f7bcf8c1fe6b5762b65db2929ec
2019-06-07 15:54:03 +00:00
Umherirrender e1442aa343 Add phan
Change-Id: I7352036536c1c8415b681f48f3ee0dcec315c035
2019-05-31 14:48:22 +00:00
James D. Forrester 358d2fa01c .phpcs.xml: Drop unnecessary exclusions
Already ignored, or don't have any PHP files.

Change-Id: I644148617e2d6ce2fdb1d406ca2cc9c2b5aabbd7
2019-04-05 17:43:18 -07:00
libraryupgrader 36ef6d856f build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgParser
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle

The following sniffs was renamed:
* MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle

Change-Id: Iabe2a787bae7fe299bed548c0097613ff5493a0d
2019-02-06 18:33:13 +00:00
libraryupgrader ef389963e1 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I2c2c3c74c94561af6e1844d9109a8f11ee8ae16b
2018-11-14 05:59:31 +00:00
Umherirrender 44b43b3825 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I1273bcfd31d7b950ddc47ff921c909f05282e54d
2018-10-26 20:26:59 +02:00
libraryupgrader fec1e679fd build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Idfe6493936b621cd244723e802c272def8916f08
2018-09-02 21:52:54 +00:00
libraryupgrader 55f32570aa build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I6cebd9c602f118636e2afbafbf07cd1ec3feb372
2018-09-01 05:25:11 +00:00
Kunal Mehta 01433dc393 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: I6628c3faddd240024fa8f96967e3541e96ea0ff3
2018-08-24 21:34:28 -07:00
James D. Forrester 2912673b66 build: Update mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: Ida0126306b33d1e9e405e87a448b7a241ad71d2e
2018-07-26 09:45:02 -07:00
libraryupgrader 54f9335232 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: Idfc004c9439d9b8421f378fdd559990b09ad851c
2018-05-25 23:18:11 +00:00
libraryupgrader 988b1bf3b6 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I5483568dadf773328f44b281ad6a3d98b4dbb3fe
2018-04-13 19:08:03 +00:00
libraryupgrader 0c6e488c2f build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

Change-Id: I9e8470d0a967fdab4b410aa999cc98d52fb780e8
2018-03-28 18:28:05 +00:00
libraryupgrader 283cf053e4 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ieda87cf26697a6f8f9ce24398be8e0d569c4b7c8
2018-03-09 02:41:19 +00:00
libraryupgrader a503c7004a build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ifc670629f1dfe9c9ac3880118d4b73ead77393b5
2018-02-25 05:34:34 +00:00