diff --git a/.github/workflows/live-test.yml b/.github/workflows/live-test.yml index 644ddf8b2..bb69e5cb0 100644 --- a/.github/workflows/live-test.yml +++ b/.github/workflows/live-test.yml @@ -17,7 +17,7 @@ on: - cron: "0 0 * * *" jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: # Boolean values must be quoted, otherwise they will be converted to lower case and break ORCA scripts. ORCA_SUT_NAME: drupal/example @@ -33,7 +33,7 @@ jobs: matrix: orca-job: - " " - php-version: [ "8.1" ] + php-version: [ "8.1", "8.3" ] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index bac32c91c..ed0491837 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -17,7 +17,7 @@ on: - cron: "0 0 * * *" jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: # Boolean values must be quoted, otherwise they will be converted to lower case and break ORCA scripts. ORCA_SUT_NAME: drupal/example @@ -61,12 +61,9 @@ jobs: - ISOLATED_TEST_ON_NEXT_MINOR_DEV # - INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR_DEV - LOOSE_DEPRECATED_CODE_SCAN - - INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER - - ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV - - INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV php-version: [ "8.1", "8.3" ] orca-enable-nightwatch: [ "FALSE" ] - orca-coverage-enable: [ "FALSE" ] + orca-coverage-enable: [ "TRUE" ] include: # Testing Drupal 10 in php 8.1 with nightwatch and coverage. - orca-job: ISOLATED_TEST_ON_CURRENT @@ -86,6 +83,22 @@ jobs: - orca-job: INTEGRATED_TEST_ON_LATEST_EOL_MAJOR php-version: "8.1" + # Testing Drupal 11 in php 8.3. + - orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER + php-version: "8.3" + + # Testing Drupal 11 in php 8.3. + - orca-job: INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER + php-version: "8.3" + + # Testing Drupal 11 in php 8.3. + - orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV + php-version: "8.3" + + # Testing Drupal 11 in php 8.3. + - orca-job: INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV + php-version: "8.3" + steps: - uses: actions/checkout@v3 diff --git a/.idea/orca.iml b/.idea/orca.iml index f8687bc5b..ac4f6919d 100644 --- a/.idea/orca.iml +++ b/.idea/orca.iml @@ -2,7 +2,9 @@ + + @@ -34,7 +36,6 @@ - @@ -110,6 +111,9 @@ + + + diff --git a/composer.json b/composer.json index f389f63db..3f5a96260 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,6 @@ "oscarotero/env": "^2.1", "php-parallel-lint/php-console-highlighter": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phploc/phploc": "^7.0.2", "phpmd/phpmd": "^2.13", "symfony/config": "^6.2.7", "symfony/console": "^5.4.22", @@ -60,7 +59,9 @@ "brainmaestro/composer-git-hooks": "^2.8.5", "phpspec/prophecy-phpunit": "^2.0.2", "phpstan/phpstan": "^1.10.14", - "phpunit/phpunit": "^9.6.7" + "phpunit/php-code-coverage": "^10", + "phpunit/php-file-iterator": "^4.0", + "phpunit/phpunit": "^10" }, "conflict": { "symfony/symfony": "*" @@ -111,6 +112,10 @@ "phpcodesniffer-search-depth": 4 }, "scripts": { + "post-install-cmd": [ + "php -r \"copy('https://phar.phpunit.de/phploc.phar', 'vendor/bin/phploc');\"", + "chmod u+x vendor/bin/phploc" + ], "post-update-cmd": [ "@composer normalize" ], diff --git a/composer.lock b/composer.lock index 5eb9f9775..710448095 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dcb47558d19177343b8becde61ef479e", + "content-hash": "90eb379bcea4d4edae91d101c9e2ae34", "packages": [ { "name": "acquia/coding-standards", @@ -67,28 +67,28 @@ }, { "name": "composer/ca-bundle", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "b66d11b7479109ab547f9405b97205640b17d385" + "reference": "0c5ccfcfea312b5c5a190a21ac5cef93f74baf99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b66d11b7479109ab547f9405b97205640b17d385", - "reference": "b66d11b7479109ab547f9405b97205640b17d385", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/0c5ccfcfea312b5c5a190a21ac5cef93f74baf99", + "reference": "0c5ccfcfea312b5c5a190a21ac5cef93f74baf99", "shasum": "" }, "require": { "ext-openssl": "*", "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", + "phpstan/phpstan": "^1.10", "psr/log": "^1.0", "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" + "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", "extra": { @@ -123,7 +123,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.4.0" + "source": "https://github.com/composer/ca-bundle/tree/1.5.0" }, "funding": [ { @@ -139,20 +139,20 @@ "type": "tidelift" } ], - "time": "2023-12-18T12:05:55+00:00" + "time": "2024-03-15T14:00:32+00:00" }, { "name": "composer/class-map-generator", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/composer/class-map-generator.git", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" + "reference": "8286a62d243312ed99b3eee20d5005c961adb311" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/8286a62d243312ed99b3eee20d5005c961adb311", + "reference": "8286a62d243312ed99b3eee20d5005c961adb311", "shasum": "" }, "require": { @@ -196,7 +196,7 @@ ], "support": { "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.1.0" + "source": "https://github.com/composer/class-map-generator/tree/1.1.1" }, "funding": [ { @@ -212,20 +212,20 @@ "type": "tidelift" } ], - "time": "2023-06-30T13:58:57+00:00" + "time": "2024-03-15T12:53:41+00:00" }, { "name": "composer/composer", - "version": "2.7.1", + "version": "2.7.6", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "aaf6ed5ccd27c23f79a545e351b4d7842a99d0bc" + "reference": "fabd995783b633829fd4280e272284b39b6ae702" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/aaf6ed5ccd27c23f79a545e351b4d7842a99d0bc", - "reference": "aaf6ed5ccd27c23f79a545e351b4d7842a99d0bc", + "url": "https://api.github.com/repos/composer/composer/zipball/fabd995783b633829fd4280e272284b39b6ae702", + "reference": "fabd995783b633829fd4280e272284b39b6ae702", "shasum": "" }, "require": { @@ -310,7 +310,7 @@ "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.1" + "source": "https://github.com/composer/composer/tree/2.7.6" }, "funding": [ { @@ -326,7 +326,7 @@ "type": "tidelift" } ], - "time": "2024-02-09T14:26:28+00:00" + "time": "2024-05-04T21:03:15+00:00" }, { "name": "composer/metadata-minifier", @@ -399,16 +399,16 @@ }, { "name": "composer/pcre", - "version": "3.1.1", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", "shasum": "" }, "require": { @@ -450,7 +450,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.1" + "source": "https://github.com/composer/pcre/tree/3.1.3" }, "funding": [ { @@ -466,7 +466,7 @@ "type": "tidelift" } ], - "time": "2023-10-11T07:11:09+00:00" + "time": "2024-03-19T10:26:25+00:00" }, { "name": "composer/semver", @@ -631,16 +631,16 @@ }, { "name": "composer/xdebug-handler", - "version": "3.0.3", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" + "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef", + "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef", "shasum": "" }, "require": { @@ -651,7 +651,7 @@ "require-dev": { "phpstan/phpstan": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" + "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" }, "type": "library", "autoload": { @@ -675,9 +675,9 @@ "performance" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.5" }, "funding": [ { @@ -693,7 +693,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T21:32:43+00:00" + "time": "2024-05-06T16:37:16+00:00" }, { "name": "cweagans/composer-patches", @@ -823,30 +823,30 @@ }, { "name": "drupal/coder", - "version": "8.3.18", + "version": "8.3.24", "source": { "type": "git", "url": "https://github.com/pfrenssen/coder.git", - "reference": "d5911f812b69ca3bda5524899bdd06b3b4e687ff" + "reference": "1a59890f972db5da091354f0191dec1037f7c582" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pfrenssen/coder/zipball/d5911f812b69ca3bda5524899bdd06b3b4e687ff", - "reference": "d5911f812b69ca3bda5524899bdd06b3b4e687ff", + "url": "https://api.github.com/repos/pfrenssen/coder/zipball/1a59890f972db5da091354f0191dec1037f7c582", + "reference": "1a59890f972db5da091354f0191dec1037f7c582", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1 || ^1.0.0", "ext-mbstring": "*", - "php": ">=7.1", + "php": ">=7.2", "sirbrillig/phpcs-variable-analysis": "^2.11.7", - "slevomat/coding-standard": "^7.0 || ^8.0", - "squizlabs/php_codesniffer": "^3.7.1", + "slevomat/coding-standard": "^8.11", + "squizlabs/php_codesniffer": "^3.9.1", "symfony/yaml": ">=3.4.0" }, "require-dev": { "phpstan/phpstan": "^1.7.12", - "phpunit/phpunit": "^7.0 || ^8.0" + "phpunit/phpunit": "^8.0" }, "type": "phpcodesniffer-standard", "autoload": { @@ -870,7 +870,7 @@ "issues": "https://www.drupal.org/project/issues/coder", "source": "https://www.drupal.org/project/coder" }, - "time": "2023-04-18T12:07:59+00:00" + "time": "2024-04-21T06:13:24+00:00" }, { "name": "ergebnis/composer-normalize", @@ -1345,16 +1345,16 @@ }, { "name": "jean85/pretty-package-versions", - "version": "2.0.5", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af" + "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/ae547e455a3d8babd07b96966b17d7fd21d9c6af", - "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/f9fdd29ad8e6d024f52678b570e5593759b550b4", + "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4", "shasum": "" }, "require": { @@ -1362,9 +1362,9 @@ "php": "^7.1|^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", + "friendsofphp/php-cs-fixer": "^3.2", "jean85/composer-provided-replaced-stub-package": "^1.0", - "phpstan/phpstan": "^0.12.66", + "phpstan/phpstan": "^1.4", "phpunit/phpunit": "^7.5|^8.5|^9.4", "vimeo/psalm": "^4.3" }, @@ -1398,9 +1398,9 @@ ], "support": { "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.5" + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.6" }, - "time": "2021-10-08T21:21:46+00:00" + "time": "2024-03-08T09:58:59+00:00" }, { "name": "justinrainbow/json-schema", @@ -1609,37 +1609,37 @@ }, { "name": "mglaman/phpstan-drupal", - "version": "1.1.34", + "version": "1.2.10", "source": { "type": "git", "url": "https://github.com/mglaman/phpstan-drupal.git", - "reference": "1422ca153874935bb4f8efd98b0b3b2e8aa7cb0c" + "reference": "cdafb3285beeb5fadf25a43e18fee6f80bb14575" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/1422ca153874935bb4f8efd98b0b3b2e8aa7cb0c", - "reference": "1422ca153874935bb4f8efd98b0b3b2e8aa7cb0c", + "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/cdafb3285beeb5fadf25a43e18fee6f80bb14575", + "reference": "cdafb3285beeb5fadf25a43e18fee6f80bb14575", "shasum": "" }, "require": { "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^1.10.1", - "symfony/finder": "~3.4.5 ||^4.2 || ^5.0 || ^6.0", - "symfony/yaml": "~3.4.5 || ^4.2|| ^5.0 || ^6.0", + "phpstan/phpstan": "^1.10.56", + "phpstan/phpstan-deprecation-rules": "^1.1.4", + "symfony/finder": "^4.2 || ^5.0 || ^6.0 || ^7.0", + "symfony/yaml": "^4.2|| ^5.0 || ^6.0 || ^7.0", "webflo/drupal-finder": "^1.2" }, "require-dev": { "behat/mink": "^1.8", "composer/installers": "^1.9", - "drupal/core-recommended": "^8.8@alpha || ^9.0", - "drush/drush": "^9.6 || ^10.0 || ^11", + "drupal/core-recommended": "^10", + "drush/drush": "^10.0 || ^11 || ^12", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^6.5 || ^7.5 || ^8.0 || ^9", + "phpunit/phpunit": "^8.5 || ^9", "slevomat/coding-standard": "^7.1", "squizlabs/php_codesniffer": "^3.3", - "symfony/phpunit-bridge": "^3.4.3 || ^4.4 || ^5.4 || ^6.0" + "symfony/phpunit-bridge": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, "suggest": { "jangregor/phpstan-prophecy": "Provides a prophecy/prophecy extension for phpstan/phpstan.", @@ -1693,7 +1693,7 @@ "description": "Drupal extension and rules for PHPStan", "support": { "issues": "https://github.com/mglaman/phpstan-drupal/issues", - "source": "https://github.com/mglaman/phpstan-drupal/tree/1.1.34" + "source": "https://github.com/mglaman/phpstan-drupal/tree/1.2.10" }, "funding": [ { @@ -1709,7 +1709,7 @@ "type": "tidelift" } ], - "time": "2023-05-24T21:12:15+00:00" + "time": "2024-04-02T17:27:29+00:00" }, { "name": "myclabs/php-enum", @@ -1899,16 +1899,16 @@ }, { "name": "pdepend/pdepend", - "version": "2.16.1", + "version": "2.16.2", "source": { "type": "git", "url": "https://github.com/pdepend/pdepend.git", - "reference": "66ceb05eaa8bf358574143c974b04463911bc700" + "reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/66ceb05eaa8bf358574143c974b04463911bc700", - "reference": "66ceb05eaa8bf358574143c974b04463911bc700", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/f942b208dc2a0868454d01b29f0c75bbcfc6ed58", + "reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58", "shasum": "" }, "require": { @@ -1950,7 +1950,7 @@ ], "support": { "issues": "https://github.com/pdepend/pdepend/issues", - "source": "https://github.com/pdepend/pdepend/tree/2.16.1" + "source": "https://github.com/pdepend/pdepend/tree/2.16.2" }, "funding": [ { @@ -1958,7 +1958,7 @@ "type": "tidelift" } ], - "time": "2023-12-10T18:38:19+00:00" + "time": "2023-12-17T18:09:59+00:00" }, { "name": "php-parallel-lint/php-console-color", @@ -2063,16 +2063,16 @@ }, { "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.2", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" + "reference": "6db563514f27e19595a19f45a4bf757b6401194e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6db563514f27e19595a19f45a4bf757b6401194e", + "reference": "6db563514f27e19595a19f45a4bf757b6401194e", "shasum": "" }, "require": { @@ -2110,13 +2110,17 @@ "email": "ahoj@jakubonderka.cz" } ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", + "description": "This tool checks the syntax of PHP files about 20x faster than serial check.", "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "keywords": [ + "lint", + "static analysis" + ], "support": { "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", - "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2" + "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.4.0" }, - "time": "2022-02-21T12:50:22+00:00" + "time": "2024-03-27T12:14:49+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -2180,68 +2184,6 @@ }, "time": "2019-12-27T09:44:58+00:00" }, - { - "name": "phploc/phploc", - "version": "7.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phploc.git", - "reference": "af0d5fc84f3f7725513ba59cdcbe670ac2a4532a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/af0d5fc84f3f7725513ba59cdcbe670ac2a4532a", - "reference": "af0d5fc84f3f7725513ba59cdcbe670ac2a4532a", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0", - "sebastian/cli-parser": "^1.0", - "sebastian/version": "^3.0" - }, - "bin": [ - "phploc" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "7.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "A tool for quickly measuring the size of a PHP project.", - "homepage": "https://github.com/sebastianbergmann/phploc", - "support": { - "issues": "https://github.com/sebastianbergmann/phploc/issues", - "source": "https://github.com/sebastianbergmann/phploc/tree/7.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "abandoned": true, - "time": "2020-12-07T05:51:20+00:00" - }, { "name": "phpmd/phpmd", "version": "2.15.0", @@ -2327,22 +2269,24 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.20.4", + "version": "1.29.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd" + "reference": "536889f2b340489d328f5ffb7b02bb6b183ddedc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd", - "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/536889f2b340489d328f5ffb7b02bb6b183ddedc", + "reference": "536889f2b340489d328f5ffb7b02bb6b183ddedc", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^1.5", @@ -2366,22 +2310,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.4" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.0" }, - "time": "2023-05-02T09:19:37+00:00" + "time": "2024-05-06T12:04:23+00:00" }, { "name": "phpstan/phpstan", - "version": "1.10.15", + "version": "1.10.67", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd" + "reference": "16ddbe776f10da6a95ebd25de7c1dbed397dc493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/762c4dac4da6f8756eebb80e528c3a47855da9bd", - "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/16ddbe776f10da6a95ebd25de7c1dbed397dc493", + "reference": "16ddbe776f10da6a95ebd25de7c1dbed397dc493", "shasum": "" }, "require": { @@ -2424,31 +2368,27 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2023-05-09T15:28:01+00:00" + "time": "2024-04-16T07:22:02+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "a22b36b955a2e9a3d39fe533b6c1bb5359f9c319" + "reference": "089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/a22b36b955a2e9a3d39fe533b6c1bb5359f9c319", - "reference": "a22b36b955a2e9a3d39fe533b6c1bb5359f9c319", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa", + "reference": "089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.10" + "phpstan/phpstan": "^1.10.3" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -2476,69 +2416,9 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.3" - }, - "time": "2023-03-17T07:50:08+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.4" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2023-08-05T09:02:04+00:00" }, { "name": "psr/cache", @@ -2815,115 +2695,6 @@ ], "time": "2023-11-16T16:21:57+00:00" }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/version", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:39:44+00:00" - }, { "name": "seld/jsonlint", "version": "1.10.2", @@ -3099,16 +2870,16 @@ }, { "name": "sirbrillig/phpcs-variable-analysis", - "version": "v2.11.16", + "version": "v2.11.18", "source": { "type": "git", "url": "https://github.com/sirbrillig/phpcs-variable-analysis.git", - "reference": "dc5582dc5a93a235557af73e523c389aac9a8e88" + "reference": "ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/dc5582dc5a93a235557af73e523c389aac9a8e88", - "reference": "dc5582dc5a93a235557af73e523c389aac9a8e88", + "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0", + "reference": "ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0", "shasum": "" }, "require": { @@ -3153,36 +2924,36 @@ "source": "https://github.com/sirbrillig/phpcs-variable-analysis", "wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki" }, - "time": "2023-03-31T16:46:32+00:00" + "time": "2024-04-13T16:42:46+00:00" }, { "name": "slevomat/coding-standard", - "version": "8.12.1", + "version": "8.15.0", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "f69e2524e8770efb9b3e5ac4a0ebc0d54eb446d7" + "reference": "7d1d957421618a3803b593ec31ace470177d7817" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/f69e2524e8770efb9b3e5ac4a0ebc0d54eb446d7", - "reference": "f69e2524e8770efb9b3e5ac4a0ebc0d54eb446d7", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/7d1d957421618a3803b593ec31ace470177d7817", + "reference": "7d1d957421618a3803b593ec31ace470177d7817", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", "php": "^7.2 || ^8.0", - "phpstan/phpdoc-parser": ">=1.20.0 <1.21.0", - "squizlabs/php_codesniffer": "^3.7.1" + "phpstan/phpdoc-parser": "^1.23.1", + "squizlabs/php_codesniffer": "^3.9.0" }, "require-dev": { "phing/phing": "2.17.4", "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.10.15", - "phpstan/phpstan-deprecation-rules": "1.1.3", - "phpstan/phpstan-phpunit": "1.3.11", - "phpstan/phpstan-strict-rules": "1.5.1", - "phpunit/phpunit": "7.5.20|8.5.21|9.6.8|10.1.3" + "phpstan/phpstan": "1.10.60", + "phpstan/phpstan-deprecation-rules": "1.1.4", + "phpstan/phpstan-phpunit": "1.3.16", + "phpstan/phpstan-strict-rules": "1.5.2", + "phpunit/phpunit": "8.5.21|9.6.8|10.5.11" }, "type": "phpcodesniffer-standard", "extra": { @@ -3206,7 +2977,7 @@ ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.12.1" + "source": "https://github.com/slevomat/coding-standard/tree/8.15.0" }, "funding": [ { @@ -3218,20 +2989,20 @@ "type": "tidelift" } ], - "time": "2023-05-15T21:42:25+00:00" + "time": "2024-03-09T15:20:58+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.7.2", + "version": "3.9.2", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "aac1f6f347a5c5ac6bc98ad395007df00990f480" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/aac1f6f347a5c5ac6bc98ad395007df00990f480", + "reference": "aac1f6f347a5c5ac6bc98ad395007df00990f480", "shasum": "" }, "require": { @@ -3241,11 +3012,11 @@ "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" }, "bin": [ - "bin/phpcs", - "bin/phpcbf" + "bin/phpcbf", + "bin/phpcs" ], "type": "library", "extra": { @@ -3260,35 +3031,58 @@ "authors": [ { "name": "Greg Sherwood", - "role": "lead" + "role": "Former lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "Current lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", "standards", "static analysis" ], "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" }, - "time": "2023-02-22T23:07:41+00:00" + "funding": [ + { + "url": "https://github.com/PHPCSStandards", + "type": "github" + }, + { + "url": "https://github.com/jrfnl", + "type": "github" + }, + { + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" + } + ], + "time": "2024-04-23T20:25:34+00:00" }, { "name": "symfony/cache", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "49f8cdee544a621a621cd21b6cda32a38926d310" + "reference": "b9e9b93c9817ec6c789c7943f5e54b57a041c16a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/49f8cdee544a621a621cd21b6cda32a38926d310", - "reference": "49f8cdee544a621a621cd21b6cda32a38926d310", + "url": "https://api.github.com/repos/symfony/cache/zipball/b9e9b93c9817ec6c789c7943f5e54b57a041c16a", + "reference": "b9e9b93c9817ec6c789c7943f5e54b57a041c16a", "shasum": "" }, "require": { @@ -3355,7 +3149,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v6.4.3" + "source": "https://github.com/symfony/cache/tree/v6.4.7" }, "funding": [ { @@ -3371,20 +3165,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/cache-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "1d74b127da04ffa87aa940abe15446fa89653778" + "reference": "df6a1a44c890faded49a5fca33c2d5c5fd3c2197" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1d74b127da04ffa87aa940abe15446fa89653778", - "reference": "1d74b127da04ffa87aa940abe15446fa89653778", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/df6a1a44c890faded49a5fca33c2d5c5fd3c2197", + "reference": "df6a1a44c890faded49a5fca33c2d5c5fd3c2197", "shasum": "" }, "require": { @@ -3394,7 +3188,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -3431,7 +3225,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/cache-contracts/tree/v3.5.0" }, "funding": [ { @@ -3447,20 +3241,20 @@ "type": "tidelift" } ], - "time": "2023-09-25T12:52:38+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/config", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "206482ff3ed450495b1d5b7bad1bc3a852def96f" + "reference": "51da0e4494d81bd7b5b5bd80319c55d8e0d7f4ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/206482ff3ed450495b1d5b7bad1bc3a852def96f", - "reference": "206482ff3ed450495b1d5b7bad1bc3a852def96f", + "url": "https://api.github.com/repos/symfony/config/zipball/51da0e4494d81bd7b5b5bd80319c55d8e0d7f4ff", + "reference": "51da0e4494d81bd7b5b5bd80319c55d8e0d7f4ff", "shasum": "" }, "require": { @@ -3506,7 +3300,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v6.4.3" + "source": "https://github.com/symfony/config/tree/v6.4.7" }, "funding": [ { @@ -3522,20 +3316,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T13:26:27+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/console", - "version": "v5.4.35", + "version": "v5.4.39", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "dbdf6adcb88d5f83790e1efb57ef4074309d3931" + "reference": "f3e591c48688a0cfa1a3296205926c05e84b22b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/dbdf6adcb88d5f83790e1efb57ef4074309d3931", - "reference": "dbdf6adcb88d5f83790e1efb57ef4074309d3931", + "url": "https://api.github.com/repos/symfony/console/zipball/f3e591c48688a0cfa1a3296205926c05e84b22b1", + "reference": "f3e591c48688a0cfa1a3296205926c05e84b22b1", "shasum": "" }, "require": { @@ -3605,7 +3399,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.35" + "source": "https://github.com/symfony/console/tree/v5.4.39" }, "funding": [ { @@ -3621,20 +3415,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:28:09+00:00" + "time": "2024-04-18T08:26:06+00:00" }, { "name": "symfony/dependency-injection", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "6871811c5a5c5e180244ddb689746446db02c05b" + "reference": "d8c5f9781b71c2a868ae9d0e5c9b283684740b6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/6871811c5a5c5e180244ddb689746446db02c05b", - "reference": "6871811c5a5c5e180244ddb689746446db02c05b", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/d8c5f9781b71c2a868ae9d0e5c9b283684740b6d", + "reference": "d8c5f9781b71c2a868ae9d0e5c9b283684740b6d", "shasum": "" }, "require": { @@ -3686,7 +3480,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.4.3" + "source": "https://github.com/symfony/dependency-injection/tree/v6.4.7" }, "funding": [ { @@ -3702,20 +3496,20 @@ "type": "tidelift" } ], - "time": "2024-01-30T08:32:12+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { @@ -3724,7 +3518,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -3753,7 +3547,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -3769,20 +3563,20 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "ae9d3a6f3003a6caf56acd7466d8d52378d44fef" + "reference": "d84384f3f67de3cb650db64d685d70395dacfc3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ae9d3a6f3003a6caf56acd7466d8d52378d44fef", - "reference": "ae9d3a6f3003a6caf56acd7466d8d52378d44fef", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d84384f3f67de3cb650db64d685d70395dacfc3f", + "reference": "d84384f3f67de3cb650db64d685d70395dacfc3f", "shasum": "" }, "require": { @@ -3833,7 +3627,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.7" }, "funding": [ { @@ -3849,20 +3643,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", "shasum": "" }, "require": { @@ -3872,7 +3666,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -3909,7 +3703,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" }, "funding": [ { @@ -3925,20 +3719,20 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/expression-language", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", - "reference": "b4a4ae33fbb33a99d23c5698faaecadb76ad0fe4" + "reference": "f64e152029200cf35da13e9e1444e5fc8ff7fdfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/b4a4ae33fbb33a99d23c5698faaecadb76ad0fe4", - "reference": "b4a4ae33fbb33a99d23c5698faaecadb76ad0fe4", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/f64e152029200cf35da13e9e1444e5fc8ff7fdfa", + "reference": "f64e152029200cf35da13e9e1444e5fc8ff7fdfa", "shasum": "" }, "require": { @@ -3973,7 +3767,7 @@ "description": "Provides an engine that can compile and evaluate expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/expression-language/tree/v6.4.3" + "source": "https://github.com/symfony/expression-language/tree/v6.4.7" }, "funding": [ { @@ -3989,26 +3783,27 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb" + "reference": "78dde75f8f6dbbca4ec436a4b0087f7af02076d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb", - "reference": "7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/78dde75f8f6dbbca4ec436a4b0087f7af02076d4", + "reference": "78dde75f8f6dbbca4ec436a4b0087f7af02076d4", "shasum": "" }, "require": { "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" + "symfony/polyfill-mbstring": "~1.8", + "symfony/process": "^5.4|^6.4" }, "type": "library", "autoload": { @@ -4036,7 +3831,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.3" + "source": "https://github.com/symfony/filesystem/tree/v6.4.7" }, "funding": [ { @@ -4052,20 +3847,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/finder", - "version": "v6.4.0", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" + "reference": "511c48990be17358c23bf45c5d71ab85d40fb764" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", + "url": "https://api.github.com/repos/symfony/finder/zipball/511c48990be17358c23bf45c5d71ab85d40fb764", + "reference": "511c48990be17358c23bf45c5d71ab85d40fb764", "shasum": "" }, "require": { @@ -4100,7 +3895,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.0" + "source": "https://github.com/symfony/finder/tree/v6.4.7" }, "funding": [ { @@ -4116,27 +3911,27 @@ "type": "tidelift" } ], - "time": "2023-10-31T17:30:12+00:00" + "time": "2024-04-23T10:36:43+00:00" }, { "name": "symfony/http-client", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "a9034bc119fab8238f76cf49c770f3135f3ead86" + "reference": "3683d8107cf1efdd24795cc5f7482be1eded34ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/a9034bc119fab8238f76cf49c770f3135f3ead86", - "reference": "a9034bc119fab8238f76cf49c770f3135f3ead86", + "url": "https://api.github.com/repos/symfony/http-client/zipball/3683d8107cf1efdd24795cc5f7482be1eded34ac", + "reference": "3683d8107cf1efdd24795cc5f7482be1eded34ac", "shasum": "" }, "require": { "php": ">=8.1", "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-client-contracts": "^3", + "symfony/http-client-contracts": "^3.4.1", "symfony/service-contracts": "^2.5|^3" }, "conflict": { @@ -4154,7 +3949,7 @@ "amphp/http-client": "^4.2.1", "amphp/http-tunnel": "^1.0", "amphp/socket": "^1.1", - "guzzlehttp/promises": "^1.4", + "guzzlehttp/promises": "^1.4|^2.0", "nyholm/psr7": "^1.0", "php-http/httplug": "^1.0|^2.0", "psr/http-client": "^1.0", @@ -4193,7 +3988,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.4.3" + "source": "https://github.com/symfony/http-client/tree/v6.4.7" }, "funding": [ { @@ -4209,20 +4004,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T15:01:07+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "1ee70e699b41909c209a0c930f11034b93578654" + "reference": "20414d96f391677bf80078aa55baece78b82647d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/1ee70e699b41909c209a0c930f11034b93578654", - "reference": "1ee70e699b41909c209a0c930f11034b93578654", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/20414d96f391677bf80078aa55baece78b82647d", + "reference": "20414d96f391677bf80078aa55baece78b82647d", "shasum": "" }, "require": { @@ -4231,7 +4026,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -4271,7 +4066,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.5.0" }, "funding": [ { @@ -4287,20 +4082,20 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.4.0", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "22301f0e7fdeaacc14318928612dee79be99860e" + "reference": "9a3c92b490716ba6771f5beced13c6eda7183eed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/22301f0e7fdeaacc14318928612dee79be99860e", - "reference": "22301f0e7fdeaacc14318928612dee79be99860e", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/9a3c92b490716ba6771f5beced13c6eda7183eed", + "reference": "9a3c92b490716ba6771f5beced13c6eda7183eed", "shasum": "" }, "require": { @@ -4338,7 +4133,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.4.0" + "source": "https://github.com/symfony/options-resolver/tree/v6.4.7" }, "funding": [ { @@ -4354,20 +4149,20 @@ "type": "tidelift" } ], - "time": "2023-08-08T10:16:24+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/phpunit-bridge", - "version": "v7.0.3", + "version": "v7.0.7", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "0a2eeb0d9e68bf01660e3e903f8113508bb46132" + "reference": "0a0b90ba08b9a03e09ad49f8d613bdf3eca3a7a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/0a2eeb0d9e68bf01660e3e903f8113508bb46132", - "reference": "0a2eeb0d9e68bf01660e3e903f8113508bb46132", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/0a0b90ba08b9a03e09ad49f8d613bdf3eca3a7a9", + "reference": "0a0b90ba08b9a03e09ad49f8d613bdf3eca3a7a9", "shasum": "" }, "require": { @@ -4419,7 +4214,7 @@ "description": "Provides utilities for PHPUnit, especially user deprecation notices management", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/phpunit-bridge/tree/v7.0.3" + "source": "https://github.com/symfony/phpunit-bridge/tree/v7.0.7" }, "funding": [ { @@ -4435,7 +4230,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-04-18T09:29:19+00:00" }, { "name": "symfony/polyfill-ctype", @@ -4989,16 +4784,16 @@ }, { "name": "symfony/process", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "31642b0818bfcff85930344ef93193f8c607e0a3" + "reference": "cdb1c81c145fd5aa9b0038bab694035020943381" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/31642b0818bfcff85930344ef93193f8c607e0a3", - "reference": "31642b0818bfcff85930344ef93193f8c607e0a3", + "url": "https://api.github.com/repos/symfony/process/zipball/cdb1c81c145fd5aa9b0038bab694035020943381", + "reference": "cdb1c81c145fd5aa9b0038bab694035020943381", "shasum": "" }, "require": { @@ -5030,7 +4825,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.3" + "source": "https://github.com/symfony/process/tree/v6.4.7" }, "funding": [ { @@ -5046,25 +4841,26 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -5072,7 +4868,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -5112,7 +4908,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -5128,20 +4924,20 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/string", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "7a14736fb179876575464e4658fce0c304e8c15b" + "reference": "ffeb9591c61f65a68d47f77d12b83fa530227a69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/7a14736fb179876575464e4658fce0c304e8c15b", - "reference": "7a14736fb179876575464e4658fce0c304e8c15b", + "url": "https://api.github.com/repos/symfony/string/zipball/ffeb9591c61f65a68d47f77d12b83fa530227a69", + "reference": "ffeb9591c61f65a68d47f77d12b83fa530227a69", "shasum": "" }, "require": { @@ -5198,7 +4994,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.3" + "source": "https://github.com/symfony/string/tree/v6.4.7" }, "funding": [ { @@ -5214,20 +5010,20 @@ "type": "tidelift" } ], - "time": "2024-01-25T09:26:29+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/var-exporter", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "a8c12b5448a5ac685347f5eeb2abf6a571ec16b8" + "reference": "825f9b00c37bbe1c1691cc1aff9b5451fc9b4405" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/a8c12b5448a5ac685347f5eeb2abf6a571ec16b8", - "reference": "a8c12b5448a5ac685347f5eeb2abf6a571ec16b8", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/825f9b00c37bbe1c1691cc1aff9b5451fc9b4405", + "reference": "825f9b00c37bbe1c1691cc1aff9b5451fc9b4405", "shasum": "" }, "require": { @@ -5235,6 +5031,8 @@ "symfony/deprecation-contracts": "^2.5|^3" }, "require-dev": { + "symfony/property-access": "^6.4|^7.0", + "symfony/serializer": "^6.4|^7.0", "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "type": "library", @@ -5273,7 +5071,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.4.3" + "source": "https://github.com/symfony/var-exporter/tree/v6.4.7" }, "funding": [ { @@ -5289,20 +5087,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:22:46+00:00" }, { "name": "symfony/yaml", - "version": "v6.4.3", + "version": "v6.4.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "d75715985f0f94f978e3a8fa42533e10db921b90" + "reference": "53e8b1ef30a65f78eac60fddc5ee7ebbbdb1dee0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/d75715985f0f94f978e3a8fa42533e10db921b90", - "reference": "d75715985f0f94f978e3a8fa42533e10db921b90", + "url": "https://api.github.com/repos/symfony/yaml/zipball/53e8b1ef30a65f78eac60fddc5ee7ebbbdb1dee0", + "reference": "53e8b1ef30a65f78eac60fddc5ee7ebbbdb1dee0", "shasum": "" }, "require": { @@ -5345,7 +5143,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.4.3" + "source": "https://github.com/symfony/yaml/tree/v6.4.7" }, "funding": [ { @@ -5361,34 +5159,35 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-28T10:28:08+00:00" }, { "name": "webflo/drupal-finder", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/webflo/drupal-finder.git", - "reference": "c8e5dbe65caef285fec8057a4c718a0d4138d1ee" + "reference": "1fa65484857c7a2e4dcf0d9e0b47198fe0681b8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webflo/drupal-finder/zipball/c8e5dbe65caef285fec8057a4c718a0d4138d1ee", - "reference": "c8e5dbe65caef285fec8057a4c718a0d4138d1ee", + "url": "https://api.github.com/repos/webflo/drupal-finder/zipball/1fa65484857c7a2e4dcf0d9e0b47198fe0681b8a", + "reference": "1fa65484857c7a2e4dcf0d9e0b47198fe0681b8a", "shasum": "" }, "require": { - "ext-json": "*" + "composer-runtime-api": "^2.2", + "php": ">=8.1" }, "require-dev": { "mikey179/vfsstream": "^1.6", - "phpunit/phpunit": "^4.8" + "phpunit/phpunit": "^10.4" }, "type": "library", "autoload": { - "classmap": [ - "src/DrupalFinder.php" - ] + "psr-4": { + "DrupalFinder\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5400,30 +5199,28 @@ "email": "florian@webflo.org" } ], - "description": "Helper class to locate a Drupal installation from a given path.", + "description": "Helper class to locate a Drupal installation.", "support": { "issues": "https://github.com/webflo/drupal-finder/issues", - "source": "https://github.com/webflo/drupal-finder/tree/1.2.2" + "source": "https://github.com/webflo/drupal-finder/tree/1.3.0" }, - "time": "2020-10-27T09:42:17+00:00" + "time": "2024-05-08T21:22:39+00:00" }, { "name": "weitzman/drupal-test-traits", - "version": "2.2.0", + "version": "2.3.0", "source": { "type": "git", - "url": "git@gitlab.com:weitzman/drupal-test-traits.git", - "reference": "9ef44f5cd5eef942c84f2d2ffd21734944d566f8" - }, - "dist": { - "type": "zip", - "url": "https://gitlab.com/api/v4/projects/weitzman%2Fdrupal-test-traits/repository/archive.zip?sha=9ef44f5cd5eef942c84f2d2ffd21734944d566f8", - "reference": "9ef44f5cd5eef942c84f2d2ffd21734944d566f8", - "shasum": "" + "url": "https://git.drupalcode.org/project/dtt/", + "reference": "9385da6be0db48ecdb27e6646ae2bb0864c1dcee" }, "require": { "php": ">=8.1" }, + "require-dev": { + "drush/drush": "^12.5", + "phpspec/prophecy-phpunit": "^2" + }, "type": "library", "extra": { "installer-paths": { @@ -5458,7 +5255,7 @@ } ], "description": "Traits for testing Drupal sites that have user content (versus unpopulated sites).", - "time": "2023-10-13T22:55:15+00:00" + "time": "2024-05-08T13:42:59+00:00" } ], "packages-dev": [ @@ -5537,16 +5334,16 @@ }, { "name": "doctrine/deprecations", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", "shasum": "" }, "require": { @@ -5578,9 +5375,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.2" + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" }, - "time": "2023-09-27T20:04:15+00:00" + "time": "2024-01-30T19:34:25+00:00" }, { "name": "doctrine/instantiator", @@ -5713,16 +5510,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.0.0", + "version": "v5.0.2", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc", - "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", "shasum": "" }, "require": { @@ -5765,26 +5562,27 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" }, - "time": "2024-01-07T17:17:35+00:00" + "time": "2024-03-05T20:51:40+00:00" }, { "name": "phar-io/manifest", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-phar": "*", "ext-xmlwriter": "*", "phar-io/version": "^3.0.1", @@ -5825,9 +5623,15 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, - "time": "2021-07-20T11:28:43+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -5935,28 +5739,35 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", + "version": "5.4.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + "reference": "298d2febfe79d03fe714eb871d5538da55205b1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/298d2febfe79d03fe714eb871d5538da55205b1a", + "reference": "298d2febfe79d03fe714eb871d5538da55205b1a", "shasum": "" }, "require": { + "doctrine/deprecations": "^1.1", "ext-filter": "*", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", + "phpdocumentor/type-resolver": "^1.7", + "phpstan/phpdoc-parser": "^1.7", "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" + "mockery/mockery": "~1.3.5", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-webmozart-assert": "^1.2", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^5.13" }, "type": "library", "extra": { @@ -5980,33 +5791,33 @@ }, { "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" + "email": "opensource@ijaap.nl" } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.0" }, - "time": "2021-10-19T17:43:47+00:00" + "time": "2024-04-09T21:13:58+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.7.3", + "version": "1.8.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" + "reference": "153ae662783729388a584b4361f2545e4d841e3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/153ae662783729388a584b4361f2545e4d841e3c", + "reference": "153ae662783729388a584b4361f2545e4d841e3c", "shasum": "" }, "require": { "doctrine/deprecations": "^1.0", - "php": "^7.4 || ^8.0", + "php": "^7.3 || ^8.0", "phpdocumentor/reflection-common": "^2.0", "phpstan/phpdoc-parser": "^1.13" }, @@ -6044,30 +5855,30 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.3" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.2" }, - "time": "2023-08-12T11:01:26+00:00" + "time": "2024-02-23T11:10:43+00:00" }, { "name": "phpspec/prophecy", - "version": "v1.18.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "d4f454f7e1193933f04e6500de3e79191648ed0c" + "reference": "67a759e7d8746d501c41536ba40cd9c0a07d6a87" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d4f454f7e1193933f04e6500de3e79191648ed0c", - "reference": "d4f454f7e1193933f04e6500de3e79191648ed0c", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/67a759e7d8746d501c41536ba40cd9c0a07d6a87", + "reference": "67a759e7d8746d501c41536ba40cd9c0a07d6a87", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2 || ^2.0", "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*", "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0 || ^5.0", - "sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0" + "sebastian/comparator": "^3.0 || ^4.0 || ^5.0 || ^6.0", + "sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { "phpspec/phpspec": "^6.0 || ^7.0", @@ -6113,33 +5924,33 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.18.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.19.0" }, - "time": "2023-12-07T16:22:33+00:00" + "time": "2024-02-29T11:52:51+00:00" }, { "name": "phpspec/prophecy-phpunit", - "version": "v2.1.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy-phpunit.git", - "reference": "29f8114c2c319a4308e6b070902211e062efa392" + "reference": "16e1247e139434bce0bac09848bc5c8d882940fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy-phpunit/zipball/29f8114c2c319a4308e6b070902211e062efa392", - "reference": "29f8114c2c319a4308e6b070902211e062efa392", + "url": "https://api.github.com/repos/phpspec/prophecy-phpunit/zipball/16e1247e139434bce0bac09848bc5c8d882940fc", + "reference": "16e1247e139434bce0bac09848bc5c8d882940fc", "shasum": "" }, "require": { "php": "^7.3 || ^8", "phpspec/prophecy": "^1.18", - "phpunit/phpunit": "^9.1 || ^10.1" + "phpunit/phpunit": "^9.1 || ^10.1 || ^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -6165,22 +5976,22 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy-phpunit/issues", - "source": "https://github.com/phpspec/prophecy-phpunit/tree/v2.1.0" + "source": "https://github.com/phpspec/prophecy-phpunit/tree/v2.2.0" }, - "time": "2023-12-08T12:48:02+00:00" + "time": "2024-03-01T08:33:58+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.30", + "version": "10.1.14", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" + "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", + "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", "shasum": "" }, "require": { @@ -6188,18 +5999,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -6208,7 +6019,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "10.1-dev" } }, "autoload": { @@ -6237,7 +6048,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.14" }, "funding": [ { @@ -6245,28 +6056,89 @@ "type": "github" } ], - "time": "2023-12-22T06:47:57+00:00" + "time": "2024-03-12T15:33:41+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "4.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T06:24:48+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcntl": "*" @@ -6274,7 +6146,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -6300,7 +6172,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -6308,32 +6180,32 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -6359,7 +6231,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" }, "funding": [ { @@ -6367,32 +6240,32 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2023-08-31T14:07:24+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -6418,7 +6291,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -6426,24 +6299,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { "name": "phpunit/phpunit", - "version": "9.6.16", + "version": "10.5.20", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" + "reference": "547d314dc24ec1e177720d45c6263fb226cc2ae3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", - "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/547d314dc24ec1e177720d45c6263fb226cc2ae3", + "reference": "547d314dc24ec1e177720d45c6263fb226cc2ae3", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -6453,27 +6325,26 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.28", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.5", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.1", + "sebastian/global-state": "^6.0.1", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ "phpunit" @@ -6481,7 +6352,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.6-dev" + "dev-main": "10.5-dev" } }, "autoload": { @@ -6513,7 +6384,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.20" }, "funding": [ { @@ -6529,32 +6400,89 @@ "type": "tidelift" } ], - "time": "2024-01-19T07:03:14+00:00" + "time": "2024-04-24T06:32:35+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:12:49+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -6577,7 +6505,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -6585,32 +6513,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -6632,7 +6560,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -6640,34 +6568,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.8", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + "reference": "2db5010a484d53ebf536087a70b4a5423c102372" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -6706,7 +6636,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" }, "funding": [ { @@ -6714,33 +6645,33 @@ "type": "github" } ], - "time": "2022-09-14T12:41:17+00:00" + "time": "2023-08-14T13:18:12+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.3", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" + "reference": "68ff824baeae169ec9f2137158ee529584553799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", - "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.2-dev" } }, "autoload": { @@ -6763,7 +6694,8 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" }, "funding": [ { @@ -6771,33 +6703,33 @@ "type": "github" } ], - "time": "2023-12-22T06:19:30+00:00" + "time": "2023-12-21T08:37:17+00:00" }, { "name": "sebastian/diff", - "version": "4.0.5", + "version": "5.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" + "phpunit/phpunit": "^10.0", + "symfony/process": "^6.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -6829,7 +6761,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" }, "funding": [ { @@ -6837,27 +6770,27 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2024-03-02T07:15:17+00:00" }, { "name": "sebastian/environment", - "version": "5.1.5", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -6865,7 +6798,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.1-dev" } }, "autoload": { @@ -6884,7 +6817,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -6892,7 +6825,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" }, "funding": [ { @@ -6900,34 +6834,34 @@ "type": "github" } ], - "time": "2023-02-03T06:03:51+00:00" + "time": "2024-03-23T08:47:14+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "5.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "955288482d97c19a372d3f31006ab3f37da47adf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -6969,7 +6903,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" }, "funding": [ { @@ -6977,38 +6912,35 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2024-03-02T07:17:12+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.6", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -7027,13 +6959,14 @@ } ], "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", "keywords": [ "global state" ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" }, "funding": [ { @@ -7041,33 +6974,33 @@ "type": "github" } ], - "time": "2023-08-02T09:26:13+00:00" + "time": "2024-03-02T07:19:19+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.4", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", - "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -7090,7 +7023,8 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" }, "funding": [ { @@ -7098,34 +7032,34 @@ "type": "github" } ], - "time": "2023-12-22T06:20:34+00:00" + "time": "2023-12-21T08:38:20+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7147,7 +7081,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -7155,32 +7089,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -7202,7 +7136,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -7210,32 +7144,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7265,7 +7199,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, "funding": [ { @@ -7273,32 +7207,32 @@ "type": "github" } ], - "time": "2023-02-03T06:07:39+00:00" + "time": "2023-02-03T07:05:40+00:00" }, { - "name": "sebastian/resource-operations", - "version": "3.0.3", + "name": "sebastian/type", + "version": "4.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -7313,14 +7247,15 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -7328,32 +7263,29 @@ "type": "github" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { - "name": "sebastian/type", - "version": "3.2.1", + "name": "sebastian/version", + "version": "4.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -7372,11 +7304,11 @@ "role": "lead" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -7384,20 +7316,20 @@ "type": "github" } ], - "time": "2023-02-03T06:13:03+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -7426,7 +7358,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.2" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -7434,7 +7366,7 @@ "type": "github" } ], - "time": "2023-11-20T00:12:19+00:00" + "time": "2024-03-03T12:36:25+00:00" }, { "name": "webmozart/assert", diff --git a/config/VERSION b/config/VERSION index 79214dce1..ba50f2dac 100644 --- a/config/VERSION +++ b/config/VERSION @@ -1 +1 @@ -v4.7.0 +v4.8.0 diff --git a/config/packages.yml b/config/packages.yml index d9790b3d0..148fdc9b0 100644 --- a/config/packages.yml +++ b/config/packages.yml @@ -74,8 +74,8 @@ drupal/acquia_connector: version_dev: 4.x-dev drupal/acquia_contenthub: - version: 3.3.x - version_dev: 3.3.x + version: 3.4.x + version_dev: 3.4.x # ORCA-642: Acquia Perz was temporarily removed due to an outage. #drupal/acquia_perz: @@ -166,9 +166,12 @@ drush/drush: 9.x: version: 11.x version_dev: 11.x - '*': + 10.x: version: 12.x version_dev: 12.x-dev + '*': + version: 13.x + version_dev: 13.x-dev # Acquia CMS uses drupal-test-traits as a dev dependency. # @todo remove this via ORCA-298 diff --git a/docs/images/job-matrix.png b/docs/images/job-matrix.png index 1f90ea17e..5af06ad6e 100644 Binary files a/docs/images/job-matrix.png and b/docs/images/job-matrix.png differ diff --git a/example/.github/workflows/orca.yml b/example/.github/workflows/orca.yml index 5ba82caeb..7c852e6a0 100644 --- a/example/.github/workflows/orca.yml +++ b/example/.github/workflows/orca.yml @@ -35,7 +35,7 @@ on: - cron: "0 0 * * *" jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # Change the following values for your implementation. env: # Boolean values must be quoted, otherwise they will be converted to lower case and break ORCA scripts. @@ -131,57 +131,57 @@ jobs: - ISOLATED_TEST_ON_NEXT_MINOR_DEV # - INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR_DEV - LOOSE_DEPRECATED_CODE_SCAN - # - ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER - # - INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER - # - ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV - # - INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV # The lowest version of PHP supported by all of Drupal, Acquia, and ORCA itself. # @see https://www.drupal.org/docs/8/system-requirements/php-requirements # @see https://docs.acquia.com/acquia-cloud/arch/tech-platform/ - php-version: [ "8.1" ] + php-version: [ "8.1" , "8.3" ] orca-enable-nightwatch: [ "FALSE" ] + orca-coverage-enable: [ "FALSE" ] orca-version: [ "^4" ] # When manually specifying a job to include, empty parameter values (such as for orca-job and php-version) may # result in undefined behavior. Make sure to set each parameter explicitly. include: - - orca-job: INTEGRATED_TEST_ON_OLDEST_SUPPORTED - php-version: "7.4" - orca-enable-nightwatch: "FALSE" - orca-version: "^3" - - - orca-job: INTEGRATED_TEST_ON_OLDEST_SUPPORTED - php-version: "8.0" - orca-enable-nightwatch: "FALSE" - orca-version: "^3" - - - orca-job: INTEGRATED_TEST_ON_LATEST_LTS - php-version: "7.4" - orca-enable-nightwatch: "FALSE" - orca-version: "^3" - - - orca-job: INTEGRATED_TEST_ON_LATEST_LTS - php-version: "8.0" - orca-enable-nightwatch: "FALSE" - orca-version: "^3" - - - orca-job: INTEGRATED_TEST_ON_LATEST_LTS - php-version: "8.2" - orca-enable-nightwatch: "FALSE" - + # Testing Drupal 10 in php 8.1 with nightwatch and coverage. - orca-job: ISOLATED_TEST_ON_CURRENT php-version: "8.1" orca-enable-nightwatch: "TRUE" + # Testing coverage generation in Clover format when ORCA_COVERAGE_ENABLE is TRUE. + orca-coverage-enable: "TRUE" + # Testing Drupal 10 in php 8.3. - orca-job: ISOLATED_TEST_ON_CURRENT - php-version: "8.2" + php-version: "8.3" + orca-enable-nightwatch: "TRUE" + # Testing coverage generation in CLOVER format. + orca-coverage-clover-enable: "TRUE" + + # Testing Drupal 9 in php 8.1. + - orca-job: INTEGRATED_TEST_ON_LATEST_EOL_MAJOR + php-version: "8.1" + + # Testing Drupal 11 in php 8.3. + - orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER + php-version: "8.3" + + # Testing Drupal 11 in php 8.3. + - orca-job: INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER + php-version: "8.3" + + # Testing Drupal 11 in php 8.3. + - orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV + php-version: "8.3" + + # Testing Drupal 11 in php 8.3. + - orca-job: INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV + php-version: "8.3" # ORCA only executes when ORCA_JOB is set. Leave ORCA_JOB unset to execute custom jobs. # See ./bin/ci/example.sh for details. # - php-version: "7.4" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 20.x diff --git a/example/example.info.yml b/example/example.info.yml index ad5a4a5dc..11695a462 100644 --- a/example/example.info.yml +++ b/example/example.info.yml @@ -2,4 +2,4 @@ name: Example type: module description: "Provides an example module for testing and illustration purposes." package: Other -core_version_requirement: '^8 || ^9 || ^10' +core_version_requirement: '^8 || ^9 || ^10 || ^11' diff --git a/example/modules/example_submodule_do_not_enable/example_submodule_do_not_enable.info.yml b/example/modules/example_submodule_do_not_enable/example_submodule_do_not_enable.info.yml index fe53e2d4d..eddc12b78 100644 --- a/example/modules/example_submodule_do_not_enable/example_submodule_do_not_enable.info.yml +++ b/example/modules/example_submodule_do_not_enable/example_submodule_do_not_enable.info.yml @@ -2,4 +2,4 @@ name: "Example Submodule: Do Not Enable" type: module description: "An example submodule that is not enabled by ORCA." package: Other -core_version_requirement: '^8 || ^9 || ^10' +core_version_requirement: '^8 || ^9 || ^10 || ^11' diff --git a/example/modules/example_submodule_enable/example_submodule_enable.info.yml b/example/modules/example_submodule_enable/example_submodule_enable.info.yml index 43eb1cdf7..9b596be50 100644 --- a/example/modules/example_submodule_enable/example_submodule_enable.info.yml +++ b/example/modules/example_submodule_enable/example_submodule_enable.info.yml @@ -2,4 +2,4 @@ name: "Example Submodule: Enable" type: module description: "An example submodule that is enabled by ORCA." package: Other -core_version_requirement: '^8 || ^9 || ^10' +core_version_requirement: '^8 || ^9 || ^10 || ^11' diff --git a/example/tests/packages_alter.yml b/example/tests/packages_alter.yml index 6cea15d53..40d0f2e5b 100644 --- a/example/tests/packages_alter.yml +++ b/example/tests/packages_alter.yml @@ -19,9 +19,12 @@ drush/drush: 9.x: version: 11.x version_dev: 11.x - '*': + 10.x: version: 12.x version_dev: 12.x-dev + '*': + version: 13.x + version_dev: 13.x-dev phpspec/prophecy-phpunit: is_company_package: false diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 72aefd545..913fc5d25 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,32 +1,23 @@ - - - + - + - tests - - - - src - + - + + + src + + diff --git a/src/Domain/Ci/CiJobFactory.php b/src/Domain/Ci/CiJobFactory.php index 48b2f2031..b4434c88f 100644 --- a/src/Domain/Ci/CiJobFactory.php +++ b/src/Domain/Ci/CiJobFactory.php @@ -123,7 +123,7 @@ public function __construct( IsolatedUpgradeTestToNextMajorDevCiJob $isolated_upgrade_test_to_next_major_dev_ci_job, LooseDeprecatedCodeScanCiJob $loose_deprecated_code_scan_ci_job, StaticCodeAnalysisCiJob $static_code_analysis_ci_job, - StrictDeprecatedCodeScanCiJob $strict_deprecated_code_scan_ci_job + StrictDeprecatedCodeScanCiJob $strict_deprecated_code_scan_ci_job, ) { foreach (func_get_args() as $job) { $job_name = $job->getJobName(); diff --git a/src/Domain/Ci/Job/IntegratedTestOnLatestLtsCiJob.php b/src/Domain/Ci/Job/IntegratedTestOnLatestLtsCiJob.php index 280854548..731272367 100644 --- a/src/Domain/Ci/Job/IntegratedTestOnLatestLtsCiJob.php +++ b/src/Domain/Ci/Job/IntegratedTestOnLatestLtsCiJob.php @@ -69,7 +69,7 @@ public function __construct( EnvFacade $env_facade, OutputInterface $output, ProcessRunner $process_runner, - RedundantJobChecker $redundant_job_checker + RedundantJobChecker $redundant_job_checker, ) { $this->drupalCoreVersionResolver = $drupal_core_version_resolver; $this->envFacade = $env_facade; diff --git a/src/Domain/Drush/DrushFacade.php b/src/Domain/Drush/DrushFacade.php index 3362fcc19..e2bdc9a2d 100644 --- a/src/Domain/Drush/DrushFacade.php +++ b/src/Domain/Drush/DrushFacade.php @@ -72,7 +72,8 @@ public function getDrushStatus(): array { '--format=json', ]); $process->run(); - $json = $process->getOutput(); + $output = $process->getOutput(); + $json = $this->extractJson($output); $data = json_decode($json, TRUE); if (json_last_error()) { @@ -86,6 +87,19 @@ public function getDrushStatus(): array { return $data; } + /** + * Extracts the JSON from the response received. + * + * @param string $json + * The response from drush. + * + * @return string + * The JSON response extracted. + */ + public function extractJson(string $json): string { + return substr($json, strpos($json, "{")); + } + /** * Installs Drupal. * diff --git a/src/Domain/Fixture/FixtureCreator.php b/src/Domain/Fixture/FixtureCreator.php index 1c4ef927d..2a28fa0e2 100644 --- a/src/Domain/Fixture/FixtureCreator.php +++ b/src/Domain/Fixture/FixtureCreator.php @@ -179,7 +179,8 @@ class FixtureCreator { * @param \Acquia\Orca\Helper\EnvFacade $env * The environment facade. */ - public function __construct(CloudHooksInstaller $cloud_hooks_installer, + public function __construct( + CloudHooksInstaller $cloud_hooks_installer, CodebaseCreator $codebase_creator, ComposerFacade $composer, ComposerJsonHelper $composer_json_helper, @@ -194,7 +195,7 @@ public function __construct(CloudHooksInstaller $cloud_hooks_installer, SubextensionManager $subextension_manager, VersionFinder $version_finder, FixtureCustomizer $fixtureCustomizer, - EnvFacade $env + EnvFacade $env, ) { $this->cloudHooksInstaller = $cloud_hooks_installer; $this->codebaseCreator = $codebase_creator; diff --git a/src/Domain/Fixture/FixtureCustomizer.php b/src/Domain/Fixture/FixtureCustomizer.php index 4392ef68f..4279aecf5 100644 --- a/src/Domain/Fixture/FixtureCustomizer.php +++ b/src/Domain/Fixture/FixtureCustomizer.php @@ -57,7 +57,7 @@ public function __construct( FinderFactory $finderFactory, Filesystem $filesystem, FixturePathHandler $fixturePathHandler, - OutputInterface $output + OutputInterface $output, ) { $this->finderFactory = $finderFactory; $this->filesystem = $filesystem; @@ -134,7 +134,7 @@ public function removeAcquiaDamCkeditorTests(FixtureOptions $options): void { protected function removeModuleDevDependencyTests( FixtureOptions $options, string $module_name, - string $search_string + string $search_string, ): void { $finder = $this->finderFactory->create(); // Converting drupal/acquia_dam to acquia_dam. diff --git a/src/Domain/Fixture/Helper/DrupalSettingsHelper.php b/src/Domain/Fixture/Helper/DrupalSettingsHelper.php index 26391042b..2055e2aeb 100644 --- a/src/Domain/Fixture/Helper/DrupalSettingsHelper.php +++ b/src/Domain/Fixture/Helper/DrupalSettingsHelper.php @@ -143,23 +143,23 @@ protected function getSettings(): string { // already installed and causing the import to fail. // @see \Drupal\Core\DrupalKernel::$defaultBootstrapContainerDefinition // @see https://www.drupal.org/project/drupal/issues/3006038 -$settings['bootstrap_container_definition'] = [ - 'parameters' => [], - 'services' => [ - 'database' => [ - 'class' => 'Drupal\Core\Database\Connection', - 'factory' => 'Drupal\Core\Database\Database::getConnection', - 'arguments' => ['default'], - ], - 'cache.container' => [ - 'class' => 'Drupal\Core\Cache\MemoryBackend', - ], - 'cache_tags_provider.container' => [ - 'class' => 'Drupal\Core\Cache\DatabaseCacheTagsChecksum', - 'arguments' => ['@database'], - ], - ], -]; +//$settings['bootstrap_container_definition'] = [ +// 'parameters' => [], +// 'services' => [ +// 'database' => [ +// 'class' => 'Drupal\Core\Database\Connection', +// 'factory' => 'Drupal\Core\Database\Database::getConnection', +// 'arguments' => ['default'], +// ], +// 'cache.container' => [ +// 'class' => 'Drupal\Core\Cache\MemoryBackend', +// ], +// 'cache_tags_provider.container' => [ +// 'class' => 'Drupal\Core\Cache\DatabaseCacheTagsChecksum', +// 'arguments' => ['@database'], +// ], +// ], +//]; // Change the config cache to use a memory backend to prevent SQLite "too many // SQL variables" errors. diff --git a/src/Domain/Tool/Phpunit/PhpUnitTask.php b/src/Domain/Tool/Phpunit/PhpUnitTask.php index 246e5bcd6..4485bf561 100644 --- a/src/Domain/Tool/Phpunit/PhpUnitTask.php +++ b/src/Domain/Tool/Phpunit/PhpUnitTask.php @@ -199,7 +199,13 @@ private function setTestSuite(): void { */ private function setCoverageFilter(): void { + $new_element = NULL; + // D9 style "phpunit.xml" structure. $whitelist = $this->xpath->query('//phpunit/filter/whitelist')->item(0); + // D10 style "phpunit.xml" structure. + $coverage = $this->xpath->query('//phpunit/coverage')->item(0); + // D11 style "phpunit.xml" structure. + $source = $this->xpath->query('//phpunit/source')->item(0); // Adding suffixes to "whitelist" element. $suffixes = [ '.php', @@ -223,16 +229,16 @@ private function setCoverageFilter(): void { $directory->setAttribute('suffix', $suffix); $whitelist->appendChild($directory); } + $new_element = $whitelist; } - else { + elseif ($coverage instanceof \DOMElement) { // Checking for Drupal 10 style "phpunit.xml" structure. - $whitelist = $this->xpath->query('//phpunit/coverage')->item(0); - assert($whitelist instanceof \DOMElement); - $whitelist->parentNode->removeChild($whitelist); + assert($coverage instanceof \DOMElement); + $coverage->parentNode->removeChild($coverage); $appendTo = "//phpunit"; // Creating new "coverage" element. - $whitelist = $this->doc->createElement('coverage'); + $coverage = $this->doc->createElement('coverage'); // Create new include element. $include = $this->doc->createElement('include'); @@ -242,7 +248,29 @@ private function setCoverageFilter(): void { $directory->setAttribute('suffix', $suffix); $include->appendChild($directory); } - $whitelist->appendChild($include); + $coverage->appendChild($include); + $new_element = $coverage; + } + else { + // Checking for Drupal 11 style "phpunit.xml" structure. + assert($source instanceof \DOMElement); + $source->parentNode->removeChild($source); + $appendTo = "//phpunit"; + + // Creating new "source" element. + $source = $this->doc->createElement('source'); + $source->setAttribute('ignoreSuppressionOfDeprecations', 'true'); + // Create new include element. + $include = $this->doc->createElement('include'); + + foreach ($suffixes as $suffix) { + $directory = $this->doc->createElement('directory', $this->getPath()); + $directory->setAttribute('suffix', $suffix); + $include->appendChild($directory); + } + $source->appendChild($include); + $new_element = $source; + } // Excluding tests directories. @@ -261,10 +289,10 @@ private function setCoverageFilter(): void { $exclude->appendChild($exclude_directory); // Appending the excluded directories to "whitelist/coverage" element. - $whitelist->appendChild($exclude); + $new_element->appendChild($exclude); // Writing "whitelist/coverage" element to file. - $this->xpath->query($appendTo)->item(0)->appendChild($whitelist); + $this->xpath->query($appendTo)->item(0)->appendChild($new_element); } /** @@ -379,7 +407,6 @@ protected function runPhpUnit(): void { try { $command = [ 'phpunit', - '--verbose', ]; if ($this->shouldGenerateCodeCoverageInClover()) { diff --git a/src/Helper/Log/GoogleApiClient.php b/src/Helper/Log/GoogleApiClient.php index 4c6104538..9f440068c 100644 --- a/src/Helper/Log/GoogleApiClient.php +++ b/src/Helper/Log/GoogleApiClient.php @@ -82,12 +82,14 @@ class GoogleApiClient { * @param string $google_refresh_token * The Google refresh token. */ - public function __construct(HttpClientInterface $http_client, - SymfonyStyle $output, + public function __construct( + HttpClientInterface $http_client, + SymfonyStyle $output, DrupalCoreVersionResolver $coreVersionResolver, string|null $google_api_client_id, string|null $google_api_client_secret, - string|null $google_refresh_token) { + string|null $google_refresh_token, + ) { $this->httpClient = $http_client; $this->output = $output; $this->version = $coreVersionResolver; diff --git a/src/Options/FixtureOptions.php b/src/Options/FixtureOptions.php index 304842f16..069b9d6e5 100644 --- a/src/Options/FixtureOptions.php +++ b/src/Options/FixtureOptions.php @@ -306,6 +306,9 @@ public function getProjectTemplate(): string { elseif ($this->coreVersionParsedMatches('^10') && $this->isDev()) { $this->options['project-template'] = 'acquia/drupal-recommended-project:dev-master'; } + elseif ($this->coreVersionParsedMatches('^11')) { + $this->options['project-template'] = 'acquia/drupal-recommended-project:dev-drupal11'; + } else { $this->options['project-template'] = 'acquia/drupal-recommended-project'; } diff --git a/tests/Console/Command/Debug/DebugCoreVersionsCommandTest.php b/tests/Console/Command/Debug/DebugCoreVersionsCommandTest.php index 0a870f73f..6ef50e24c 100644 --- a/tests/Console/Command/Debug/DebugCoreVersionsCommandTest.php +++ b/tests/Console/Command/Debug/DebugCoreVersionsCommandTest.php @@ -72,7 +72,7 @@ public function testOutput($notice, $table_rows, $args, $include_examples, $incl self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerOutput(): array { + public static function providerOutput(): array { $notice = 'Getting version data via Composer. This can take a while.' . PHP_EOL; return [ [ diff --git a/tests/Console/Command/Debug/DebugEnvVarsCommandTest.php b/tests/Console/Command/Debug/DebugEnvVarsCommandTest.php index 9dcc92db1..491fc3390 100644 --- a/tests/Console/Command/Debug/DebugEnvVarsCommandTest.php +++ b/tests/Console/Command/Debug/DebugEnvVarsCommandTest.php @@ -69,7 +69,7 @@ public function testOutput($table_rows): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerOutput(): array { + public static function providerOutput(): array { return [ ['table_rows' => [['Lorem', '~', 'Ipsum']]], ['table_rows' => [['Dolor', '~', 'Sit']]], diff --git a/tests/Console/Command/Debug/DebugPackagesCommandTest.php b/tests/Console/Command/Debug/DebugPackagesCommandTest.php index f6fc37446..d60d24270 100644 --- a/tests/Console/Command/Debug/DebugPackagesCommandTest.php +++ b/tests/Console/Command/Debug/DebugPackagesCommandTest.php @@ -97,7 +97,7 @@ public function testInvalidArguments($version): void { self::assertEquals(StatusCodeEnum::ERROR, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerInvalidArguments(): array { + public static function providerInvalidArguments(): array { return [ ['invalid'], [FALSE], diff --git a/tests/Console/Command/Debug/Helper/CoreVersionsTableBuilderTest.php b/tests/Console/Command/Debug/Helper/CoreVersionsTableBuilderTest.php index aba6797fc..27c7f2a61 100644 --- a/tests/Console/Command/Debug/Helper/CoreVersionsTableBuilderTest.php +++ b/tests/Console/Command/Debug/Helper/CoreVersionsTableBuilderTest.php @@ -51,7 +51,7 @@ public function testBuild($include_examples, $include_resolved, $resolved1, $res self::assertEquals($expected, $actual, 'Built expected table.'); } - public function providerBuild(): array { + public static function providerBuild(): array { return [ [ 'include_examples' => FALSE, diff --git a/tests/Console/Command/Debug/Helper/EnvVarsTableBuilderTest.php b/tests/Console/Command/Debug/Helper/EnvVarsTableBuilderTest.php index 766fb0d82..027200bb4 100644 --- a/tests/Console/Command/Debug/Helper/EnvVarsTableBuilderTest.php +++ b/tests/Console/Command/Debug/Helper/EnvVarsTableBuilderTest.php @@ -46,7 +46,7 @@ public function testBuild($rows): void { self::assertEquals($expected, $actual, 'Built expected table.'); } - public function providerBuild(): array { + public static function providerBuild(): array { return [ [ 'rows' => [ diff --git a/tests/Console/Command/Fixture/FixtureBackupCommandTest.php b/tests/Console/Command/Fixture/FixtureBackupCommandTest.php index bf7464060..a78f48d8e 100644 --- a/tests/Console/Command/Fixture/FixtureBackupCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureBackupCommandTest.php @@ -52,7 +52,7 @@ public function testCommand($fixture_exists, $args, $inputs, $remove_called, $st self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, [], [], 0, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\n", self::FIXTURE_ROOT)], [TRUE, [], ['n'], 0, StatusCodeEnum::USER_CANCEL, 'Are you sure you want to overwrite the backup of the test fixture at /var/www/orca-build? '], diff --git a/tests/Console/Command/Fixture/FixtureEnableExtensionsCommandTest.php b/tests/Console/Command/Fixture/FixtureEnableExtensionsCommandTest.php index 672f70ebf..2843a2b68 100644 --- a/tests/Console/Command/Fixture/FixtureEnableExtensionsCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureEnableExtensionsCommandTest.php @@ -58,7 +58,7 @@ public function testCommand($fixture_exists, $install_called, $exception, $statu self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, 0, FALSE, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\n", self::FIXTURE_ROOT)], [TRUE, 1, new OrcaException('Oops.'), StatusCodeEnum::ERROR, "\n [ERROR] Oops. \n\n"], diff --git a/tests/Console/Command/Fixture/FixtureResetCommandTest.php b/tests/Console/Command/Fixture/FixtureResetCommandTest.php index a87cb0c6f..86ec779fb 100644 --- a/tests/Console/Command/Fixture/FixtureResetCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureResetCommandTest.php @@ -52,7 +52,7 @@ public function testCommand($fixture_exists, $args, $inputs, $remove_called, $st self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, [], [], 0, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\n", self::FIXTURE_ROOT)], [TRUE, [], ['n'], 0, StatusCodeEnum::USER_CANCEL, 'Are you sure you want to reset the test fixture at /var/www/orca-build? '], diff --git a/tests/Console/Command/Fixture/FixtureRmCommandTest.php b/tests/Console/Command/Fixture/FixtureRmCommandTest.php index 9f1e188fa..86c18b874 100644 --- a/tests/Console/Command/Fixture/FixtureRmCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureRmCommandTest.php @@ -52,7 +52,7 @@ public function testCommand($fixture_exists, $args, $inputs, $remove_called, $st self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, [], [], 0, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\n", self::FIXTURE_ROOT)], [TRUE, [], ['n'], 0, StatusCodeEnum::USER_CANCEL, 'Are you sure you want to remove the test fixture at /var/www/orca-build? '], diff --git a/tests/Console/Command/Fixture/FixtureRunServerCommandTest.php b/tests/Console/Command/Fixture/FixtureRunServerCommandTest.php index 547e9e060..af5328b6a 100644 --- a/tests/Console/Command/Fixture/FixtureRunServerCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureRunServerCommandTest.php @@ -60,7 +60,7 @@ public function testCommand($fixture_exists, $methods_called, $status_code, $dis self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, ['exists'], StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\nHint: Use the \"fixture:init\" command to create one.\n", self::FIXTURE_ROOT)], [TRUE, ['exists', 'start', 'wait'], StatusCodeEnum::OK, sprintf("Starting web server...\nListening on http://%s.\nDocument root is %s.\nPress Ctrl-C to quit.\n", WebServer::WEB_ADDRESS, self::FIXTURE_DOCROOT)], diff --git a/tests/Console/Command/Fixture/FixtureSiteInstallCommandTest.php b/tests/Console/Command/Fixture/FixtureSiteInstallCommandTest.php index 101eaebe0..0a69b4065 100644 --- a/tests/Console/Command/Fixture/FixtureSiteInstallCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureSiteInstallCommandTest.php @@ -53,7 +53,7 @@ public function testCommand($fixture_exists, $args, $inputs, $install_called, $p self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, [], [], 0, FixtureCreator::DEFAULT_PROFILE, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\n", self::FIXTURE_ROOT)], [TRUE, [], ['n'], 0, FixtureCreator::DEFAULT_PROFILE, StatusCodeEnum::USER_CANCEL, 'Are you sure you want to drop all tables in the database and install a fresh site at /var/www/orca-build? '], diff --git a/tests/Console/Command/Fixture/FixtureStatusCommandTest.php b/tests/Console/Command/Fixture/FixtureStatusCommandTest.php index 92963bf6a..632da63ff 100644 --- a/tests/Console/Command/Fixture/FixtureStatusCommandTest.php +++ b/tests/Console/Command/Fixture/FixtureStatusCommandTest.php @@ -56,7 +56,7 @@ public function testCommand($fixture_exists, $get_overview_called, $status_code, self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, 0, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\n", self::FIXTURE_ROOT)], [TRUE, 1, StatusCodeEnum::OK, "\n Key one : Value one \n Key two : Value two \n\n"], diff --git a/tests/Console/Command/Qa/QaAutomatedTestsCommandTest.php b/tests/Console/Command/Qa/QaAutomatedTestsCommandTest.php index baa1c17ab..88a327eef 100644 --- a/tests/Console/Command/Qa/QaAutomatedTestsCommandTest.php +++ b/tests/Console/Command/Qa/QaAutomatedTestsCommandTest.php @@ -92,7 +92,7 @@ public function testCommand($fixture_exists, $args, $methods_called, $exception, self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [FALSE, [], ['Fixture::exists'], 0, StatusCodeEnum::ERROR, sprintf("Error: No fixture exists at %s.\nHint: Use the \"fixture:init\" command to create one.\n", self::FIXTURE_ROOT)], [TRUE, [], ['Fixture::exists', 'run'], 0, StatusCodeEnum::OK, ''], @@ -119,7 +119,7 @@ public function testFrameworkFlags($args, $call_set_run_phpunit): void { $this->executeCommand($args); } - public function providerFrameworkFlags(): array { + public static function providerFrameworkFlags(): array { return [ [[], 0], [['--phpunit' => 1], 0], @@ -137,7 +137,7 @@ public function testAllOption($args, $call_count): void { $this->executeCommand($args); } - public function providerAllOption(): array { + public static function providerAllOption(): array { return [ [ 'args' => [], diff --git a/tests/Console/Command/Qa/QaDeprecatedCodeScanCommandTest.php b/tests/Console/Command/Qa/QaDeprecatedCodeScanCommandTest.php index 13061952a..1ee9fbd45 100644 --- a/tests/Console/Command/Qa/QaDeprecatedCodeScanCommandTest.php +++ b/tests/Console/Command/Qa/QaDeprecatedCodeScanCommandTest.php @@ -77,7 +77,7 @@ public function testCommandHappyPath($args, $sut, $contrib): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [ 'args' => ['--sut' => self::VALID_PACKAGE], diff --git a/tests/Console/Command/Qa/QaFixerCommandTest.php b/tests/Console/Command/Qa/QaFixerCommandTest.php index ce1c7aa88..ff1780a91 100644 --- a/tests/Console/Command/Qa/QaFixerCommandTest.php +++ b/tests/Console/Command/Qa/QaFixerCommandTest.php @@ -76,7 +76,7 @@ public function testCommand($path_exists, $run_called, $status_code, $display): self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerCommand(): array { + public static function providerCommand(): array { return [ [TRUE, 1, StatusCodeEnum::OK, ''], [TRUE, 1, StatusCodeEnum::ERROR, ''], @@ -112,7 +112,7 @@ public function testTaskFiltering($args, $task): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerTaskFiltering(): array { + public static function providerTaskFiltering(): array { return [ [['--composer' => 1], 'composerNormalize'], [['--phpcbf' => 1], 'phpCodeBeautifierAndFixer'], @@ -150,9 +150,9 @@ public function testPhpcsStandardOption($args, $standard): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerPhpcsStandardOption(): array { + public static function providerPhpcsStandardOption(): array { return [ - [[], $this->defaultPhpcsStandard], + [[], PhpcsStandardEnum::DEFAULT], [['--phpcs-standard' => PhpcsStandardEnum::ACQUIA_PHP], PhpcsStandardEnum::ACQUIA_PHP], [['--phpcs-standard' => PhpcsStandardEnum::ACQUIA_DRUPAL_TRANSITIONAL], PhpcsStandardEnum::ACQUIA_DRUPAL_TRANSITIONAL], [['--phpcs-standard' => PhpcsStandardEnum::ACQUIA_DRUPAL_STRICT], PhpcsStandardEnum::ACQUIA_DRUPAL_STRICT], @@ -193,7 +193,7 @@ public function testPhpcsStandardEnvVar($standard): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerPhpcsStandardEnvVar(): array { + public static function providerPhpcsStandardEnvVar(): array { return [ [PhpcsStandardEnum::ACQUIA_PHP], [PhpcsStandardEnum::ACQUIA_DRUPAL_TRANSITIONAL], @@ -222,9 +222,9 @@ public function testInvalidPhpcsStandard($args, $default_standard, $display): vo self::assertEquals(StatusCodeEnum::ERROR, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerInvalidPhpcsStandard(): array { + public static function providerInvalidPhpcsStandard(): array { return [ - [['--phpcs-standard' => 'invalid'], $this->defaultPhpcsStandard, 'Error: Invalid value for "--phpcs-standard" option: "invalid".' . PHP_EOL], + [['--phpcs-standard' => 'invalid'], PhpcsStandardEnum::DEFAULT, 'Error: Invalid value for "--phpcs-standard" option: "invalid".' . PHP_EOL], [[], 'invalid', 'Error: Invalid value for $ORCA_PHPCS_STANDARD environment variable: "invalid".' . PHP_EOL], ]; } diff --git a/tests/Console/Command/Qa/QaStaticAnalysisCommandTest.php b/tests/Console/Command/Qa/QaStaticAnalysisCommandTest.php index 957a3059f..824c50f9d 100644 --- a/tests/Console/Command/Qa/QaStaticAnalysisCommandTest.php +++ b/tests/Console/Command/Qa/QaStaticAnalysisCommandTest.php @@ -131,7 +131,7 @@ public function testOptions(string $name, $default): void { self::assertEquals($default, $option->getDefault(), 'Set correct default.'); } - public function providerOptions(): array { + public static function providerOptions(): array { return [ ['composer', FALSE], ['coverage', FALSE], @@ -202,7 +202,7 @@ public function testExecution($path_exists, $run_called, $status_code, $display) self::assertEquals($status_code, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerExecution(): array { + public static function providerExecution(): array { return [ [TRUE, 1, StatusCodeEnum::OK, ''], [TRUE, 1, StatusCodeEnum::ERROR, ''], @@ -237,7 +237,7 @@ public function testTaskFiltering(array $args, $task): void { /** * @see testCoverageOptionSpecialCaseTaskFiltering */ - public function providerTaskFiltering(): array { + public static function providerTaskFiltering(): array { return [ [['--composer' => 1], 'composerValidate'], [['--phpcs' => 1], 'phpCodeSniffer'], @@ -271,7 +271,7 @@ public function testCoverageOptionSpecialCaseTaskFiltering(array $args): void { self::assertTrue(TRUE); } - public function providerCoverageOptionSpecialCaseTaskFiltering(): array { + public static function providerCoverageOptionSpecialCaseTaskFiltering(): array { return [ [['--coverage' => 1]], [['--coverage' => 1, '--phploc' => 1]], @@ -304,9 +304,9 @@ public function testPhpcsStandardOption(array $args, $standard): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerPhpcsStandardOption(): array { + public static function providerPhpcsStandardOption(): array { return [ - [[], $this->defaultPhpcsStandard], + [[], PhpcsStandardEnum::DEFAULT], [['--phpcs-standard' => PhpcsStandardEnum::ACQUIA_PHP], PhpcsStandardEnum::ACQUIA_PHP], [['--phpcs-standard' => PhpcsStandardEnum::ACQUIA_DRUPAL_TRANSITIONAL], PhpcsStandardEnum::ACQUIA_DRUPAL_TRANSITIONAL], [['--phpcs-standard' => PhpcsStandardEnum::ACQUIA_DRUPAL_STRICT], PhpcsStandardEnum::ACQUIA_DRUPAL_STRICT], @@ -342,7 +342,7 @@ public function testPhpcsStandardEnvVar($standard): void { self::assertEquals(StatusCodeEnum::OK, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerPhpcsStandardEnvVar(): array { + public static function providerPhpcsStandardEnvVar(): array { return [ [PhpcsStandardEnum::ACQUIA_PHP], [PhpcsStandardEnum::ACQUIA_DRUPAL_TRANSITIONAL], @@ -371,9 +371,9 @@ public function testInvalidPhpcsStandard(array $args, $default_standard, $displa self::assertEquals(StatusCodeEnum::ERROR, $this->getStatusCode(), 'Returned correct status code.'); } - public function providerInvalidPhpcsStandard(): array { + public static function providerInvalidPhpcsStandard(): array { return [ - [['--phpcs-standard' => 'invalid'], $this->defaultPhpcsStandard, 'Error: Invalid value for "--phpcs-standard" option: "invalid".' . PHP_EOL], + [['--phpcs-standard' => 'invalid'], PhpcsStandardEnum::DEFAULT, 'Error: Invalid value for "--phpcs-standard" option: "invalid".' . PHP_EOL], [[], 'invalid', 'Error: Invalid value for $ORCA_PHPCS_STANDARD environment variable: "invalid".' . PHP_EOL], ]; } diff --git a/tests/Domain/Ci/Job/AbstractCiJobTest.php b/tests/Domain/Ci/Job/AbstractCiJobTest.php index 08a7dab8e..1869476b0 100644 --- a/tests/Domain/Ci/Job/AbstractCiJobTest.php +++ b/tests/Domain/Ci/Job/AbstractCiJobTest.php @@ -132,7 +132,7 @@ public function runOrcaQaAutomatedTests(array $command, EnvFacade $env_facade, P $job->runOrcaQaAutomatedTests([], $env_facade, $process_runner); } - public function providerRunOrcaQaAutomatedTestsWithInstallProfile(): array { + public static function providerRunOrcaQaAutomatedTestsWithInstallProfile(): array { return [ [ 'profile' => NULL, diff --git a/tests/Domain/Ci/Job/Helper/RedundantJobCheckerTest.php b/tests/Domain/Ci/Job/Helper/RedundantJobCheckerTest.php index e429dc6a5..6bb063255 100644 --- a/tests/Domain/Ci/Job/Helper/RedundantJobCheckerTest.php +++ b/tests/Domain/Ci/Job/Helper/RedundantJobCheckerTest.php @@ -52,7 +52,7 @@ public function testIsRedundant($ci_job, $oldest_supported, $latest_lts, $previo self::assertSame($is_redundant, $actual_second, 'Correctly cached return value.'); } - public function providerIsRedundant(): array { + public static function providerIsRedundant(): array { return [ 'No duplicates' => [ 'ci_job' => CiJobEnum::INTEGRATED_TEST_ON_OLDEST_SUPPORTED(), diff --git a/tests/Domain/Ci/Job/_Helper/CiJobTestBase.php b/tests/Domain/Ci/Job/_Helper/CiJobTestBase.php index f31bff29e..98ff5250c 100644 --- a/tests/Domain/Ci/Job/_Helper/CiJobTestBase.php +++ b/tests/Domain/Ci/Job/_Helper/CiJobTestBase.php @@ -50,7 +50,7 @@ public function setUp(): void { // SUT (package). $sut = $this->prophesize(Package::class); $sut->getPackageName() - ->willReturn($this->validSutName()); + ->willReturn(self::validSutName()); $sut->getRepositoryUrlAbsolute() ->willReturn(self::SUT_REPOSITORY_URL_ABSOLUTE); @@ -63,10 +63,10 @@ public function setUp(): void { // Package manager. $this->packageManager = $this->prophesize(PackageManager::class); $this->packageManager - ->exists($this->validSutName()) + ->exists(self::validSutName()) ->willReturn(TRUE); $this->packageManager - ->get($this->validSutName()) + ->get(self::validSutName()) ->willReturn($sut); // Process runner. @@ -77,7 +77,7 @@ public function setUp(): void { } protected function createJob(): AbstractCiJob { - return new class($this->validJobName()) extends AbstractCiJob { + return new class(self::validJobName()) extends AbstractCiJob { public function __construct(CiJobEnum $job_name) { $this->jobName = $job_name; @@ -113,22 +113,22 @@ protected function createCiRunOptions($options): CiRunOptions { } protected function createValidRunOptions(): CiRunOptions { - return $this->createCiRunOptions($this->validRawOptions()); + return $this->createCiRunOptions(self::validRawOptions()); } - protected function validRawOptions(): array { + protected static function validRawOptions(): array { return [ - 'job' => $this->validJobName(), - 'phase' => $this->validPhaseName(), - 'sut' => $this->validSutName(), + 'job' => self::validJobName(), + 'phase' => self::validPhaseName(), + 'sut' => self::validSutName(), ]; } - protected function validSutName(): string { + protected static function validSutName(): string { return 'drupal/example'; } - public function providerJobs(): array { + public static function providerJobs(): array { $jobs = CiJobEnum::values(); array_walk($jobs, static function (&$value) { $value = [$value]; @@ -136,7 +136,7 @@ public function providerJobs(): array { return $jobs; } - public function providerPhases(): array { + public static function providerPhases(): array { $phases = CiJobPhaseEnum::values(); array_walk($phases, static function (&$value) { $value = [$value]; @@ -148,7 +148,7 @@ protected function runInstallPhase(AbstractCiJob $job): void { $job->run($this->createCiRunOptions([ 'job' => $job->getJobName()->getKey(), 'phase' => CiJobPhaseEnum::INSTALL, - 'sut' => $this->validSutName(), + 'sut' => self::validSutName(), ])); } @@ -156,25 +156,25 @@ protected function runScriptPhase(AbstractCiJob $job): void { $job->run($this->createCiRunOptions([ 'job' => $job->getJobName()->getKey(), 'phase' => CiJobPhaseEnum::SCRIPT, - 'sut' => $this->validSutName(), + 'sut' => self::validSutName(), ])); } - protected function validJob(): CiJobEnum { + protected static function validJob(): CiJobEnum { $jobs = CiJobEnum::values(); return reset($jobs); } - protected function validJobName(): string { - return $this->validJob()->getKey(); + protected static function validJobName(): string { + return self::validJob()->getKey(); } - protected function validPhase(): CiJobPhaseEnum { + protected static function validPhase(): CiJobPhaseEnum { return CiJobPhaseEnum::SCRIPT(); } - protected function validPhaseName(): string { - return strtolower($this->validPhase()->getValue()); + protected static function validPhaseName(): string { + return strtolower(self::validPhase()->getValue()); } } diff --git a/tests/Domain/Composer/ComposerFacadeTest.php b/tests/Domain/Composer/ComposerFacadeTest.php index 70d84b55b..4448231b9 100644 --- a/tests/Domain/Composer/ComposerFacadeTest.php +++ b/tests/Domain/Composer/ComposerFacadeTest.php @@ -119,7 +119,7 @@ public function testCreateProjectWithoutSut($options, $project_template_string): $composer->createProject($options); } - public function providerCreateProjectWithoutSut(): array { + public static function providerCreateProjectWithoutSut(): array { return [ 'Arbitrary project template/recommended stability' => [ 'options' => [ @@ -213,7 +213,7 @@ public function testCreateProjectFromPackage($package_name, $repository_url, $di $composer->createProjectFromPackage($package->reveal()); } - public function providerCreateProjectFromPackage(): array { + public static function providerCreateProjectFromPackage(): array { return [ [ 'package_name' => 'example/drupal-recommended-project', @@ -237,7 +237,7 @@ public function testIsValidPackageName($expected, $name): void { self::assertEquals($expected, ComposerFacade::isValidPackageName($name)); } - public function providerIsValidPackageName(): array { + public static function providerIsValidPackageName(): array { return [ [TRUE, 'test/example'], [TRUE, 'lorem_ipsum/dolor_sit'], @@ -260,7 +260,7 @@ public function testIsValidConstraint($expected, $version): void { self::assertEquals($expected, $actual, 'Correctly determined validity of version constraint.'); } - public function providerIsValidVersionConstraint(): array { + public static function providerIsValidVersionConstraint(): array { return [ [TRUE, '^1.0'], [TRUE, '~1.0'], @@ -293,7 +293,7 @@ public function testRemoveConfigEmptyArray(): void { $composer->removeConfig([]); } - public function providerRemoveConfig(): array { + public static function providerRemoveConfig(): array { return [ [['platform']], ]; @@ -356,7 +356,7 @@ public function testRequirePackagesOptions($prefer_source, $no_update, $options) $composer->requirePackages($packages, $prefer_source, $no_update); } - public function providerRequirePackagesOptions(): array { + public static function providerRequirePackagesOptions(): array { return [ [ 'prefer_source' => FALSE, @@ -441,7 +441,7 @@ public function testUpdateLockFile(): void { $composer->updateLockFile(); } - public function providerPackageList(): array { + public static function providerPackageList(): array { return [ [['test/example']], [['test1/example1'], ['test2/example2']], diff --git a/tests/Domain/Composer/Version/DrupalCoreVersionResolverTest.php b/tests/Domain/Composer/Version/DrupalCoreVersionResolverTest.php index 9237cf53a..16992ee33 100644 --- a/tests/Domain/Composer/Version/DrupalCoreVersionResolverTest.php +++ b/tests/Domain/Composer/Version/DrupalCoreVersionResolverTest.php @@ -120,7 +120,7 @@ public function testResolveArbitrary($constraint, $stability): void { self::assertSame($constraint, $version, 'Resolved arbitrary version string.'); } - public function providerResolveArbitrary(): array { + public static function providerResolveArbitrary(): array { return [ [ 'constraint' => 'v9.0.0', @@ -282,7 +282,7 @@ public function testResolvePredefinedCurrentNoneFound($version): void { $resolver->resolvePredefined($version); } - public function providerResolvePredefinedCurrentNoneFound() { + public static function providerResolvePredefinedCurrentNoneFound() { return [ [DrupalCoreVersionEnum::CURRENT()], [DrupalCoreVersionEnum::CURRENT_DEV()], @@ -446,8 +446,8 @@ public function testResolvePredefinedVersionNotFound($version): void { $resolver->resolvePredefined($version); } - public function providerResolvePredefinedVersionNotFound(): array { - $data = $this->providerVersions(); + public static function providerResolvePredefinedVersionNotFound(): array { + $data = self::providerVersions(); unset( $data[DrupalCoreVersionEnum::CURRENT], $data[DrupalCoreVersionEnum::CURRENT_DEV], diff --git a/tests/Domain/Composer/Version/DrupalDotOrgApiClientTest.php b/tests/Domain/Composer/Version/DrupalDotOrgApiClientTest.php index c9e510280..e7969f4ef 100644 --- a/tests/Domain/Composer/Version/DrupalDotOrgApiClientTest.php +++ b/tests/Domain/Composer/Version/DrupalDotOrgApiClientTest.php @@ -75,7 +75,7 @@ public function testGetOldestSupportedDrupalCoreBranchException($exception): voi $client->getOldestSupportedDrupalCoreBranch(); } - public function providerGetOldestSupportedDrupalCoreBranchException(): array { + public static function providerGetOldestSupportedDrupalCoreBranchException(): array { return [ [ClientExceptionInterface::class], [RedirectionExceptionInterface::class], diff --git a/tests/Domain/Composer/Version/VersionSelectorFactoryTest.php b/tests/Domain/Composer/Version/VersionSelectorFactoryTest.php index 95f66c763..17e97fa5d 100644 --- a/tests/Domain/Composer/Version/VersionSelectorFactoryTest.php +++ b/tests/Domain/Composer/Version/VersionSelectorFactoryTest.php @@ -54,7 +54,7 @@ protected function addDrupalDotOrgRepository(RepositorySet $repository_set): voi } - public function providerCreate(): array { + public static function providerCreate(): array { return [ [ 'include_drupal_dot_org' => TRUE, diff --git a/tests/Domain/Drush/DrushFacadeTest.php b/tests/Domain/Drush/DrushFacadeTest.php index e82989df7..1e1def22a 100644 --- a/tests/Domain/Drush/DrushFacadeTest.php +++ b/tests/Domain/Drush/DrushFacadeTest.php @@ -92,14 +92,14 @@ public function testEnableThemes(array $themes, string $argument): void { $drush->enableThemes($themes); } - public function providerEnableExtensions(): array { + public static function providerEnableExtensions(): array { return [ [['test', 'example'], ['test', 'example']], [['example', 'test'], ['example', 'test']], ]; } - public function providerEnableThemes(): array { + public static function providerEnableThemes(): array { return [ [['test', 'example'], 'test,example'], [['example', 'test'], 'example,test'], @@ -181,7 +181,7 @@ public function testInstallDrupal(string $profile): void { $drush->installDrupal($profile); } - public function providerInstallDrupal(): array { + public static function providerInstallDrupal(): array { return [ ['test'], ['example'], diff --git a/tests/Domain/Fixture/CodebaseCreatorTest.php b/tests/Domain/Fixture/CodebaseCreatorTest.php index 7964092c9..b92c6aff4 100644 --- a/tests/Domain/Fixture/CodebaseCreatorTest.php +++ b/tests/Domain/Fixture/CodebaseCreatorTest.php @@ -125,7 +125,7 @@ public function testCreate($options, $exit_on_patch_failure): void { $creator->create($fixture_options); } - public function providerCreate(): array { + public static function providerCreate(): array { return [ [['dev' => TRUE, 'ignore-patch-failure' => FALSE], TRUE], [['dev' => FALSE, 'ignore-patch-failure' => TRUE], FALSE], @@ -199,7 +199,7 @@ public function testLoadComposerJsonWithException($caught, $thrown): void { $creator->create($fixture_options); } - public function providerLoadComposerJsonWithException(): array { + public static function providerLoadComposerJsonWithException(): array { return [ [new OrcaFileNotFoundException(''), new OrcaFileNotFoundException('No such file: ' . self::COMPOSER_JSON_PATH)], [new OrcaParseError(''), new OrcaParseError('Cannot parse ' . self::COMPOSER_JSON_PATH)], diff --git a/tests/Domain/Fixture/Helper/ComposerJsonHelperTest.php b/tests/Domain/Fixture/Helper/ComposerJsonHelperTest.php index 60ddac877..2dfa31d1f 100644 --- a/tests/Domain/Fixture/Helper/ComposerJsonHelperTest.php +++ b/tests/Domain/Fixture/Helper/ComposerJsonHelperTest.php @@ -349,7 +349,7 @@ public function testSet($key, $value): void { $composer_json->set($key, $value); } - public function providerSet(): array { + public static function providerSet(): array { return [ ['lorem.ipsum', TRUE], ['dolor.sit.amet', 12345], diff --git a/tests/Domain/Fixture/SutPreconditionsTesterTest.php b/tests/Domain/Fixture/SutPreconditionsTesterTest.php index a9d932178..46061e477 100644 --- a/tests/Domain/Fixture/SutPreconditionsTesterTest.php +++ b/tests/Domain/Fixture/SutPreconditionsTesterTest.php @@ -119,7 +119,7 @@ public function testTestExceptions($caught, $thrown): void { $tester->test(self::SUT_NAME); } - public function providerTestExceptions(): array { + public static function providerTestExceptions(): array { return [ [OrcaFileNotFoundException::class, OrcaFileNotFoundException::class], [OrcaException::class, OrcaException::class], diff --git a/tests/Domain/Git/GitFacadeTest.php b/tests/Domain/Git/GitFacadeTest.php index ad87c0e6b..7c747a209 100644 --- a/tests/Domain/Git/GitFacadeTest.php +++ b/tests/Domain/Git/GitFacadeTest.php @@ -45,7 +45,7 @@ public function testExecute($args, $cwd, $status) { self::assertSame($status, $return, 'Returned correct status code.'); } - public function providerExecute(): array { + public static function providerExecute(): array { return [ ['args' => [], 'cwd' => NULL, 'status' => 0], ['args' => ['commit'], 'cwd' => '/var/www', 'status' => 1], @@ -107,7 +107,7 @@ public function testCommitCodeChanges($message): void { $git->commitCodeChanges($message); } - public function providerCommitCodeChanges(): array { + public static function providerCommitCodeChanges(): array { return [ ['Lorem'], ['Ipsum'], diff --git a/tests/Domain/Package/PackageManagerTest.php b/tests/Domain/Package/PackageManagerTest.php index e0fb44ad4..aa69fb2f0 100644 --- a/tests/Domain/Package/PackageManagerTest.php +++ b/tests/Domain/Package/PackageManagerTest.php @@ -209,7 +209,7 @@ public function testCheckingPackageExistence($package_name, $expected): void { self::assertEquals($expected, $actual, 'Correctly tested for package existence.'); } - public function providerCheckingPackageExistence(): array { + public static function providerCheckingPackageExistence(): array { return [ ['drupal/module1', TRUE], ['nonexistent/package', FALSE], diff --git a/tests/Domain/Package/PackageTest.php b/tests/Domain/Package/PackageTest.php index d7321d56c..d987fc8ac 100644 --- a/tests/Domain/Package/PackageTest.php +++ b/tests/Domain/Package/PackageTest.php @@ -75,7 +75,7 @@ public function testConstructionAndGetters($data, $package_name, $project_name, self::assertEquals($enable, $package->shouldGetEnabled(), 'Determined whether or not should get enabled.'); } - public function providerConstructionAndGetters(): array { + public static function providerConstructionAndGetters(): array { return [ 'Full specification' => [ 'drupal/example_library' => [ @@ -223,7 +223,7 @@ public function testConstructionError($exception, $package_name, $data): void { $this->createPackage($package_name, $data); } - public function providerConstructionError(): array { + public static function providerConstructionError(): array { return [ 'Invalid package name: missing forward slash' => [\InvalidArgumentException::class, 'incomplete', []], 'Invalid "core_matrix" value: non-array' => [InvalidOptionsException::class, 'drupal/example', ['core_matrix' => 'invalid']], @@ -247,7 +247,7 @@ public function testConditionalVersions($data, $core_version, $version, $version self::assertEquals($version_dev, $package->getVersionDev($core_version), 'Got correct dev version.'); } - public function providerConditionalVersions(): array { + public static function providerConditionalVersions(): array { return [ 'Empty (defaults), no core version' => [ [], @@ -446,7 +446,7 @@ public function testCoreVersionMatching($expected_to_match, $provided, $required self::assertEquals($expected_to_match, $is_match); } - public function providerCoreVersionMatching(): array { + public static function providerCoreVersionMatching(): array { return [ // Matches. [TRUE, '8.7.0', '8.7.0'], @@ -487,7 +487,7 @@ public function testExists($url, $expected): void { self::assertEquals($expected, $actual); } - public function providerExists(): array { + public static function providerExists(): array { return [ ['lorem', TRUE], ['ipsum', FALSE], @@ -516,7 +516,7 @@ public function testInstallPathCalculation($type, $relative_install_path): void self::assertEquals($absolute_install_path, $package->getInstallPathAbsolute()); } - public function providerInstallPathCalculation(): array { + public static function providerInstallPathCalculation(): array { return [ ['bower-asset', 'docroot/libraries/example'], ['drupal-core', 'docroot/core'], diff --git a/tests/Domain/Tool/Coverage/CodeCoverageReportBuilderTest.php b/tests/Domain/Tool/Coverage/CodeCoverageReportBuilderTest.php index f34a7724a..16cc342b9 100644 --- a/tests/Domain/Tool/Coverage/CodeCoverageReportBuilderTest.php +++ b/tests/Domain/Tool/Coverage/CodeCoverageReportBuilderTest.php @@ -299,7 +299,7 @@ public function testHappyPath($path, $numerator, $assertions, $denominator, $com ], $report, 'Returned correct report data.'); } - public function providerHappyPath(): array { + public static function providerHappyPath(): array { return [ [ 'path' => 'test/example', diff --git a/tests/Domain/Tool/Coverage/CoverageTaskTest.php b/tests/Domain/Tool/Coverage/CoverageTaskTest.php index a36675645..e113e7eea 100644 --- a/tests/Domain/Tool/Coverage/CoverageTaskTest.php +++ b/tests/Domain/Tool/Coverage/CoverageTaskTest.php @@ -49,7 +49,7 @@ public function testTask(string $path): void { self::assertTrue($provides_status_message, 'Provides a status message.'); } - public function providerTask(): array { + public static function providerTask(): array { return [ ['/var/www'], ['/test/example'], diff --git a/tests/Domain/Tool/Phploc/PhplocFacadeTest.php b/tests/Domain/Tool/Phploc/PhplocFacadeTest.php index 2805a32ba..e8484b5d2 100644 --- a/tests/Domain/Tool/Phploc/PhplocFacadeTest.php +++ b/tests/Domain/Tool/Phploc/PhplocFacadeTest.php @@ -37,7 +37,7 @@ private function createPhploc(): PhplocFacade { } /** - * @dataProvider dataProviderCommand + * @dataProvider providerCommand */ public function testCommand($path): void { $phploc = $this->createPhploc(); @@ -63,7 +63,7 @@ public function testCommand($path): void { $phploc->execute($path); } - public function dataProviderCommand(): array { + public static function providerCommand(): array { return [ ['/var/www'], ['/test/example'], diff --git a/tests/Domain/Tool/Phploc/PhplocTaskTest.php b/tests/Domain/Tool/Phploc/PhplocTaskTest.php index 31a85d671..3945fef8e 100644 --- a/tests/Domain/Tool/Phploc/PhplocTaskTest.php +++ b/tests/Domain/Tool/Phploc/PhplocTaskTest.php @@ -41,7 +41,7 @@ public function testTask(string $path): void { self::assertTrue($provides_status_message, 'Provides a status message.'); } - public function providerTask(): array { + public static function providerTask(): array { return [ ['/var/www'], ['/test/example'], diff --git a/tests/Domain/Tool/TasksTest.php b/tests/Domain/Tool/TasksTest.php index b835e2044..eebb174bc 100644 --- a/tests/Domain/Tool/TasksTest.php +++ b/tests/Domain/Tool/TasksTest.php @@ -47,7 +47,7 @@ public function testConstruction($class): void { self::assertInstanceOf($class, $object, sprintf('Successfully instantiated class: %s.', $class)); } - public function providerConstruction(): array { + public static function providerConstruction(): array { return [ [ComposerValidateTask::class], [PhpcsTask::class], diff --git a/tests/Enum/CiEnumsTestTrait.php b/tests/Enum/CiEnumsTestTrait.php index a59e465b1..4d158e85d 100644 --- a/tests/Enum/CiEnumsTestTrait.php +++ b/tests/Enum/CiEnumsTestTrait.php @@ -7,7 +7,7 @@ trait CiEnumsTestTrait { - public function providerJobs(): array { + public static function providerJobs(): array { $jobs = CiJobEnum::values(); array_walk($jobs, static function (&$value) { $value = [$value]; @@ -15,7 +15,7 @@ public function providerJobs(): array { return $jobs; } - public function providerPhases(): array { + public static function providerPhases(): array { $phases = CiJobPhaseEnum::values(); array_walk($phases, static function (&$value) { $value = [$value]; @@ -23,21 +23,25 @@ public function providerPhases(): array { return $phases; } - protected function validJob(): CiJobEnum { + protected static function validJob(): CiJobEnum { $jobs = CiJobEnum::values(); return reset($jobs); } - protected function validJobName(): string { - return $this->validJob()->getKey(); + protected static function validJobName(): string { + return self::validJob()->getKey(); } - protected function validPhase(): CiJobPhaseEnum { + protected static function validPhase(): CiJobPhaseEnum { return CiJobPhaseEnum::SCRIPT(); } - protected function validPhaseName(): string { - return strtolower($this->validPhase()->getValue()); + protected static function validPhaseName(): string { + return strtolower(self::validPhase()->getValue()); + } + + protected static function validSutName(): string { + return 'drupal/example'; } } diff --git a/tests/Enum/CiJobEnumTest.php b/tests/Enum/CiJobEnumTest.php index c9ebef89b..7717befbe 100644 --- a/tests/Enum/CiJobEnumTest.php +++ b/tests/Enum/CiJobEnumTest.php @@ -28,7 +28,7 @@ public function testValidDescriptions($job, $description): void { self::assertNotEmpty($description, 'Description is non-empty.'); } - public function providerDescriptions(): array { + public static function providerDescriptions(): array { $descriptions = []; foreach (CiJobEnum::descriptions() as $key => $value) { $descriptions[$key] = [new CiJobEnum($key), $value]; @@ -52,7 +52,7 @@ public function testGetDrupalCoreVersion($job): void { self::assertInstanceOf(DrupalCoreVersionEnum::class, $version, 'Returned a version enum.'); } - public function providerDrupalCoreVersions(): array { + public static function providerDrupalCoreVersions(): array { $jobs = CiJobEnum::values(); unset($jobs[CiJobEnum::STATIC_CODE_ANALYSIS]); foreach ($jobs as $key => $value) { diff --git a/tests/Enum/CiJobPhaseEnumTest.php b/tests/Enum/CiJobPhaseEnumTest.php index 482d9e723..23dbd9fbe 100644 --- a/tests/Enum/CiJobPhaseEnumTest.php +++ b/tests/Enum/CiJobPhaseEnumTest.php @@ -24,7 +24,7 @@ public function testKeyValuePairs($key, $value): void { self::assertEquals(strtolower($key), $value, 'Key and value correspond.'); } - public function providerKeyValuePairs(): array { + public static function providerKeyValuePairs(): array { $pairs = []; foreach (CiJobPhaseEnum::toArray() as $key => $value) { $pairs[] = [$key, $value]; @@ -40,7 +40,7 @@ public function testDescriptions($description): void { self::assertNotEmpty($description, 'Description is non-empty.'); } - public function providerDescriptions(): array { + public static function providerDescriptions(): array { $descriptions = []; foreach (CiJobPhaseEnum::descriptions() as $value) { $descriptions[] = [$value]; diff --git a/tests/Enum/DrupalCoreVersionEnumsTestTrait.php b/tests/Enum/DrupalCoreVersionEnumsTestTrait.php index f1d60739d..128ac29de 100644 --- a/tests/Enum/DrupalCoreVersionEnumsTestTrait.php +++ b/tests/Enum/DrupalCoreVersionEnumsTestTrait.php @@ -6,7 +6,7 @@ trait DrupalCoreVersionEnumsTestTrait { - public function providerVersions(): array { + public static function providerVersions(): array { $versions = DrupalCoreVersionEnum::values(); array_walk($versions, static function (&$value) { $value = [$value]; diff --git a/tests/Enum/EnvVarEnumTest.php b/tests/Enum/EnvVarEnumTest.php index ab994869e..f47580cfe 100644 --- a/tests/Enum/EnvVarEnumTest.php +++ b/tests/Enum/EnvVarEnumTest.php @@ -24,7 +24,7 @@ public function testKeyValuePairs($key, $value): void { self::assertEquals($key, $value, 'Key and value correspond.'); } - public function providerKeyValuePairs(): array { + public static function providerKeyValuePairs(): array { $pairs = []; foreach (EnvVarEnum::toArray() as $key => $value) { $pairs[$key] = [$key, $value]; @@ -49,7 +49,7 @@ public function testDescriptions($description): void { self::assertNotEmpty($description, 'Description is non-empty.'); } - public function providerDescriptions(): array { + public static function providerDescriptions(): array { $descriptions = []; foreach (EnvVarEnum::descriptions() as $key => $value) { $descriptions[$key] = [$value]; diff --git a/tests/Helper/Config/ConfigLoaderTest.php b/tests/Helper/Config/ConfigLoaderTest.php index c866c92c2..4439192a3 100644 --- a/tests/Helper/Config/ConfigLoaderTest.php +++ b/tests/Helper/Config/ConfigLoaderTest.php @@ -99,7 +99,7 @@ public function loadConfig($path): Config { $loader->load(self::CONFIG_FILE_PATH); } - public function providerLoadExceptions(): array { + public static function providerLoadExceptions(): array { return [ 'File not found' => [new NoodlehausFileNotFoundException(), OrcaFileNotFoundException::class], 'Parse error' => [new NoodlehausParseException(['message' => '']), OrcaParseError::class], diff --git a/tests/Helper/EnvFacadeTest.php b/tests/Helper/EnvFacadeTest.php index 67ce95744..59aff6541 100644 --- a/tests/Helper/EnvFacadeTest.php +++ b/tests/Helper/EnvFacadeTest.php @@ -53,7 +53,7 @@ public function testGetNoDefault($variable, $expected_return): void { self::assertSame($expected_return, $actual_return); } - public function providerGetNoDefault(): array { + public static function providerGetNoDefault(): array { return [ [ 'variable' => 'test', @@ -81,7 +81,7 @@ public function testGetWithDefault($variable, $default, $expected_return): void self::assertSame($expected_return, $actual_return); } - public function providerGetWithDefault(): array { + public static function providerGetWithDefault(): array { return [ [ 'variable' => 'lorem', diff --git a/tests/Helper/Filesystem/PathHandlerTest.php b/tests/Helper/Filesystem/PathHandlerTest.php index b720682d8..0081c5648 100644 --- a/tests/Helper/Filesystem/PathHandlerTest.php +++ b/tests/Helper/Filesystem/PathHandlerTest.php @@ -42,7 +42,7 @@ public function testExists($base_path, $exists): void { self::assertEquals($exists, $return, 'Returned correct value.'); } - public function providerExists(): array { + public static function providerExists(): array { return [ ['/path-exists', TRUE], ['/no-path-there', FALSE], @@ -67,7 +67,7 @@ public function testExistsWithSubpath($sub_path, $exists): void { self::assertEquals($exists, $return, 'Returned correct value.'); } - public function providerExistsWithSubpath(): array { + public static function providerExistsWithSubpath(): array { return [ ['path-exists', TRUE], ['no-path-there', FALSE], @@ -86,7 +86,7 @@ public function testGetPath($base_path, $sub_path, $expected): void { self::assertEquals($expected, $path_handler->getPath($sub_path), 'Resolved path.'); } - public function providerGetPath(): array { + public static function providerGetPath(): array { return [ ['/var/www/orca-build', NULL, '/var/www/orca-build'], ['/var/www/orca-build', 'lorem/ipsum/dolor/sit/amet', '/var/www/orca-build/lorem/ipsum/dolor/sit/amet'], diff --git a/tests/Helper/Log/TelemetryClientTest.php b/tests/Helper/Log/TelemetryClientTest.php index 86c93d81a..557db629a 100644 --- a/tests/Helper/Log/TelemetryClientTest.php +++ b/tests/Helper/Log/TelemetryClientTest.php @@ -32,7 +32,7 @@ public function testTelemetryClient($times_called, $is_enabled): void { self::assertEquals($is_ready, FALSE, 'Correctly set enabled/state state.'); } - public function providerTelemetryClient(): array { + public static function providerTelemetryClient(): array { return [ [1, TRUE], [0, FALSE], diff --git a/tests/Options/CiRunOptionsTest.php b/tests/Options/CiRunOptionsTest.php index dc8cbc4b7..a82e253f0 100644 --- a/tests/Options/CiRunOptionsTest.php +++ b/tests/Options/CiRunOptionsTest.php @@ -30,7 +30,7 @@ protected function setUp(): void { ->exists(Argument::any()) ->willReturn(FALSE); $this->packageManager - ->exists($this->validSutName()) + ->exists(self::validSutName()) ->willReturn(TRUE); } @@ -39,10 +39,6 @@ private function createCiRunOptions($options): CiRunOptions { return new CiRunOptions($package_manager, $options); } - private function validSutName(): string { - return 'drupal/example'; - } - private function validSut(): Package { $sut = $this->prophesize(Package::class); return $sut->reveal(); @@ -59,8 +55,8 @@ private function validSut(): Package { public function testValidJobs(CiJobEnum $job): void { $options = $this->createCiRunOptions([ 'job' => $job->getKey(), - 'phase' => $this->validPhaseName(), - 'sut' => $this->validSutName(), + 'phase' => self::validPhaseName(), + 'sut' => self::validSutName(), ]); self::assertEquals($job, $options->getJob(), 'Set/got "job" option.'); @@ -76,9 +72,9 @@ public function testValidJobs(CiJobEnum $job): void { */ public function testValidPhases(CiJobPhaseEnum $phase): void { $options = $this->createCiRunOptions([ - 'job' => $this->validJobName(), + 'job' => self::validJobName(), 'phase' => strtolower($phase->getKey()), - 'sut' => $this->validSutName(), + 'sut' => self::validSutName(), ]); self::assertEquals($phase, $options->getPhase(), 'Set/got "phase" option.'); @@ -86,12 +82,12 @@ public function testValidPhases(CiJobPhaseEnum $phase): void { public function testValidSut(): void { $options = $this->createCiRunOptions([ - 'job' => $this->validJobName(), - 'phase' => $this->validPhaseName(), - 'sut' => $this->validSutName(), + 'job' => self::validJobName(), + 'phase' => self::validPhaseName(), + 'sut' => self::validSutName(), ]); $this->packageManager - ->get($this->validSutName()) + ->get(self::validSutName()) ->willReturn($this->validSut()); self::assertEquals($this->validSut(), $options->getSut(), 'Set/got "sut" option.'); @@ -106,25 +102,25 @@ public function testMissingRequiredOptions($options): void { $this->createCiRunOptions($options); } - public function providerMissingRequiredOptions(): array { + public static function providerMissingRequiredOptions(): array { return [ 'No options' => [[]], 'Missing job' => [ [ - 'phase' => $this->validPhaseName(), - 'sut' => $this->validSutName(), + 'phase' => self::validPhaseName(), + 'sut' => self::validSutName(), ], ], 'Missing phase' => [ [ - 'job' => $this->validJobName(), - 'sut' => $this->validSutName(), + 'job' => self::validJobName(), + 'sut' => self::validSutName(), ], ], 'Missing sut' => [ [ - 'phase' => $this->validPhaseName(), - 'job' => $this->validJobName(), + 'phase' => self::validPhaseName(), + 'job' => self::validJobName(), ], ], ]; @@ -137,8 +133,8 @@ public function testUndefinedOptions(): void { $this->expectException(OrcaInvalidArgumentException::class); $this->createCiRunOptions([ - 'job' => $this->validJobName(), - 'phase' => $this->validPhaseName(), + 'job' => self::validJobName(), + 'phase' => self::validPhaseName(), 'undefined' => 'option', ]); } @@ -156,47 +152,47 @@ public function testInvalidOptions($options): void { $this->createCiRunOptions($options); } - public function providerInvalidOptions(): array { + public static function providerInvalidOptions(): array { return [ 'Non-existent phase' => [ [ - 'job' => $this->validJobName(), + 'job' => self::validJobName(), 'phase' => 'invalid', - 'sut' => $this->validSutName(), + 'sut' => self::validSutName(), ], ], 'Non-existent job' => [ [ 'job' => 'invalid', - 'phase' => $this->validPhaseName(), - 'sut' => $this->validSutName(), + 'phase' => self::validPhaseName(), + 'sut' => self::validSutName(), ], ], 'Non-string phase' => [ [ - 'job' => $this->validJobName(), + 'job' => self::validJobName(), 'phase' => 12345, - 'sut' => $this->validSutName(), + 'sut' => self::validSutName(), ], ], 'Non-string job' => [ [ 'job' => 12345, - 'phase' => $this->validPhaseName(), - 'sut' => $this->validSutName(), + 'phase' => self::validPhaseName(), + 'sut' => self::validSutName(), ], ], 'Non-string sut' => [ [ - 'job' => $this->validJobName(), - 'phase' => $this->validPhaseName(), + 'job' => self::validJobName(), + 'phase' => self::validPhaseName(), 'sut' => 12345, ], ], 'Invalid sut' => [ [ - 'job' => $this->validJobName(), - 'phase' => $this->validPhaseName(), + 'job' => self::validJobName(), + 'phase' => self::validPhaseName(), 'sut' => 'invalid', ], ], diff --git a/tests/Options/FixtureOptionsFactoryTest.php b/tests/Options/FixtureOptionsFactoryTest.php index b89f3806d..30b1a7cd2 100644 --- a/tests/Options/FixtureOptionsFactoryTest.php +++ b/tests/Options/FixtureOptionsFactoryTest.php @@ -42,7 +42,7 @@ public function testFactory($options, $is_bare, $is_dev): void { self::assertEquals($is_dev, $options->isDev()); } - public function providerFactory(): array { + public static function providerFactory(): array { return [ [['bare' => TRUE], TRUE, FALSE], [['dev' => TRUE], FALSE, TRUE], diff --git a/tests/Options/FixtureOptionsTest.php b/tests/Options/FixtureOptionsTest.php index 50d7875a3..12afebeb6 100644 --- a/tests/Options/FixtureOptionsTest.php +++ b/tests/Options/FixtureOptionsTest.php @@ -176,7 +176,7 @@ public function testInvalidOptions($option): void { $this->createFixtureOptions([$option => 12345]); } - public function providerInvalidOptions(): array { + public static function providerInvalidOptions(): array { return [ ['bare'], ['core'], @@ -210,7 +210,7 @@ public function testInvalidCombinations($options, $message): void { $this->createFixtureOptions($options); } - public function providerInvalidCombinations(): array { + public static function providerInvalidCombinations(): array { return [ [['bare' => TRUE, 'sut' => 'test/example'], 'Cannot create a bare fixture with a SUT.'], [['bare' => TRUE, 'symlink-all' => TRUE], 'Cannot symlink all in a bare fixture.'], @@ -232,7 +232,7 @@ public function testCoreRawConstraintsValid($version): void { self::assertEquals($version, $options->getCore(), 'Accepted valid "core" option.'); } - public function providerCoreRawConstraintsValid(): array { + public static function providerCoreRawConstraintsValid(): array { return [ ['9.0.0'], ['1.2.3'], @@ -297,7 +297,7 @@ public function testCoreResolvedRange($core, $dev, $stability): void { $options->getCoreResolved(); } - public function providerCoreResolvedRange(): array { + public static function providerCoreResolvedRange(): array { return [ ['~8', FALSE, 'stable'], ['8.0.x-dev', FALSE, 'stable'], @@ -337,7 +337,7 @@ public function testProfileValid($name): void { self::assertEquals($name, $options->getProfile(), 'Accepted valid "profile" option.'); } - public function providerProfileValid(): array { + public static function providerProfileValid(): array { return [ ['abc'], ['test_example'], @@ -360,7 +360,7 @@ public function testProfileInvalid($name): void { self::assertEquals($name, $options->getProfile(), 'Accepted valid "profile" option.'); } - public function providerProfileInvalid(): array { + public static function providerProfileInvalid(): array { return [ [''], ['ab'],