mediawiki/services/parsoid (main)

sourcepatches
$ date
--- stdout ---
Wed Apr 24 06:01:39 UTC 2024

--- end ---
$ git clone file:///srv/git/mediawiki-services-parsoid.git repo --depth=1 -b master
--- stderr ---
Cloning into '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 ---
da2bb297d589d745e35bf4797bc36cf483614329 refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "api-testing": {
      "name": "api-testing",
      "severity": "critical",
      "isDirect": true,
      "via": [
        "supertest"
      ],
      "effects": [],
      "range": ">=1.0.2",
      "nodes": [
        "node_modules/api-testing"
      ],
      "fixAvailable": {
        "name": "api-testing",
        "version": "1.0.0",
        "isSemVerMajor": true
      }
    },
    "formidable": {
      "name": "formidable",
      "severity": "critical",
      "isDirect": false,
      "via": [
        {
          "source": 1097147,
          "name": "formidable",
          "dependency": "formidable",
          "title": "Formidable arbitrary file upload",
          "url": "https://github.com/advisories/GHSA-8cp3-66vr-3r4c",
          "severity": "critical",
          "cwe": [
            "CWE-434"
          ],
          "cvss": {
            "score": 9.8,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "range": "<3.2.4"
        }
      ],
      "effects": [
        "superagent"
      ],
      "range": "<3.2.4",
      "nodes": [
        "node_modules/formidable"
      ],
      "fixAvailable": {
        "name": "api-testing",
        "version": "1.0.0",
        "isSemVerMajor": true
      }
    },
    "minimatch": {
      "name": "minimatch",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1096485,
          "name": "minimatch",
          "dependency": "minimatch",
          "title": "minimatch ReDoS vulnerability",
          "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3",
          "severity": "high",
          "cwe": [
            "CWE-400",
            "CWE-1333"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": "<3.0.5"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "<3.0.5",
      "nodes": [
        "node_modules/minimatch"
      ],
      "fixAvailable": false
    },
    "mocha": {
      "name": "mocha",
      "severity": "high",
      "isDirect": true,
      "via": [
        "minimatch"
      ],
      "effects": [],
      "range": "5.1.0 - 9.2.1",
      "nodes": [
        "node_modules/mocha"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        {
          "source": 1096727,
          "name": "request",
          "dependency": "request",
          "title": "Server-Side Request Forgery in Request",
          "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
          "severity": "moderate",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 6.1,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
          },
          "range": "<=2.88.2"
        },
        "tough-cookie"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/request"
      ],
      "fixAvailable": false
    },
    "superagent": {
      "name": "superagent",
      "severity": "critical",
      "isDirect": false,
      "via": [
        "formidable"
      ],
      "effects": [
        "supertest"
      ],
      "range": "0.4.0 - 8.1.2",
      "nodes": [
        "node_modules/api-testing/node_modules/superagent"
      ],
      "fixAvailable": {
        "name": "api-testing",
        "version": "1.0.0",
        "isSemVerMajor": true
      }
    },
    "supertest": {
      "name": "supertest",
      "severity": "critical",
      "isDirect": false,
      "via": [
        "superagent"
      ],
      "effects": [
        "api-testing"
      ],
      "range": "*",
      "nodes": [
        "node_modules/api-testing/node_modules/supertest"
      ],
      "fixAvailable": {
        "name": "api-testing",
        "version": "1.0.0",
        "isSemVerMajor": true
      }
    },
    "tough-cookie": {
      "name": "tough-cookie",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1096643,
          "name": "tough-cookie",
          "dependency": "tough-cookie",
          "title": "tough-cookie Prototype Pollution vulnerability",
          "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
          "severity": "moderate",
          "cwe": [
            "CWE-1321"
          ],
          "cvss": {
            "score": 6.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
          },
          "range": "<4.1.3"
        }
      ],
      "effects": [
        "request"
      ],
      "range": "<4.1.3",
      "nodes": [
        "node_modules/tough-cookie"
      ],
      "fixAvailable": false
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 2,
      "high": 2,
      "critical": 4,
      "total": 8
    },
    "dependencies": {
      "prod": 80,
      "dev": 321,
      "optional": 1,
      "peer": 1,
      "peerOptional": 0,
      "total": 400
    }
  }
}

