mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-27 17:50:35 +00:00
build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0 The following sniffs now pass and were enabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0 Change-Id: Ifaca144ccfd753ea00d1dbba0d12941b0050e2a4
This commit is contained in:
parent
e2d601f005
commit
7df8411050
|
@ -3,7 +3,6 @@
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
||||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
|
|
||||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||||
</rule>
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
"mediawiki/mediawiki-codesniffer": "36.0.0",
|
||||||
"mediawiki/mediawiki-phan-config": "0.10.6",
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
||||||
"mediawiki/minus-x": "1.1.1",
|
"mediawiki/minus-x": "1.1.1",
|
||||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
"php-parallel-lint/php-parallel-lint": "1.3.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"fix": [
|
"fix": [
|
||||||
|
|
|
@ -39,7 +39,7 @@ class ParserFunctions {
|
||||||
static $done = false;
|
static $done = false;
|
||||||
if ( !$done ) {
|
if ( !$done ) {
|
||||||
global $wgHooks;
|
global $wgHooks;
|
||||||
$wgHooks['ParserClearState'][] = function () {
|
$wgHooks['ParserClearState'][] = static function () {
|
||||||
self::$mTimeChars = 0;
|
self::$mTimeChars = 0;
|
||||||
};
|
};
|
||||||
$done = true;
|
$done = true;
|
||||||
|
|
Loading…
Reference in a new issue