Commit graph

52 commits

Author SHA1 Message Date
libraryupgrader 00fc2c3f1e build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle

Additional changes:
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Added the `wikimedia/jquery` profile in .eslintrc.json (T262222).
* Removed global `$`, included in the `wikimedia/jquery` profile (T262222).
* Removed global `mw`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Ib0acbf92bcb8327ecd065db5db1083d7b222976c
2020-11-04 17:24:30 +00:00
libraryupgrader a92058e1e7 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: If7af8169d797d9c27dbeff127cd8becc6013bbdd
2020-09-25 08:35:51 +00:00
libraryupgrader b9c82f4d4a build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: I83fff3a5ff566790bc051d7bfffe7f3b124d3de7
2020-06-02 01:54:01 +00:00
libraryupgrader a36e8fd462 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

Change-Id: I81fecb1e6a5cc12e490114836c8d8d44d1709b04
2020-05-31 12:41:48 +00:00
libraryupgrader d10519de40 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.VariadicArgument.SuperfluousVariadicArgComment

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I97d1101854d87f7d0d4c8f14b629bee75df6030d
2020-05-30 06:09:47 +00:00
libraryupgrader 9facd741cc 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: I684372efb0248862700184546a5172bfd6d81ae0
2020-04-22 19:07:11 +00:00
Brad Jorsch 9030ab0265 Update mediawiki/minus-x to 1.1.0
This also lets us remove .minus-x.json, as it now recognizes all three
executables as such under all supported versions of PHP (7.2 to 7.4).

Change-Id: I3eeaf778af9df56ef3783b6f30767397add312f4
2020-03-17 11:55:23 -04:00
libraryupgrader 7b2cda5591 build: Updating composer dependencies
* mediawiki/minus-x: 0.3.2 → 1.0.0
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: Ibdedddbf19eb4712c31c1b95024391ff013f73e8
2020-02-07 06:37:29 +00:00
libraryupgrader 6adb1c423b 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
* MediaWiki.Commenting.FunctionComment.WrongStyle

Change-Id: Ifa2c7a7febc1e06c28318305cfef0b0103c6e8eb
2020-01-14 14:49:35 +00:00
libraryupgrader c874103030 build: Updating npm dependencies
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.4.3 → 0.8.0

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Ic087c1d4a6f6d7ec48da8c498a9b9d81063ce0e4
2020-01-10 10:48:47 +00:00
libraryupgrader 3b2d40f28d build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Depends-On: I9661ed8dd80cb827d7a1414c1eef952c0933a1f0
Change-Id: Ia34d9d9eade74cbb261dbfe4e39971de57cab888
2019-12-31 20:46:17 +00:00
libraryupgrader b5e2a4deb8 build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

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

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I9337ad916e96d48ef3ed6e4c7c901ed323193ae5
2019-12-18 05:33:18 +00:00
Umherirrender e70a548fbc build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: Ia8cb36d60d56eb899e96eacf7640d8da50c4adfe
2019-11-26 09:30:36 +00:00
James D. Forrester 4a93593abf build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ie4cb4cbee163943cd159eb0ad1d7deaac10e68d8
2019-10-11 11:31:29 -07:00
libraryupgrader 8deabe62d4 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* 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
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Change-Id: I8a6a2b4264a878c01d1d5a1b58ea59eb400f26a5
2019-08-03 04:53:01 +00:00
James D. Forrester 9309269892 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I3aa1b3ee7de78c11b66fdce02686720587eb4f72
2019-07-11 08:13:40 +00:00
libraryupgrader 0014240a8f build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I0396326049bbfa53934b645ba8d3e0120030341d
2019-06-11 00:09:17 +00:00
James D. Forrester efb73e9b3d build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I289a94450f3053ecf6d4555525e6dc09a21a0ca3
2019-05-19 12:38:55 +00:00
Kunal Mehta 8328acb9b1 Upgrade to newer phan
Bug: T216940
Change-Id: If8c2027f6bb7b91504fb51a3d2668b6d929b5da1
2019-03-20 21:19:37 -07:00
libraryupgrader a8bf81966b build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I0c1daad234466436f062edcf432d974167dc7f81
2019-02-07 03:57:11 +00:00
libraryupgrader eb846c758c build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I234e1c487dcbc4b6148380d8af04067e19713997
2018-11-16 08:42:21 +00:00
libraryupgrader fe11833277 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I34ee2ce13f1c9f17609af30bf23ffd8b166907ac
2018-09-08 05:35:16 +00:00
libraryupgrader 8b489ca160 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I091003f69b82c7cacc4cda320a38b1b07f3cdb6b
2018-09-03 21:33:35 +00:00
Kunal Mehta fed937741f 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: I09c53f9148aad57f73ddf917a84d053e48c07037
2018-08-31 22:05:27 -07:00
libraryupgrader 1d7a373a4c build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I02d3748d210647d22e69fc7b75421dbf8f23be46
2018-07-27 17:28:00 +00:00
libraryupgrader f694518df8 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I9d1ee6e54a1f48469cb6438af726e067ab60ce87
2018-06-08 07:49:07 +00:00
libraryupgrader c88d231aed build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.ForbiddenFunctions.popen
* MediaWiki.Usage.ForbiddenFunctions.proc_open
* MediaWiki.Usage.ForbiddenFunctions.shell_exec