--- 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: 86 installs, 0 updates, 0 removals
  - Locking composer/pcre (3.1.3)
  - Locking composer/semver (3.4.0)
  - Locking composer/spdx-licenses (1.5.8)
  - Locking composer/xdebug-handler (3.0.4)
  - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
  - Locking doctrine/deprecations (1.1.3)
  - Locking doctrine/instantiator (2.0.0)
  - Locking felixfbecker/advanced-json-rpc (v3.2.1)
  - Locking liuggio/statsd-php-client (v1.0.18)
  - Locking mediawiki/mediawiki-codesniffer (v43.0.0)
  - Locking mediawiki/mediawiki-phan-config (0.14.0)
  - Locking mediawiki/minus-x (1.1.1)
  - Locking mediawiki/phan-taint-check-plugin (6.0.0)
  - Locking microsoft/tolerant-php-parser (v0.1.2)
  - Locking monolog/monolog (2.9.3)
  - Locking myclabs/deep-copy (1.11.1)
  - Locking netresearch/jsonmapper (v4.4.1)
  - Locking nikic/php-parser (v4.19.1)
  - Locking ockcyp/covers-validator (v1.6.0)
  - Locking phan/phan (5.4.3)
  - 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.3.2)
  - Locking phpcsstandards/phpcsextra (1.1.2)
  - Locking phpcsstandards/phpcsutils (1.0.9)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.4.0)
  - Locking phpdocumentor/type-resolver (1.8.2)
  - Locking phpstan/phpdoc-parser (1.28.0)
  - Locking phpunit/php-code-coverage (9.2.31)
  - Locking phpunit/php-file-iterator (3.0.6)
  - Locking phpunit/php-invoker (3.1.1)
  - Locking phpunit/php-text-template (2.0.4)
  - Locking phpunit/php-timer (5.0.3)
  - Locking phpunit/phpunit (9.6.16)
  - Locking psr/container (1.1.2)
  - Locking psr/log (1.1.4)
  - Locking sabre/event (5.1.4)
  - Locking sebastian/cli-parser (1.0.2)
  - Locking sebastian/code-unit (1.0.8)
  - Locking sebastian/code-unit-reverse-lookup (2.0.3)
  - Locking sebastian/comparator (4.0.8)
  - Locking sebastian/complexity (2.0.3)
  - Locking sebastian/diff (4.0.6)
  - Locking sebastian/environment (5.1.5)
  - Locking sebastian/exporter (4.0.6)
  - Locking sebastian/global-state (5.0.7)
  - Locking sebastian/lines-of-code (1.0.4)
  - Locking sebastian/object-enumerator (4.0.4)
  - Locking sebastian/object-reflector (2.0.4)
  - Locking sebastian/recursion-context (4.0.5)
  - Locking sebastian/resource-operations (3.0.4)
  - Locking sebastian/type (3.2.1)
  - Locking sebastian/version (3.0.2)
  - Locking squizlabs/php_codesniffer (3.8.1)
  - Locking symfony/console (v5.4.36)
  - Locking symfony/deprecation-contracts (v3.4.0)
  - Locking symfony/polyfill-ctype (v1.29.0)
  - Locking symfony/polyfill-intl-grapheme (v1.29.0)
  - Locking symfony/polyfill-intl-normalizer (v1.29.0)
  - Locking symfony/polyfill-mbstring (v1.29.0)
  - Locking symfony/polyfill-php73 (v1.29.0)
  - Locking symfony/polyfill-php80 (v1.29.0)
  - Locking symfony/polyfill-php81 (v1.29.0)
  - Locking symfony/service-contracts (v3.4.2)
  - Locking symfony/string (v6.4.4)
  - Locking theseer/tokenizer (1.2.3)
  - Locking tysonandre/var_representation_polyfill (0.1.3)
  - Locking webmozart/assert (1.11.0)
  - Locking wikimedia/alea (1.0.0)
  - Locking wikimedia/assert (v0.5.1)
  - Locking wikimedia/base-convert (v2.0.2)
  - Locking wikimedia/bcp-47-code (v2.0.0)
  - Locking wikimedia/idle-dom (v1.0.0)
  - Locking wikimedia/ip-utils (5.0.0)
  - Locking wikimedia/json-codec (v2.2.1)
  - Locking wikimedia/langconv (0.4.2)
  - Locking wikimedia/object-factory (v5.0.1)
  - Locking wikimedia/remex-html (4.1.0)
  - Locking wikimedia/scoped-callback (v4.0.0)
  - Locking wikimedia/testing-access-wrapper (3.0.0)
  - Locking wikimedia/utfnormal (4.0.0)
  - Locking wikimedia/wikipeg (4.0.0)
  - Locking wikimedia/zest-css (3.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 86 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing squizlabs/php_codesniffer (3.8.1): Extracting archive
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  - Installing composer/pcre (3.1.3): Extracting archive
  - Installing liuggio/statsd-php-client (v1.0.18): Extracting archive
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive
  - Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.8): Extracting archive
  - Installing composer/semver (3.4.0): Extracting archive
  - Installing mediawiki/mediawiki-codesniffer (v43.0.0): Extracting archive
  - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive
  - Installing symfony/string (v6.4.4): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/service-contracts (v3.4.2): Extracting archive
  - Installing symfony/polyfill-php73 (v1.29.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.4.0): Extracting archive
  - Installing symfony/console (v5.4.36): Extracting archive
  - Installing sabre/event (5.1.4): Extracting archive
  - Installing netresearch/jsonmapper (v4.4.1): Extracting archive
  - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (1.28.0): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing doctrine/deprecations (1.1.3): Extracting archive
  - Installing phpdocumentor/type-resolver (1.8.2): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.4.0): Extracting archive
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing composer/xdebug-handler (3.0.4): Extracting archive
  - Installing phan/phan (5.4.3): Extracting archive
  - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive
  - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive
  - Installing mediawiki/minus-x (1.1.1): Extracting archive
  - Installing monolog/monolog (2.9.3): Extracting archive
  - Installing sebastian/version (3.0.2): Extracting archive
  - Installing sebastian/type (3.2.1): Extracting archive
  - Installing sebastian/resource-operations (3.0.4): Extracting archive
  - Installing sebastian/recursion-context (4.0.5): Extracting archive
  - Installing sebastian/object-reflector (2.0.4): Extracting archive
  - Installing sebastian/object-enumerator (4.0.4): Extracting archive
  - Installing sebastian/global-state (5.0.7): Extracting archive
  - Installing sebastian/exporter (4.0.6): Extracting archive
  - Installing sebastian/environment (5.1.5): Extracting archive
  - Installing sebastian/diff (4.0.6): Extracting archive
  - Installing sebastian/comparator (4.0.8): Extracting archive
  - Installing sebastian/code-unit (1.0.8): Extracting archive
  - Installing sebastian/cli-parser (1.0.2): Extracting archive
  - Installing phpunit/php-timer (5.0.3): Extracting archive
  - Installing phpunit/php-text-template (2.0.4): Extracting archive
  - Installing phpunit/php-invoker (3.1.1): Extracting archive
  - Installing phpunit/php-file-iterator (3.0.6): Extracting archive
  - Installing theseer/tokenizer (1.2.3): Extracting archive
  - Installing nikic/php-parser (v4.19.1): Extracting archive
  - Installing sebastian/lines-of-code (1.0.4): Extracting archive
  - Installing sebastian/complexity (2.0.3): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
  - Installing phpunit/php-code-coverage (9.2.31): 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.11.1): Extracting archive
  - Installing doctrine/instantiator (2.0.0): Extracting archive
  - Installing phpunit/phpunit (9.6.16): Extracting archive
  - Installing ockcyp/covers-validator (v1.6.0): 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.3.2): Extracting archive
  - Installing wikimedia/alea (1.0.0): Extracting archive
  - Installing wikimedia/bcp-47-code (v2.0.0): Extracting archive
  - Installing wikimedia/idle-dom (v1.0.0): Extracting archive
  - Installing wikimedia/base-convert (v2.0.2): Extracting archive
  - Installing wikimedia/ip-utils (5.0.0): Extracting archive
  - Installing symfony/polyfill-php81 (v1.29.0): Extracting archive
  - Installing wikimedia/json-codec (v2.2.1): Extracting archive
  - Installing wikimedia/assert (v0.5.1): Extracting archive
  - Installing wikimedia/langconv (0.4.2): Extracting archive
  - Installing wikimedia/object-factory (v5.0.1): Extracting archive
  - Installing wikimedia/utfnormal (4.0.0): Extracting archive
  - Installing wikimedia/remex-html (4.1.0): Extracting archive
  - Installing wikimedia/scoped-callback (v4.0.0): Extracting archive
  - Installing wikimedia/testing-access-wrapper (3.0.0): Extracting archive
  - Installing wikimedia/wikipeg (4.0.0): Extracting archive
  - Installing wikimedia/zest-css (3.0.1): Extracting archive
  0/84 [>---------------------------]   0%
 22/84 [=======>--------------------]  26%
 39/84 [=============>--------------]  46%
 50/84 [================>-----------]  59%
 62/84 [====================>-------]  73%
 76/84 [=========================>--]  90%
 84/84 [============================] 100%
