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:
libraryupgrader 2021-05-03 09:10:46 +00:00
parent e2d601f005
commit 7df8411050
4 changed files with 4 additions and 5 deletions

View file

@ -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>

View 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": [

View file

@ -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;