Commit graph

41 commits

Author SHA1 Message Date
libraryupgrader d3479f8ca2 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

Change-Id: I48607226707fcc6c30a194e741d367ddd0c2f27b
2020-01-14 19:37:04 +00:00
libraryupgrader bd97827f43 build: Updating npm dependencies
* grunt-stylelint: 0.9.0 → 0.13.0
* stylelint-config-wikimedia: 0.4.2 → 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: Ic0f66acde9ca9ebf2606b6f5afea25c562ceb828
2020-01-10 16:05:39 +00:00
libraryupgrader 3fe88580cb build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Depends-On: I76cbaf355462a41aec40d239577123de6b04223a
Change-Id: I7780d46c2828947cf753ea2390d3b1dd645b6758
2019-12-28 19:05:28 +00:00
libraryupgrader 6332b4497d build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* mediawiki/mediawiki-codesniffer: 26.0.0 → 28.0.0
  The following sniffs are failing and were disabled:
  * PSR12.Files.ImportStatement.LeadingSlash

  The following sniffs now pass and were enabled:
  * MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

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

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ibdd18a68f35644e2a6abea849e47d6a1b284fbd4
2019-12-18 04:29:56 +00:00
Umherirrender dab839001a build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I752c89cd13ecc55cbbcbe9c3b94c862c096daf87
2019-11-06 20:02:54 +01:00
libraryupgrader 4e11554699 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I9fd2dfd545bc927c3e2049c34ad0a8b218a9011a
2019-08-03 04:41:58 +00:00
James D. Forrester 048be08fa5 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
The method ReplaceTextUtils::link (which is already complicated because
it tries to support ancient MediaWiki) can perform different levels of
escaping depending on whether the HtmlArmor class exists. This is confusing
for taint-check and for humans, and can inevitably lead to errors. Plus
it's bad practice to have a method returning something with a variable
level of taintedness, especially if that depends on something ephemeral
like if a class exists or not.

Thus, the HtmlArmor part is removed, the text is escaped for Linker::link,
and the method now requires non-escaped HTML to be passed in.

Change-Id: I6e2783827580e3d470d316f1d3879679eb67aeda
2019-07-11 14:36:30 +00:00
libraryupgrader edeb9df910 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I4b08bef5257f973f5cfa90c5e5bc8080976a19e6
2019-06-10 10:33:36 +00:00
James D. Forrester 0b484df6aa build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ifbad8b383357ac649154403fb2c3f103159f792a
2019-05-19 18:08:19 -07:00
libraryupgrader 73843895f6 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I6132f22888b2e63087d9b47fbde2bf5872b87b5b
2019-03-10 22:24:02 -07:00
laasyasree bf89ab371d Upgrade ReplaceText extension to use newer phan
Bug: T216938
Change-Id: I30e9bd108e1196efd822525423ec94d9a1f6a318
2019-03-10 14:19:59 -07:00
libraryupgrader bf538064a8 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

Change-Id: I56fb225b2f158ed69fed80fe9a1a2066f407064f
2019-02-07 03:44:53 +00:00
libraryupgrader 3f662a5f81 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: If65a71ec9fa7daf98818d0d26d60aa726d78d9f5
2018-11-16 08:31:06 +00:00
libraryupgrader 0c69da23c1 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I7c86b02dde7543af0c6f04644de5c5442209fce1
2018-09-08 05:22:29 +00:00
libraryupgrader 6adf0a0712 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
The following sniffs are failing and were disabled:
* Squiz.PHP.NonExecutableCode.Unreachable