17 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
44 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:php-parallel-lint/php-parallel-lint from 1.3.2 -> 1.4.0
$ /usr/bin/composer update
--- stderr ---
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading php-parallel-lint/php-parallel-lint (v1.3.2 => v1.4.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Upgrading php-parallel-lint/php-parallel-lint (v1.3.2 => v1.4.0): Extracting archive
Generating optimized autoload files
44 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
--- 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 optimized autoload files
44 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 --exclude node_modules
> phpcs -p -s
> minus-x check .
> covers-validator
> bash bin/nodenamecheck.sh

# Ensure lint output (exactly 1 line) is present!
x=`git grep "$grepPhrase" $BIN/.. | wc -l`
if [ ! $x -eq 1 ]
then
    echo "Uses of $badWords found! :("
    git grep "$grepPhrase" $BIN/..
    exit -1
fi
echo "No new uses of $badWords found! :)"
> bash bin/getattributecheck.sh

# exclude DOMCompat
FILES=$(git grep -l '[-]>')

# Ensure exactly 1 line is present (in DOMCompat::getAttribute itself)
x=`git grep "$grepPhrase" $FILES | wc -l`
if [ ! $x -eq 1 ]
then
    echo "Uses of $badWords found! :("
    git grep -P "$grepPhrase" $FILES
    exit -1
fi
echo "No new uses of $badWords found! :)"
> phan -p --allow-polyfill-parser --config-file=.phan/standalone.php --long-progress-bar
Parsing files...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   54 / 2607 (  2%) 46MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  108 / 2607 (  4%) 63MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  162 / 2607 (  6%) 75MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  216 / 2607 (  9%) 105MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  270 / 2607 ( 12%) 121MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  324 / 2607 ( 13%) 141MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  378 / 2607 ( 16%) 151MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  432 / 2607 ( 17%) 165MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  486 / 2607 ( 20%) 174MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  540 / 2607 ( 23%) 183MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  594 / 2607 ( 23%) 183MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  648 / 2607 ( 29%) 191MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  702 / 2607 ( 29%) 191MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  756 / 2607 ( 29%) 191MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  810 / 2607 ( 32%) 221MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  864 / 2607 ( 35%) 232MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  918 / 2607 ( 35%) 232MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  972 / 2607 ( 37%) 245MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1026 / 2607 ( 43%) 264MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1080 / 2607 ( 43%) 264MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1134 / 2607 ( 43%) 264MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1188 / 2607 ( 47%) 277MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1242 / 2607 ( 52%) 286MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1296 / 2607 ( 52%) 286MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1350 / 2607 ( 52%) 286MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1404 / 2607 ( 55%) 297MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1458 / 2607 ( 58%) 309MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1512 / 2607 ( 58%) 309MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1566 / 2607 ( 61%) 319MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1620 / 2607 ( 66%) 331MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1674 / 2607 ( 66%) 331MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1728 / 2607 ( 68%) 341MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1782 / 2607 ( 68%) 341MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1836 / 2607 ( 70%) 351MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1890 / 2607 ( 72%) 363MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1944 / 2607 ( 74%) 369MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1998 / 2607 ( 77%) 379MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2052 / 2607 ( 79%) 388MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2106 / 2607 ( 81%) 405MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2160 / 2607 ( 83%) 438MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2214 / 2607 ( 86%) 447MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2268 / 2607 ( 90%) 452MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2322 / 2607 ( 90%) 452MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2376 / 2607 ( 95%) 458MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2430 / 2607 ( 95%) 458MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2484 / 2607 ( 97%) 471MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2538 / 2607 ( 99%) 491MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2592 / 2607 ( 99%) 491MB
░░░░░░░░░░░░░░░                                        2607 / 2607 (100%) 494MB
Analyzing classes...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 582MB
Analyzing functions...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 583MB
Analyzing methods...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 599MB
Analyzing files...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  54 / 276 ( 19%) 665MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 108 / 276 ( 39%) 683MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 162 / 276 ( 59%) 694MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 216 / 276 ( 78%) 711MB
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 270 / 276 ( 98%) 746MB
░░░░░░                                                 276 / 276 (100%) 746MB

> phpunit
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: table s:2 ; cs:16
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: tbody s:2 ; cs:7
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: table s:2 ; cs:23
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: table s:2 ; cs:11
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: table s:2 ; cs:32
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: table s:2 ; cs:28
[info/dsr/inconsistent] DSR inconsistency: cs/s mismatch for node: table s:2 ; cs:23
Script phpunit handling the phpunit event returned with error code 1
Script @phpunit was called via test
--- stdout ---
PHP 8.2.7 | 10 parallel jobs
............................................................  60/368 ( 16%)
............................................................ 120/368 ( 32%)
............................................................ 180/368 ( 48%)
............................................................ 240/368 ( 65%)
............................................................ 300/368 ( 81%)
............................................................ 360/368 ( 97%)
........                                                     368/368 (100%)


Checked 368 files in 1.5 seconds
No syntax error found
............................................................ 60 / 61 (98%)
.                                                            61 / 61 (100%)


Time: 5.72 secs; Memory: 8MB

MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
...................................................
All good!
CoversValidator 1.6.0

Validation complete. All @covers tags are valid.
No new uses of $node->nodeName found! :)
No new uses of $node->getAttribute( found! :)
PHPUnit 9.6.16 by Sebastian Bergmann and contributors.

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

