mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-23 22:33:48 +00:00
build: Updating dependencies
composer: * mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0 The following sniffs are failing and were disabled: * Generic.ControlStructures.DisallowYodaConditions.Found * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage * MediaWiki.Usage.StaticClosure.StaticClosure * MediaWiki.WhiteSpace.UnaryMinusSpacing.SpaceFound npm: * ajv: 6.10.2 → 6.12.6 * https://github.com/advisories/GHSA-v88g-cgmw-v5xw * ansi-regex: 5.0.0 → 5.0.1 * https://github.com/advisories/GHSA-93q8-gq69-wqmw * https://github.com/advisories/GHSA-93q8-gq69-wqmw * async: 3.2.0 → 3.2.3 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 * minimist: 1.2.5 → 1.2.6 * https://github.com/advisories/GHSA-xvch-5gv4-984h * nanoid: 3.1.23 → 3.3.2 * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2 * nomnom: 1.8.1 → 1.8.1 * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq * underscore: 1.6.0 → 1.6.0 * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq Additional changes: * Set `name` in package.json. * Dropped default excluded folder(s) from .phpcs.xml (T274684). * composer.json: Updated phpcs command in composer test (T280592). * composer.json: Added phpcs command to scripts (T280592). Change-Id: Ia3147e9e457519b3c538c816254d09c62f9a40bb
This commit is contained in:
parent
9274c4f953
commit
2b5d01aed9
|
@ -1,12 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="Generic.ControlStructures.DisallowYodaConditions.Found" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
||||
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
|
||||
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage" />
|
||||
<exclude name="MediaWiki.Usage.StaticClosure.StaticClosure" />
|
||||
<exclude name="MediaWiki.WhiteSpace.UnaryMinusSpacing.SpaceFound" />
|
||||
<exclude name="Squiz.PHP.NonExecutableCode.Unreachable" />
|
||||
<exclude name="Squiz.Scope.MethodScope.Missing" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
<exclude-pattern>vendor</exclude-pattern>
|
||||
</ruleset>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.2",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
|
@ -13,9 +13,10 @@
|
|||
],
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"phpcs -p -s",
|
||||
"@phpcs",
|
||||
"minus-x check ."
|
||||
],
|
||||
"phan": "phan -d . --long-progress-bar"
|
||||
"phan": "phan -d . --long-progress-bar",
|
||||
"phpcs": "phpcs -sp --cache"
|
||||
}
|
||||
}
|
||||
|
|
5341
package-lock.json
generated
5341
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "ReplaceText",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "grunt test"
|
||||
|
|
Loading…
Reference in a new issue