css-sanitizer: main (log #2366478)

sourcepatches

This run took 65 seconds.

From a0e57a1eaa6c588c9a9e831a049b60a75acf3b4f Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 28 Feb 2026 03:33:15 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 50.0.0

Change-Id: I4c86593b8e3d43e79e3dc44dbc5424e45de0f4af
---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index 08f0907..735e8d5 100644
--- a/composer.json
+++ b/composer.json
@@ -27,7 +27,7 @@
 		"wikimedia/scoped-callback": "3.0.0 || 4.0.0 || 5.0.0"
 	},
 	"require-dev": {
-		"mediawiki/mediawiki-codesniffer": "48.0.0",
+		"mediawiki/mediawiki-codesniffer": "50.0.0",
 		"mediawiki/mediawiki-phan-config": "0.19.0",
 		"mediawiki/minus-x": "2.0.1",
 		"php-parallel-lint/php-console-highlighter": "1.0.0",
-- 
2.47.3

$ date
--- stdout ---
Sat Feb 28 03:32:14 UTC 2026

--- end ---
$ git clone file:///srv/git/css-sanitizer.git /src/repo --depth=1 -b master
--- stderr ---
Cloning into '/src/repo'...
--- stdout ---

--- end ---
$ git config user.name libraryupgrader
--- stdout ---

--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---

--- end ---
$ git submodule update --init
--- stdout ---

--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.

--- end ---
$ git show-ref refs/heads/master
--- stdout ---
e0d8311a5e8164589e0c07099d05164a7034289a refs/heads/master

--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 67 installs, 0 updates, 0 removals
  - Locking composer/pcre (3.3.2)
  - Locking composer/semver (3.4.4)
  - Locking composer/spdx-licenses (1.5.9)
  - Locking composer/xdebug-handler (3.0.5)
  - Locking dealerdirect/phpcodesniffer-composer-installer (v1.2.0)
  - Locking doctrine/deprecations (1.1.6)
  - Locking felixfbecker/advanced-json-rpc (v3.2.1)
  - Locking mediawiki/mediawiki-codesniffer (v48.0.0)
  - Locking mediawiki/mediawiki-phan-config (0.19.0)
  - Locking mediawiki/minus-x (2.0.1)
  - Locking mediawiki/phan-taint-check-plugin (9.0.0)
  - Locking myclabs/deep-copy (1.13.4)
  - Locking netresearch/jsonmapper (v4.5.0)
  - Locking nikic/php-parser (v5.7.0)
  - Locking phan/phan (6.0.1)
  - Locking phan/tolerant-php-parser (v0.2.0)
  - Locking phan/var_representation_polyfill (0.1.4)
  - Locking phar-io/manifest (2.0.4)
  - Locking phar-io/version (3.2.1)
  - Locking php-parallel-lint/php-console-color (v1.0.1)
  - Locking php-parallel-lint/php-console-highlighter (v1.0.0)
  - Locking php-parallel-lint/php-parallel-lint (v1.4.0)
  - Locking phpcsstandards/phpcsextra (1.4.0)
  - Locking phpcsstandards/phpcsutils (1.1.1)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.6.6)
  - Locking phpdocumentor/type-resolver (1.12.0)
  - Locking phpstan/phpdoc-parser (2.3.2)
  - Locking phpunit/php-code-coverage (10.1.16)
  - Locking phpunit/php-file-iterator (4.1.0)
  - Locking phpunit/php-invoker (4.0.0)
  - Locking phpunit/php-text-template (3.0.1)
  - Locking phpunit/php-timer (6.0.0)
  - Locking phpunit/phpunit (10.5.63)
  - Locking psr/container (2.0.2)
  - Locking psr/log (3.0.2)
  - Locking sabre/event (5.1.7)
  - Locking sebastian/cli-parser (2.0.1)
  - Locking sebastian/code-unit (2.0.0)
  - Locking sebastian/code-unit-reverse-lookup (3.0.0)
  - Locking sebastian/comparator (5.0.5)
  - Locking sebastian/complexity (3.2.0)
  - Locking sebastian/diff (5.1.1)
  - Locking sebastian/environment (6.1.0)
  - Locking sebastian/exporter (5.1.4)
  - Locking sebastian/global-state (6.0.2)
  - Locking sebastian/lines-of-code (2.0.2)
  - Locking sebastian/object-enumerator (5.0.0)
  - Locking sebastian/object-reflector (3.0.0)
  - Locking sebastian/recursion-context (5.0.1)
  - Locking sebastian/type (4.0.0)
  - Locking sebastian/version (4.0.1)
  - Locking squizlabs/php_codesniffer (3.13.2)
  - Locking symfony/console (v8.0.6)
  - Locking symfony/deprecation-contracts (v3.6.0)
  - Locking symfony/polyfill-ctype (v1.33.0)
  - Locking symfony/polyfill-intl-grapheme (v1.33.0)
  - Locking symfony/polyfill-intl-normalizer (v1.33.0)
  - Locking symfony/polyfill-mbstring (v1.33.0)
  - Locking symfony/service-contracts (v3.6.1)
  - Locking symfony/string (v8.0.6)
  - Locking theseer/tokenizer (1.3.1)
  - Locking webmozart/assert (2.1.6)
  - Locking wikimedia/scoped-callback (v5.0.0)
  - Locking wikimedia/testing-access-wrapper (4.0.0)
  - Locking wikimedia/update-history (1.0.3)
  - Locking wikimedia/utfnormal (4.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 67 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing squizlabs/php_codesniffer (3.13.2): Extracting archive
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.2.0): Extracting archive
  - Installing composer/pcre (3.3.2): Extracting archive
  - Installing phpcsstandards/phpcsutils (1.1.1): Extracting archive
  - Installing phpcsstandards/phpcsextra (1.4.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.9): Extracting archive
  - Installing composer/semver (3.4.4): Extracting archive
  - Installing mediawiki/mediawiki-codesniffer (v48.0.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
  - Installing symfony/string (v8.0.6): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.1): Extracting archive
  - Installing symfony/console (v8.0.6): Extracting archive
  - Installing sabre/event (5.1.7): Extracting archive
  - Installing phan/var_representation_polyfill (0.1.4): Extracting archive
  - Installing phan/tolerant-php-parser (v0.2.0): Extracting archive
  - Installing netresearch/jsonmapper (v4.5.0): Extracting archive
  - Installing webmozart/assert (2.1.6): Extracting archive
  - Installing phpstan/phpdoc-parser (2.3.2): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing doctrine/deprecations (1.1.6): Extracting archive
  - Installing phpdocumentor/type-resolver (1.12.0): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.6.6): Extracting archive
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
  - Installing psr/log (3.0.2): Extracting archive
  - Installing composer/xdebug-handler (3.0.5): Extracting archive
  - Installing phan/phan (6.0.1): Extracting archive
  - Installing mediawiki/phan-taint-check-plugin (9.0.0): Extracting archive
  - Installing mediawiki/mediawiki-phan-config (0.19.0): Extracting archive
  - Installing mediawiki/minus-x (2.0.1): Extracting archive
  - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
  - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
  - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive
  - Installing sebastian/version (4.0.1): Extracting archive
  - Installing sebastian/type (4.0.0): Extracting archive
  - Installing sebastian/recursion-context (5.0.1): Extracting archive
  - Installing sebastian/object-reflector (3.0.0): Extracting archive
  - Installing sebastian/object-enumerator (5.0.0): Extracting archive
  - Installing sebastian/global-state (6.0.2): Extracting archive
  - Installing sebastian/exporter (5.1.4): Extracting archive
  - Installing sebastian/environment (6.1.0): Extracting archive
  - Installing sebastian/diff (5.1.1): Extracting archive
  - Installing sebastian/comparator (5.0.5): Extracting archive
  - Installing sebastian/code-unit (2.0.0): Extracting archive
  - Installing sebastian/cli-parser (2.0.1): Extracting archive
  - Installing phpunit/php-timer (6.0.0): Extracting archive
  - Installing phpunit/php-text-template (3.0.1): Extracting archive
  - Installing phpunit/php-invoker (4.0.0): Extracting archive
  - Installing phpunit/php-file-iterator (4.1.0): Extracting archive
  - Installing theseer/tokenizer (1.3.1): Extracting archive
  - Installing nikic/php-parser (v5.7.0): Extracting archive
  - Installing sebastian/lines-of-code (2.0.2): Extracting archive
  - Installing sebastian/complexity (3.2.0): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (3.0.0): Extracting archive
  - Installing phpunit/php-code-coverage (10.1.16): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.4): Extracting archive
  - Installing myclabs/deep-copy (1.13.4): Extracting archive
  - Installing phpunit/phpunit (10.5.63): Extracting archive
  - Installing wikimedia/scoped-callback (v5.0.0): Extracting archive
  - Installing wikimedia/testing-access-wrapper (4.0.0): Extracting archive
  - Installing wikimedia/update-history (1.0.3): Extracting archive
  - Installing wikimedia/utfnormal (4.0.0): Extracting archive
  0/65 [>---------------------------]   0%
 28/65 [============>---------------]  43%
 46/65 [===================>--------]  70%
 58/65 [========================>---]  89%
 65/65 [============================] 100%
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils

--- end ---
Upgrading c:mediawiki/mediawiki-codesniffer from 48.0.0 -> 50.0.0
$ /usr/bin/composer update
--- stderr ---
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 3 updates, 0 removals
  - Upgrading mediawiki/mediawiki-codesniffer (v48.0.0 => v50.0.0)
  - Upgrading phpcsstandards/phpcsutils (1.1.1 => 1.2.2)
  - Upgrading squizlabs/php_codesniffer (3.13.2 => 3.13.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 3 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Upgrading squizlabs/php_codesniffer (3.13.2 => 3.13.5): Extracting archive
  - Upgrading phpcsstandards/phpcsutils (1.1.1 => 1.2.2): Extracting archive
  - Upgrading mediawiki/mediawiki-codesniffer (v48.0.0 => v50.0.0): Extracting archive
 0/3 [>---------------------------]   0%
 2/3 [==================>---------]  66%
 3/3 [============================] 100%
Generating autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils

--- end ---
Previously failing phpcs rules: {'MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn'}
$ vendor/bin/phpcs --report=json
--- stdout ---
{"totals":{"errors":34,"warnings":0,"fixable":0},"files":{"\/src\/repo\/src\/Parser\/Tokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/DeclarationOrAtRule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/RuleList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/CSSObject.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/TokenListTokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/ComponentValueList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/DeclarationList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/StringDataSource.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Exception\/ParseException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/QualifiedRule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/MarginAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/ComponentValue.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/CSSFunction.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/TokenList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/ImportAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/KeyframesAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/CounterStyleAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/AtRule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/MediaAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/DeclarationOrAtRuleList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Util.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/StylesheetSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Stylesheet.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Juxtaposition.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/FunctionMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/SimpleBlock.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/PropertySanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/SupportsAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/NonEmpty.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/DelimMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/CheckedMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/NoWhitespace.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/KeywordMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/BlockMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/AnythingMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Declaration.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/StyleAttributeSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/TokenMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Alternative.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/WhitespaceMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/FontFaceAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/CustomPropertyMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/Sanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/RuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/DeclarationListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TestCSSObjectList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/UnorderedGroup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Quantifier.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/CSSObjectList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/UrlMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/EncoderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/GrammarMatch.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TestCSSObjectListItem.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/UrangeMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/TokenListTokenizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/PageAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/DeclarationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/StyleRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TokenListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/StylesheetTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/CSSFunctionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/QualifiedRuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/RuleListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Matcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/MarginAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/NothingMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/DeclarationOrAtRuleListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/NamespaceAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/ImportAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/SimpleBlockTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/PageAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/NothingMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/MediaAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/FontFaceAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/AtRuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StylesheetSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/ComponentValueListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/CounterStyleRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/CheckedMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/Parser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StyleAttributeSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/SupportsAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Token.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherTestMock.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Rule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/RuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/AnythingMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/TestMatcherFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StyleRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/DelimMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/NoWhitespaceTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/MinificationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/BlockMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/KeyframesAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/NonEmptyTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/UtilTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/UrlMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/FunctionMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/RuleSanitizerTestBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/PropertySanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/TokenMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/KeywordMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/CustomPropertyMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/AlternativeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/WhitespaceMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/Encoder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatchTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TokenTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/DataSourceTokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/DataSource.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/SanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/UnorderedGroupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/DataSourceTokenizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherTestBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/QuantifierTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/JuxtapositionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/CSSObjectListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StylePropertySanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/ParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/UrangeMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/StringDataSourceTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/MatcherFactory.php":{"errors":33,"warnings":0,"messages":[{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":73,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":82,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":91,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":100,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":134,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":156,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":166,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":344,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":357,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":369,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":379,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":389,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":399,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":419,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":429,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":439,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":451,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":463,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":475,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":497,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":507,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":517,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":548,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":576,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":604,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":632,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":659,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":755,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":774,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1070,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1155,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1176,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1665,"column":9}]},"\/src\/repo\/src\/Sanitizer\/StylePropertySanitizer.php":{"errors":1,"warnings":0,"messages":[{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":2137,"column":9}]},"\/src\/repo\/src\/Sanitizer\/NamespaceAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]}}}

--- end ---
PHPCS run failed
$ vendor/bin/phpcs --report=json
--- stdout ---
{"totals":{"errors":34,"warnings":0,"fixable":0},"files":{"\/src\/repo\/src\/Objects\/RuleList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/CSSObject.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/Tokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/DeclarationOrAtRule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/TokenListTokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/DeclarationList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/ComponentValueList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/StylesheetSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/PropertySanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/StringDataSource.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Exception\/ParseException.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/AtRule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/QualifiedRule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/DeclarationOrAtRuleList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/ComponentValue.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/CSSFunction.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/CheckedMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/MarginAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/ImportAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/StyleAttributeSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Util.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/SimpleBlock.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/WhitespaceMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/CustomPropertyMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/TokenList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/CounterStyleAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Declaration.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/NoWhitespace.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/DelimMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/KeyframesAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Stylesheet.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/BlockMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Juxtaposition.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/FunctionMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/SupportsAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/MediaAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Alternative.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/KeywordMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/UrlMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/FontFaceAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/NonEmpty.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/AnythingMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TestCSSObjectListItem.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/GrammarMatch.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/PageAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/TokenMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/DeclarationListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/UrangeMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TestCSSObjectList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/RuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/UnorderedGroup.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/TokenListTokenizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/EncoderTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Quantifier.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/Sanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/StylesheetTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/DeclarationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/CSSObjectList.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/NamespaceAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TokenListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/MarginAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/Matcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/RuleListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/NothingMatcher.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/CSSFunctionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Sanitizer\/StyleRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/PageAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/FontFaceAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/SimpleBlockTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/MediaAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/QualifiedRuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/CounterStyleRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/AtRuleTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/CheckedMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/ImportAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherTestMock.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/DeclarationOrAtRuleListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/.phan\/config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/ComponentValueListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StylesheetSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StyleAttributeSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/NothingMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/TestMatcherFactory.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/BlockMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StyleRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/RuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/NoWhitespaceTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/DelimMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/SupportsAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/NonEmptyTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/RuleSanitizerTestBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/KeyframesAtRuleSanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/MinificationTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/UrlMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/AlternativeTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/KeywordMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/CustomPropertyMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/WhitespaceMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/UtilTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/TokenMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/DataSourceTokenizer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/DataSource.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/Parser.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/FunctionMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/PropertySanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/AnythingMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Token.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Objects\/Rule.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/SanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/QuantifierTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatchTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/UnorderedGroupTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Parser\/Encoder.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherTestBase.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/JuxtapositionTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/CSSObjectListTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/DataSourceTokenizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/MatcherFactoryTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Sanitizer\/StylePropertySanitizerTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Objects\/TokenTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Grammar\/UrangeMatcherTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/ParserTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Parser\/StringDataSourceTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Grammar\/MatcherFactory.php":{"errors":33,"warnings":0,"messages":[{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":73,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":82,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":91,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":100,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":134,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":156,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":166,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":344,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":357,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":369,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":379,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":389,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":399,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":419,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":429,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":439,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":451,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":463,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":475,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":497,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":507,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":517,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":548,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":576,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":604,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":632,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":659,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":755,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":774,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1070,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1155,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1176,"column":9},{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":1665,"column":9}]},"\/src\/repo\/src\/Sanitizer\/StylePropertySanitizer.php":{"errors":1,"warnings":0,"messages":[{"message":"Assignment expression not allowed within \"return\".","source":"MediaWiki.Usage.AssignmentInReturn.AssignmentInReturn","severity":5,"fixable":false,"type":"ERROR","line":2137,"column":9}]},"\/src\/repo\/src\/Sanitizer\/NamespaceAtRuleSanitizer.php":{"errors":0,"warnings":0,"messages":[]}}}

--- end ---
$ git checkout /src/repo/.phpcs.xml
--- stderr ---
Updated 1 path from the index
--- stdout ---

--- end ---
$ /usr/bin/composer install
--- stderr ---
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---

--- end ---
$ /usr/bin/composer test
--- stderr ---
> parallel-lint . --exclude vendor
> phpcs -p -s
> phpunit
> minus-x check .
> phan -d . --long-progress-bar --allow-polyfill-parser
Parsing files...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   54 / 2227 (  4%) 60MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  108 / 2227 (  5%) 71MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  162 / 2227 (  7%) 79MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  216 / 2227 ( 11%) 101MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  270 / 2227 ( 13%) 109MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  324 / 2227 ( 19%) 113MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  378 / 2227 ( 19%) 113MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  432 / 2227 ( 19%) 113MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  486 / 2227 ( 22%) 129MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  540 / 2227 ( 26%) 150MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  594 / 2227 ( 30%) 161MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  648 / 2227 ( 30%) 161MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  702 / 2227 ( 34%) 167MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  756 / 2227 ( 34%) 167MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  810 / 2227 ( 36%) 179MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  864 / 2227 ( 39%) 194MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  918 / 2227 ( 44%) 201MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  972 / 2227 ( 44%) 201MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1026 / 2227 ( 48%) 207MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1080 / 2227 ( 48%) 207MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1134 / 2227 ( 55%) 226MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1188 / 2227 ( 55%) 226MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1242 / 2227 ( 62%) 232MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1296 / 2227 ( 62%) 232MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1350 / 2227 ( 62%) 232MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1404 / 2227 ( 65%) 239MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1458 / 2227 ( 65%) 239MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1512 / 2227 ( 69%) 246MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1566 / 2227 ( 73%) 253MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1620 / 2227 ( 73%) 253MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1674 / 2227 ( 76%) 266MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1728 / 2227 ( 79%) 274MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1782 / 2227 ( 84%) 282MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1836 / 2227 ( 84%) 282MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1890 / 2227 ( 84%) 282MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1944 / 2227 ( 89%) 290MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1998 / 2227 ( 91%) 299MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2052 / 2227 ( 94%) 308MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2106 / 2227 ( 94%) 308MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2160 / 2227 ( 98%) 325MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2214 / 2227 ( 99%) 339MB
░░░░░░░░░░░░░                                          2227 / 2227 (100%) 340MB
Analyzing classes...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 431MB
Analyzing functions...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 431MB
Analyzing methods...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 446MB
Analyzing files...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  54 / 125 ( 43%) 467MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 108 / 125 ( 88%) 480MB
░░░░░░░░░░░░░░░░░                                      125 / 125 (100%) 481MB
--- stdout ---
PHP 8.4.18 | 10 parallel jobs
............................................................  60/127 ( 47%)
............................................................ 120/127 ( 94%)
.......                                                      127/127 (100%)


Checked 127 files in 0.4 seconds
No syntax error found
............................................................ 60 / 64 (94%)
....                                                         64 / 64 (100%)


Time: 2.38 secs; Memory: 8MB

PHPUnit 10.5.63 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.18
Configuration: /src/repo/phpunit.xml.dist

.............................................................   61 / 2754 (  2%)
.............................................................  122 / 2754 (  4%)
.............................................................  183 / 2754 (  6%)
.............................................................  244 / 2754 (  8%)
.............................................................  305 / 2754 ( 11%)
.............................................................  366 / 2754 ( 13%)
.............................................................  427 / 2754 ( 15%)
.............................................................  488 / 2754 ( 17%)
.............................................................  549 / 2754 ( 19%)
.............................................................  610 / 2754 ( 22%)
.............................................................  671 / 2754 ( 24%)
.............................................................  732 / 2754 ( 26%)
.............................................................  793 / 2754 ( 28%)
.............................................................  854 / 2754 ( 31%)
.............................................................  915 / 2754 ( 33%)
.............................................................  976 / 2754 ( 35%)
............................................................. 1037 / 2754 ( 37%)
............................................................. 1098 / 2754 ( 39%)
............................................................. 1159 / 2754 ( 42%)
............................................................. 1220 / 2754 ( 44%)
............................................................. 1281 / 2754 ( 46%)
............................................................. 1342 / 2754 ( 48%)
............................................................. 1403 / 2754 ( 50%)
............................................................. 1464 / 2754 ( 53%)
............................................................. 1525 / 2754 ( 55%)
............................................................. 1586 / 2754 ( 57%)
............................................................. 1647 / 2754 ( 59%)
............................................................. 1708 / 2754 ( 62%)
............................................................. 1769 / 2754 ( 64%)
............................................................. 1830 / 2754 ( 66%)
............................................................. 1891 / 2754 ( 68%)
............................................................. 1952 / 2754 ( 70%)
............................................................. 2013 / 2754 ( 73%)
............................................................. 2074 / 2754 ( 75%)
............................................................. 2135 / 2754 ( 77%)
............................................................. 2196 / 2754 ( 79%)
............................................................. 2257 / 2754 ( 81%)
............................................................. 2318 / 2754 ( 84%)
............................................................. 2379 / 2754 ( 86%)
............................................................. 2440 / 2754 ( 88%)
............................................................. 2501 / 2754 ( 90%)
............................................................. 2562 / 2754 ( 93%)
............................................................. 2623 / 2754 ( 95%)
............................................................. 2684 / 2754 ( 97%)
............................................................. 2745 / 2754 ( 99%)
.........                                                     2754 / 2754 (100%)

Time: 00:01.640, Memory: 28.00 MB

OK (2754 tests, 6480 assertions)
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
...................
All good!

--- end ---
build: Updating mediawiki/mediawiki-codesniffer to 50.0.0

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmph0jkds8k
--- stdout ---
[master a0e57a1] build: Updating mediawiki/mediawiki-codesniffer to 50.0.0
 1 file changed, 1 insertion(+), 1 deletion(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From a0e57a1eaa6c588c9a9e831a049b60a75acf3b4f Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 28 Feb 2026 03:33:15 +0000
Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 50.0.0

Change-Id: I4c86593b8e3d43e79e3dc44dbc5424e45de0f4af
---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index 08f0907..735e8d5 100644
--- a/composer.json
+++ b/composer.json
@@ -27,7 +27,7 @@
 		"wikimedia/scoped-callback": "3.0.0 || 4.0.0 || 5.0.0"
 	},
 	"require-dev": {
-		"mediawiki/mediawiki-codesniffer": "48.0.0",
+		"mediawiki/mediawiki-codesniffer": "50.0.0",
 		"mediawiki/mediawiki-phan-config": "0.19.0",
 		"mediawiki/minus-x": "2.0.1",
 		"php-parallel-lint/php-console-highlighter": "1.0.0",
-- 
2.47.3


--- end ---
Source code is licensed under the AGPL.