.............................................................   61 / 9174 (  0%)
.............................................................  122 / 9174 (  1%)
.............................................................  183 / 9174 (  1%)
.............................................................  244 / 9174 (  2%)
.............................................................  305 / 9174 (  3%)
.............................................................  366 / 9174 (  3%)
.....................................F.......................  427 / 9174 (  4%)
............................F................................  488 / 9174 (  5%)
.............................................................  549 / 9174 (  5%)
.............................................................  610 / 9174 (  6%)
.............................................................  671 / 9174 (  7%)
.............................................................  732 / 9174 (  7%)
.............................................................  793 / 9174 (  8%)
.............................................................  854 / 9174 (  9%)
.............................................................  915 / 9174 (  9%)
.............................................................  976 / 9174 ( 10%)
............................................................. 1037 / 9174 ( 11%)
............................................................. 1098 / 9174 ( 11%)
............................................................. 1159 / 9174 ( 12%)
............................................................. 1220 / 9174 ( 13%)
............................................................. 1281 / 9174 ( 13%)
............................................................. 1342 / 9174 ( 14%)
............................................................. 1403 / 9174 ( 15%)
............................................................. 1464 / 9174 ( 15%)
............................................................. 1525 / 9174 ( 16%)
............................................................. 1586 / 9174 ( 17%)
............................................................. 1647 / 9174 ( 17%)
............................................................. 1708 / 9174 ( 18%)
............................................................. 1769 / 9174 ( 19%)
............................................................. 1830 / 9174 ( 19%)
............................................................. 1891 / 9174 ( 20%)
............................................................. 1952 / 9174 ( 21%)
............................................................. 2013 / 9174 ( 21%)
............................................................. 2074 / 9174 ( 22%)
............................................................. 2135 / 9174 ( 23%)
............................................................. 2196 / 9174 ( 23%)
............................................................. 2257 / 9174 ( 24%)
............................................................. 2318 / 9174 ( 25%)
............................................................. 2379 / 9174 ( 25%)
............................................................. 2440 / 9174 ( 26%)
............................................................. 2501 / 9174 ( 27%)
............................................................. 2562 / 9174 ( 27%)
............................................................. 2623 / 9174 ( 28%)
............................................................. 2684 / 9174 ( 29%)
............................................................. 2745 / 9174 ( 29%)
............................................................. 2806 / 9174 ( 30%)
............................................................. 2867 / 9174 ( 31%)
............................................................. 2928 / 9174 ( 31%)
............................................................. 2989 / 9174 ( 32%)
............................................................. 3050 / 9174 ( 33%)
............................................................. 3111 / 9174 ( 33%)
............................................................. 3172 / 9174 ( 34%)
............................................................. 3233 / 9174 ( 35%)
............................................................. 3294 / 9174 ( 35%)
............................................................. 3355 / 9174 ( 36%)
............................................................. 3416 / 9174 ( 37%)
............................................................. 3477 / 9174 ( 37%)
............................................................. 3538 / 9174 ( 38%)
............................................................. 3599 / 9174 ( 39%)
............................................................. 3660 / 9174 ( 39%)
............................................................. 3721 / 9174 ( 40%)
............................................................. 3782 / 9174 ( 41%)
............................................................. 3843 / 9174 ( 41%)
............................................................. 3904 / 9174 ( 42%)
............................................................. 3965 / 9174 ( 43%)
............................................................. 4026 / 9174 ( 43%)
............................................................. 4087 / 9174 ( 44%)
............................................................. 4148 / 9174 ( 45%)
............................................................. 4209 / 9174 ( 45%)
............................................................. 4270 / 9174 ( 46%)
............................................................. 4331 / 9174 ( 47%)
............................................................. 4392 / 9174 ( 47%)
............................................................. 4453 / 9174 ( 48%)
............................................................. 4514 / 9174 ( 49%)
............................................................. 4575 / 9174 ( 49%)
............................................................. 4636 / 9174 ( 50%)
............................................................. 4697 / 9174 ( 51%)
............................................................. 4758 / 9174 ( 51%)
............................................................. 4819 / 9174 ( 52%)
............................................................. 4880 / 9174 ( 53%)
............................................................. 4941 / 9174 ( 53%)
............................................................. 5002 / 9174 ( 54%)
............................................................. 5063 / 9174 ( 55%)
............................................................. 5124 / 9174 ( 55%)
............................................................. 5185 / 9174 ( 56%)
............................................................. 5246 / 9174 ( 57%)
............................................................. 5307 / 9174 ( 57%)
............................................................. 5368 / 9174 ( 58%)
............................................................. 5429 / 9174 ( 59%)
............................................................. 5490 / 9174 ( 59%)
............................................................. 5551 / 9174 ( 60%)
............................................................. 5612 / 9174 ( 61%)
............................................................. 5673 / 9174 ( 61%)
............................................................. 5734 / 9174 ( 62%)
............................................................. 5795 / 9174 ( 63%)
............................................................. 5856 / 9174 ( 63%)
............................................................. 5917 / 9174 ( 64%)
............................................................. 5978 / 9174 ( 65%)
............................................................. 6039 / 9174 ( 65%)
............................................................. 6100 / 9174 ( 66%)
............................................................. 6161 / 9174 ( 67%)
............................................................. 6222 / 9174 ( 67%)
............................................................. 6283 / 9174 ( 68%)
............................................................. 6344 / 9174 ( 69%)
............................................................. 6405 / 9174 ( 69%)
............................................................. 6466 / 9174 ( 70%)
............................................................. 6527 / 9174 ( 71%)
............................................................. 6588 / 9174 ( 71%)
............................................................. 6649 / 9174 ( 72%)
............................................................. 6710 / 9174 ( 73%)
............................................................. 6771 / 9174 ( 73%)
............................................................. 6832 / 9174 ( 74%)
............................................................. 6893 / 9174 ( 75%)
............................................................. 6954 / 9174 ( 75%)
............................................................. 7015 / 9174 ( 76%)
............................................................. 7076 / 9174 ( 77%)
............................................................. 7137 / 9174 ( 77%)
............................................................. 7198 / 9174 ( 78%)
............................................................. 7259 / 9174 ( 79%)
............................................................. 7320 / 9174 ( 79%)
............................................................. 7381 / 9174 ( 80%)
............................................................. 7442 / 9174 ( 81%)
............................................................. 7503 / 9174 ( 81%)
............................................................. 7564 / 9174 ( 82%)
............................................................. 7625 / 9174 ( 83%)
............................................................. 7686 / 9174 ( 83%)
............................................................. 7747 / 9174 ( 84%)
............................................................. 7808 / 9174 ( 85%)
............................................................. 7869 / 9174 ( 85%)
............................................................. 7930 / 9174 ( 86%)
............................................................. 7991 / 9174 ( 87%)
............................................................. 8052 / 9174 ( 87%)
............................................................. 8113 / 9174 ( 88%)
............................................................. 8174 / 9174 ( 89%)
............................................................. 8235 / 9174 ( 89%)
............................................................. 8296 / 9174 ( 90%)
............................................................. 8357 / 9174 ( 91%)
............................................................. 8418 / 9174 ( 91%)
............................................................. 8479 / 9174 ( 92%)
............................................................. 8540 / 9174 ( 93%)
............................................................. 8601 / 9174 ( 93%)
............................................................. 8662 / 9174 ( 94%)
............................................................. 8723 / 9174 ( 95%)
............................................................. 8784 / 9174 ( 95%)
............................................................. 8845 / 9174 ( 96%)
............................................................. 8906 / 9174 ( 97%)
............................................................. 8967 / 9174 ( 97%)
............................................................. 9028 / 9174 ( 98%)
............................................................. 9089 / 9174 ( 99%)
............................................................. 9150 / 9174 ( 99%)
........................                                      9174 / 9174 (100%)