Change-Id: Ifa593af5d3fb2aa38dea9f73e903a2fb27d1d6e6
2018-09-03 14:30:30 +00:00
libraryupgrader 0741f2a1f5 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: Idd5962254aef58bd4e13836e0fae29ee22a9a7fb
2018-09-01 13:56:30 +00:00
Kunal Mehta db5e21e1b9 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: Ibb8736ac41c05b4eed5655ee89627a8894df4dba
2018-08-20 21:46:31 -07:00
libraryupgrader aa0b1941ed build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: Ib851d00e1c1a418f27f162d661c0a94a7790c86d
2018-07-27 16:30:33 +00:00
libraryupgrader 65abeaba88 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I9b35b2e447f3dfd5b9cf7f53e6524c4033d781f9
2018-06-08 07:41:53 +00:00
libraryupgrader 0b4b0c7cea build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I2202a99f3ff7c614e3cc9d17035119107a5fa73e
2018-05-26 06:08:39 +00:00
Kunal Mehta efd15f5058 Add phan configuration
Change-Id: I405d1d86e43c99fbaecf027461781bf57110421e
2018-04-27 01:17:04 +00:00
libraryupgrader dff64af71b build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I71746209a189b17b8dd21fdbd2ff1bfb6f0573c3
2018-04-14 05:49:56 +00:00
libraryupgrader 301b74fcd4 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: Id1c06f59d040ed42e06ae1cfddb40dff6159475f
2018-03-29 05:30:54 +00:00
libraryupgrader 081eed2ed7 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ie9cc801f5e2b99dc5ceb39f5d60d5884c4c874de
2018-03-10 03:33:56 +00:00
libraryupgrader 14775513b4 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Id01671b0422ecd645b84825fd783fb9fed8271a2
2018-02-25 10:54:21 +00:00
libraryupgrader 2cad90e046 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ia413ba0cc57b72ab67f8b81def1ff111a866fb21
2018-02-18 08:04:41 +00:00
libraryupgrader 4534e11437 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I4c405f01364fb35838f70d63ed137034152b7356
2018-02-15 13:56:54 +00:00
libraryupgrader 988274fe4a build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MemberVarScope.Missing
* Squiz.Scope.MethodScope.Missing

Change-Id: I800d2343b5e7627f7d1442a5e95c3e30a4b9bfb1
2017-12-30 02:27:47 +00:00
libraryupgrader 8fe5797ace build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I7e784d46635a45f454c5c00d0d1ec6a9bcbaa144
2017-12-11 06:54:07 +00:00
Umherirrender 6c3100ce67 build: Always exclude vendor and node_modules
Change-Id: I528cddc1630222ceb5710352ff07cf28f54bec6d
2017-11-11 11:37:10 +01:00
Kunal Mehta a50e803bc4 build: Adding MinusX
Change-Id: I907ce97e6322227af5aabd5ac01c24f0c4c38f34
2017-11-03 18:58:05 -07:00
libraryupgrader 5b62eb17b5 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I25b5c9ad4e30f47e7682c0cce2c1cb850a9746e2
2017-10-21 04:29:33 +00:00
libraryupgrader bfeb861137 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I988ca49407fe3fc195df511e64ff747c9effb927
2017-09-24 05:32:34 +00:00
libraryupgrader 37b0b55b8f build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: I72657b149664e7136e91ccb5c3cdbe2bfaef847e
2017-09-01 04:56:33 +00:00
Kunal Mehta e099bd7647 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: Ide9ed648b36b752fe9290ba20fad4d0932da6eff
2017-08-11 00:26:58 -04:00
Kunal Mehta a6029cb511 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I2db571d4ca6345d2333a87ad51b76b499d24b083
2017-07-23 00:36:33 -07:00
Kunal Mehta 41c30017d9 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ib0c23aa0e19c771178adfe868c4da2deab03828a
2017-07-01 01:41:45 -07:00
Kunal Mehta 8a599d3f07 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.FunctionComment.Missing.Protected
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: Ic25b2569656fb1b30b759c920644c2d6f777a492
2017-06-25 13:33:00 +00:00
Antoine Musso 092d8f6f7d 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
Umherirrender 580f21b495 Add fix phpcbf command to composer.json
This allows to use the phpcbf easily

Change-Id: Ib642d53078ccd722c250d1b1f9ad1d56b8e1adea
2017-04-29 13:07:23 +02:00
Paladox 49b2852df6 Add composer entry point with phplint and phpcs
Bug: T136589
Change-Id: Id48228a7e90ed474ba11f3e6eea4a677c5488c03
2016-08-28 00:55:27 +01:00