Change-Id: I39e352194565a5526c1a8a34992c028fb305b03b
2018-05-26 06:18:46 +00:00
Kunal Mehta d245edbb94 Add phan configuration
Manually import LuaSandbox's git repository as a composer dependency to
provide the PHP stubs for phan.

Change-Id: I6226b9211f31d829da5a2775c6f5cf3599dd8ebc
2018-05-14 18:41:59 -07:00
libraryupgrader 55391e75ee build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I9fd09d38314811555b92ad92d6847892ad3150cb
2018-04-14 05:57:25 +00:00
libraryupgrader 7973dff09a build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PhpunitAnnotations.NotTestClass

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

Change-Id: I56ea06397c7c2b586cc9dca2425535eb565ea231
2018-03-29 05:35:12 +00:00
libraryupgrader 1df0fc6eaa build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Icfff6679043fe9367c70db640dfe71b3938c5ad5
2018-03-10 04:01:42 +00:00
libraryupgrader 48492a4cf4 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I5a08a0305dbd340b347b9152075e70d8a717c7ed
2018-02-25 10:58:53 +00:00
libraryupgrader 90e6f2f3f1 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I6b93b27c81042db74923086c378b8f37a3f4d928
2018-02-18 08:24:23 +00:00
libraryupgrader 6d1a6ffb01 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: I07b2cf945f44fd5532812a712f7dd40d2f208be2
2018-02-15 13:57:18 +00:00
libraryupgrader a3334f72d8 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound
* Squiz.Scope.MethodScope.Missing

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

Change-Id: I7499d975eb378abd500619f0026a32b59fe6dda6
2017-12-30 02:28:08 +00:00
libraryupgrader cc01666f67 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: If3752fda98df9b6f80c1c54da967478042d8b449
2017-12-11 07:12:41 +00:00
Umherirrender ea108db99c build: Always exclude node_modules
Change-Id: I3b5c4b5e25bca16ccd7e99e621760759054d2835
2017-11-11 18:42:26 +01:00
Kunal Mehta e925e08592 build: Updating mediawiki/minus-x to 0.2.0
Change-Id: Ia150e2910b090340ecb7d347a486c6716385b383
2017-10-30 09:35:52 -07:00
libraryupgrader 83f1afa622 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: If93c20dc23af675f6a12b0a7a8c579ade865c411
2017-10-21 04:30:02 +00:00
libraryupgrader 0e887dbe4a build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
The following sniffs now pass and were enabled:
* MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures

Change-Id: I46b57e97547d05722f3c72722e7a6587db96831a
2017-09-24 05:32:54 +00:00
Brad Jorsch 3b4dc92716 Remove deprecated stuff from composer.json
I'm told[1] these keys are for making the exitension installable via
composer, which is something we don't want and is deprecated.

The keys kept are for installing dependencies of the extension via
composer, which we do want.

[1]: See http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-dev/20160823.txt at timestamp 17:46:17.

Change-Id: I87c2ea5960444218646de166ca8dd0e2d730712f
2017-09-23 17:18:11 +00:00
Kunal Mehta 72f0a19560 Add minus-x to "composer test"
See <https://www.mediawiki.org/wiki/MinusX>.

Change-Id: I316b9ac9246fe61301d302b73a402bd7dfcf1dda
2017-09-12 23:47:16 -07:00
libraryupgrader 4b15b35775 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

Change-Id: I1d70fb8c7ef406b40303bf21fdc9bc130e0585a6
2017-09-01 04:56:49 +00:00
Kunal Mehta 3b20423ff7 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle

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

Change-Id: I1074884ab6810dd082b1baebb25d02b997424818
2017-08-11 00:28:16 -04:00
WMDE-Fisch e1763ff69a Updating mediawiki-codesniffer to 0.10.1 and fix issues
Change-Id: Iac61e49ab0f1318fcb7b23b4c90b6a427fe8957f
2017-07-25 17:16:47 +00:00
Umherirrender 18b22b3a3d build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I92b9fb936cb8fa8411850b97804e2aacf3984322
2017-07-08 15:42:23 +02:00
Antoine Musso 82168b3a05 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
Brad Jorsch 7d676c3bd2 Specify license and add COPYING file
Bug: T123943
Bug: T128586
Change-Id: I5cb16829bb8a4debe4b0e6ca7d891a0c98591f9a
2016-09-16 01:38:15 +00:00
Kunal Mehta 08a39470c0 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Also added "composer fix" command.

Change-Id: I8da17b799929b7caed0e0a89014c6ab15c39f0c6
2016-05-27 18:24:16 -07:00
Ricordisamoa 7ec8675e85 Add mediawiki/mediawiki-codesniffer
Failing rules are disabled for now.

Change-Id: I9c4cbd7865a0793703b3ca39045087c5ab691bd1
2016-05-18 15:16:32 +02:00