Time: 00:02.357, Memory: 128.42 MB

There were 2 failures:

1) Test\Parsoid\Utils\DOMCompatTest::testGetElementById
Failed asserting that Wikimedia\Parsoid\DOM\Element Object &00000000000073e70000000000000000 (
    'schemaTypeInfo' => null
) is null.

/src/repo/tests/phpunit/Parsoid/Utils/DOMCompatTest.php:155

2) Test\Parsoid\Utils\DOMCompatTest::testRemove
Failed asserting that Wikimedia\Parsoid\DOM\Element Object &00000000000072a40000000000000000 (
    'schemaTypeInfo' => null
) is null.

/src/repo/tests/phpunit/Parsoid/Utils/DOMCompatTest.php:480

FAILURES!
Tests: 9174, Assertions: 13128, Failures: 2.

--- end ---
Traceback (most recent call last):
  File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1584, in main
    libup.run(args.repo, args.output, args.branch)
  File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1523, in run
    self.composer_upgrade(plan)
  File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 870, in composer_upgrade
    self.composer_test()
  File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 307, in composer_test
    self.check_call(['composer', 'test'])
  File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 54, in check_call
    res.check_returncode()
  File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/usr/bin/composer', 'test']' returned non-zero exit status 1.

composer dependencies

Dependencies
Development dependencies

npm dependencies

Dependencies
Development dependencies

Logs

Source code is licensed under the AGPL.