diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 12107da5..893a0cbe 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -11,18 +11,6 @@ For details, take a look at the following workflow configuration files: - [`workflows/triage.yaml`](workflows/triage.yaml) - [`workflows/update.yaml`](workflows/update.yaml) -## Backward-Compatibility Analysis - -We use [`roave/backward-compatibility-check`](https://github.com/Roave/BackwardCompatibilityCheck) to prevent breaking backwards-compatibility. - -Run - -```sh -make backward-compatibility-analysis -``` - -to run a backward-compatibility analysis. - ## Coding Standards We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. diff --git a/.github/settings.yml b/.github/settings.yml index 3cd39c40..fccfc0c0 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,15 +14,17 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Backward-Compatibility Analysis (8.1, locked)" - - context: "Code Coverage (8.1, locked)" - - context: "Coding Standards (8.1, locked)" - - context: "Compile Phar (8.1, locked)" - - context: "Dependency Analysis (8.1, locked)" - - context: "Mutation Tests (8.1, locked)" - - context: "Refactoring (8.1, locked)" - - context: "Security Analysis (8.1, locked)" - - context: "Static Code Analysis (8.1, locked)" + - context: "Code Coverage (8.0, locked)" + - context: "Coding Standards (8.0, locked)" + - context: "Compile Phar (8.0, locked)" + - context: "Dependency Analysis (8.0, locked)" + - context: "Mutation Tests (8.0, locked)" + - context: "Refactoring (8.0, locked)" + - context: "Security Analysis (8.0, locked)" + - context: "Static Code Analysis (8.0, locked)" + - context: "Tests (8.0, highest)" + - context: "Tests (8.0, locked)" + - context: "Tests (8.0, lowest)" - context: "Tests (8.1, highest)" - context: "Tests (8.1, locked)" - context: "Tests (8.1, lowest)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index cf94cc8e..89a85142 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -9,58 +9,6 @@ on: # yamllint disable-line rule:truthy - "main" jobs: - backward-compatibility-analysis: - name: "Backward-Compatibility Analysis" - - runs-on: "ubuntu-latest" - - timeout-minutes: 5 - - strategy: - matrix: - php-version: - - "8.1" - - dependencies: - - "locked" - - steps: - - name: "Checkout" - uses: "actions/checkout@v4.1.1" - with: - fetch-depth: 0 - - - name: "Set up PHP" - uses: "shivammathur/setup-php@2.29.0" - with: - coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" - php-version: "${{ matrix.php-version }}" - - - name: "Set up problem matchers for PHP" - run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" - - - name: "Validate composer.json and composer.lock" - run: "composer validate --ansi --strict" - - - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - - - name: "Cache dependencies installed with composer" - uses: "actions/cache@v4.0.0" - with: - path: "${{ env.COMPOSER_CACHE_DIR }}" - key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" - restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - - - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.9.0" - with: - dependencies: "${{ matrix.dependencies }}" - - - name: "Run backward-compatibility analysis with roave/backward-compatibility-check" - run: "vendor/bin/roave-backward-compatibility-check --ansi --format=github-actions --install-development-dependencies" - code-coverage: name: "Code Coverage" @@ -71,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -132,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -207,7 +155,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -283,7 +231,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -339,7 +287,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -391,7 +339,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -450,7 +398,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -500,7 +448,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -551,6 +499,7 @@ jobs: fail-fast: false matrix: php-version: + - "8.0" - "8.1" - "8.2" - "8.3" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8b6c37be..5e93181e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 179a98ae..e9587db2 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 039149b0..2943b00e 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" steps: - name: "Checkout" diff --git a/.phive/phars.xml b/.phive/phars.xml index 13a44129..3174625b 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,6 +1,6 @@ - - + + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index db24c3de..3fbdfe96 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create() +$ruleSet = PhpCsFixer\Config\RuleSet\Php80::create() ->withHeader($license->header()) ->withRules(PhpCsFixer\Config\Rules::fromArray([ 'no_useless_concat_operator' => false, diff --git a/CHANGELOG.md b/CHANGELOG.md index 014355cd..e46cebb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ For a full diff see [`2.41.1...main`][2.41.1...main]. - Required `ergebnis/json:^1.2.0` ([#1273]), by [@dependabot] - Required `ergebnis/json-printer:^3.5.0` ([#1275]), by [@dependabot] - Required `ergebnis/json-normalizer:^4.5.0` ([#1277]), by [@localheinz] +- Added support for PHP 8.0 ([#1278]), by [@localheinz] ## [`2.41.1`][2.41.1] @@ -1211,6 +1212,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0]. [#1273]: https://github.com/ergebnis/composer-normalize/pull/1273 [#1275]: https://github.com/ergebnis/composer-normalize/pull/1275 [#1277]: https://github.com/ergebnis/composer-normalize/pull/1277 +[#1278]: https://github.com/ergebnis/composer-normalize/pull/1278 [@core23]: https://github.com/core23 [@dependabot]: https://github.com/dependabot diff --git a/Makefile b/Makefile index 4678789f..83e4d105 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,6 @@ COMPOSER_VERSION:=2.6.6 .PHONY: it it: refactoring coding-standards security-analysis static-code-analysis tests ## Runs the refactoring, coding-standards, security-analysis, static-code-analysis, and tests targets -.PHONY: backward-compatibility-analysis -backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysis with roave/backward-compatibility-check - vendor/bin/roave-backward-compatibility-check --install-development-dependencies - .PHONY: code-coverage code-coverage: vendor ## Collects coverage from running unit and integration tests with phpunit/phpunit vendor/bin/phpunit --configuration=test/phpunit.xml --coverage-text diff --git a/composer.json b/composer.json index 0c87e482..06472b87 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "security": "https://github.com/ergebnis/composer-normalize/blob/main/.github/SECURITY.md" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", "composer-plugin-api": "^2.0.0", "ergebnis/json": "^1.2.0", @@ -34,16 +34,16 @@ }, "require-dev": { "composer/composer": "^2.6.6", + "ergebnis/data-provider": "^3.2.0", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.20.0", + "ergebnis/php-cs-fixer-config": "^6.20.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", - "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.9", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.19.5", - "roave/backward-compatibility-check": "^8.6.0", - "symfony/filesystem": "^6.4.0", + "rector/rector": "~0.19.2", + "symfony/filesystem": "^6.0.19", "vimeo/psalm": "^5.20.0" }, "minimum-stability": "dev", @@ -67,7 +67,7 @@ "abandoned": "report" }, "platform": { - "php": "8.1.26" + "php": "8.0.30" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index dc49c10f..53fd2a59 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": "6f93ad191c8662b14d6ca3f3ca503ad6", + "content-hash": "918c5835e14a9535890c916494e63415", "packages": [ { "name": "ergebnis/json", @@ -636,147 +636,6 @@ ], "time": "2021-03-30T17:13:30+00:00" }, - { - "name": "azjezz/psl", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/azjezz/psl.git", - "reference": "4955aa9d30790a3618b7933762359abdb41fd313" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/azjezz/psl/zipball/4955aa9d30790a3618b7933762359abdb41fd313", - "reference": "4955aa9d30790a3618b7933762359abdb41fd313", - "shasum": "" - }, - "require": { - "ext-bcmath": "*", - "ext-intl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-sodium": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "revolt/event-loop": "^1.0.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.22.0", - "php-coveralls/php-coveralls": "^2.6.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpbench/phpbench": "^1.2.14", - "phpunit/phpunit": "^9.6.10", - "roave/infection-static-analysis-plugin": "^1.32.0", - "squizlabs/php_codesniffer": "^3.7.2", - "vimeo/psalm": "^5.13.1" - }, - "suggest": { - "php-standard-library/psalm-plugin": "Psalm integration" - }, - "type": "library", - "extra": { - "thanks": { - "name": "hhvm/hsl", - "url": "https://github.com/hhvm/hsl" - } - }, - "autoload": { - "files": [ - "src/bootstrap.php" - ], - "psr-4": { - "Psl\\": "src/Psl" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "azjezz", - "email": "azjezz@protonmail.com" - } - ], - "description": "PHP Standard Library", - "support": { - "issues": "https://github.com/azjezz/psl/issues", - "source": "https://github.com/azjezz/psl/tree/2.8.0" - }, - "funding": [ - { - "url": "https://github.com/azjezz", - "type": "github" - } - ], - "time": "2023-11-22T07:49:48+00:00" - }, - { - "name": "beberlei/assert", - "version": "v3.3.2", - "source": { - "type": "git", - "url": "https://github.com/beberlei/assert.git", - "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/beberlei/assert/zipball/cb70015c04be1baee6f5f5c953703347c0ac1655", - "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "php": "^7.0 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "*", - "phpstan/phpstan": "*", - "phpunit/phpunit": ">=6.0.0", - "yoast/phpunit-polyfills": "^0.1.0" - }, - "suggest": { - "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles" - }, - "type": "library", - "autoload": { - "files": [ - "lib/Assert/functions.php" - ], - "psr-4": { - "Assert\\": "lib/Assert" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de", - "role": "Lead Developer" - }, - { - "name": "Richard Quadling", - "email": "rquadling@gmail.com", - "role": "Collaborator" - } - ], - "description": "Thin assertion library for input validation in business models.", - "keywords": [ - "assert", - "assertion", - "validation" - ], - "support": { - "issues": "https://github.com/beberlei/assert/issues", - "source": "https://github.com/beberlei/assert/tree/v3.3.2" - }, - "time": "2021-12-16T21:41:27+00:00" - }, { "name": "colinodell/json5", "version": "v2.3.0", @@ -1200,6 +1059,79 @@ ], "time": "2021-04-07T13:37:33+00:00" }, + { + "name": "composer/package-versions-deprecated", + "version": "1.11.99.5", + "source": { + "type": "git", + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" + }, + "replace": { + "ocramius/package-versions": "1.11.99" + }, + "require-dev": { + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" + }, + "type": "composer-plugin", + "extra": { + "class": "PackageVersions\\Installer", + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "PackageVersions\\": "src/PackageVersions" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be" + } + ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "support": { + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-01-17T14:14:24+00:00" + }, { "name": "composer/pcre", "version": "3.1.1", @@ -1582,6 +1514,139 @@ }, "time": "2023-09-27T20:04:15+00:00" }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" + }, + { + "name": "ergebnis/data-provider", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/ergebnis/data-provider.git", + "reference": "e2b0b79b833f5a5799f2ee52ebc8e08e8d52f9eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/e2b0b79b833f5a5799f2ee52ebc8e08e8d52f9eb", + "reference": "e2b0b79b833f5a5799f2ee52ebc8e08e8d52f9eb", + "shasum": "" + }, + "require": { + "fakerphp/faker": "^1.21.0", + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/license": "^2.4.0", + "ergebnis/php-cs-fixer-config": "^6.13.0", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.6.13", + "psalm/plugin-phpunit": "~0.18.4", + "rector/rector": "~0.18.11", + "vimeo/psalm": "^5.16.0" + }, + "type": "library", + "extra": { + "composer-normalize": { + "indent-size": 2, + "indent-style": "space" + } + }, + "autoload": { + "psr-4": { + "Ergebnis\\DataProvider\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" + } + ], + "description": "Provides generic data providers for use with phpunit/phpunit.", + "homepage": "https://github.com/ergebnis/data-provider", + "keywords": [ + "data-provider", + "phpunit" + ], + "support": { + "issues": "https://github.com/ergebnis/data-provider/issues", + "source": "https://github.com/ergebnis/data-provider" + }, + "time": "2023-11-30T17:30:28+00:00" + }, { "name": "ergebnis/license", "version": "2.4.0", @@ -2008,16 +2073,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.0.0", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", "shasum": "" }, "require": { @@ -2025,13 +2090,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", - "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -2057,7 +2122,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" }, "funding": [ { @@ -2065,7 +2130,7 @@ "type": "github" } ], - "time": "2023-09-17T21:38:23+00:00" + "time": "2022-12-16T22:01:02+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -2337,16 +2402,16 @@ }, { "name": "infection/infection", - "version": "0.27.9", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "61e6d0645b89104fbd660218d3408219ad7176b5" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/61e6d0645b89104fbd660218d3408219ad7176b5", - "reference": "61e6d0645b89104fbd660218d3408219ad7176b5", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", "shasum": "" }, "require": { @@ -2357,46 +2422,42 @@ "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", - "fidry/cpu-core-counter": "^0.4.0 || ^0.5.0 || ^1.0", + "fidry/cpu-core-counter": "^0.4.0", "infection/abstract-testframework-adapter": "^0.5.0", "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.5", "justinrainbow/json-schema": "^5.2.10", "nikic/php-parser": "^4.15.1", "ondram/ci-detector": "^4.1.0", - "php": "^8.1", + "php": "^8.0", "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", - "symfony/console": "^5.4 || ^6.0 || ^7.0", - "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", - "symfony/finder": "^5.4 || ^6.0 || ^7.0", - "symfony/process": "^5.4 || ^6.0 || ^7.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/process": "^5.4 || ^6.0", "thecodingmachine/safe": "^2.1.2", "webmozart/assert": "^1.11" }, "conflict": { - "antecedent/patchwork": "<2.1.25", "dg/bypass-finals": "<1.4.1", "phpunit/php-code-coverage": ">9,<9.1.4 || >9.2.17,<9.2.21" }, "require-dev": { - "brianium/paratest": "^6.11", + "brianium/paratest": "^6.3", "ext-simplexml": "*", "fidry/makefile": "^0.2.0", "helmich/phpunit-json-assert": "^3.0", - "phpspec/prophecy": "^1.15", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.10.15", + "phpstan/phpstan": "^1.3.0", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", - "phpunit/phpunit": "^9.6", - "rector/rector": "^0.16.0", - "sidz/phpstan-rules": "^0.4.0", - "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0", - "symfony/yaml": "^5.4 || ^6.0 || ^7.0", + "phpunit/phpunit": "^9.5.5", + "symfony/phpunit-bridge": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0", "thecodingmachine/phpstan-safe-rule": "^1.2.0" }, "bin": [ @@ -2453,7 +2514,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.9" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -2465,55 +2526,7 @@ "type": "open_collective" } ], - "time": "2023-12-07T17:42:43+00:00" - }, - { - "name": "jetbrains/phpstorm-stubs", - "version": "v2023.3", - "source": { - "type": "git", - "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "shasum": "" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "@stable", - "nikic/php-parser": "@stable", - "php": "^8.0", - "phpdocumentor/reflection-docblock": "@stable", - "phpunit/phpunit": "^9.6" - }, - "type": "library", - "autoload": { - "files": [ - "PhpStormStubsMap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "PHP runtime & extensions header files for PhpStorm", - "homepage": "https://www.jetbrains.com/phpstorm", - "keywords": [ - "autocomplete", - "code", - "inference", - "inspection", - "jetbrains", - "phpstorm", - "stubs", - "type" - ], - "support": { - "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.3" - }, - "time": "2023-11-01T18:52:29+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -2622,16 +2635,16 @@ }, { "name": "netresearch/jsonmapper", - "version": "v4.2.0", + "version": "v4.4.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" + "reference": "18133a2d8c24e10e58e02b700308ed3a4a60c97f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/18133a2d8c24e10e58e02b700308ed3a4a60c97f", + "reference": "18133a2d8c24e10e58e02b700308ed3a4a60c97f", "shasum": "" }, "require": { @@ -2642,7 +2655,7 @@ "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", "squizlabs/php_codesniffer": "~3.5" }, "type": "library", @@ -2667,9 +2680,9 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.4.0" }, - "time": "2023-04-09T17:37:40+00:00" + "time": "2024-01-28T07:31:37+00:00" }, { "name": "nikic/php-parser", @@ -2713,142 +2726,19 @@ ], "authors": [ { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" - }, - "time": "2023-12-10T21:03:43+00:00" - }, - { - "name": "nikolaposa/version", - "version": "4.1.1", - "source": { - "type": "git", - "url": "https://github.com/nikolaposa/version.git", - "reference": "f6bdd64be914940529b843a67335d6386d980cec" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikolaposa/version/zipball/f6bdd64be914940529b843a67335d6386d980cec", - "reference": "f6bdd64be914940529b843a67335d6386d980cec", - "shasum": "" - }, - "require": { - "beberlei/assert": "^3.2", - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", - "phpstan/phpstan": "^0.12.10", - "phpstan/phpstan-beberlei-assert": "^0.12.2", - "phpstan/phpstan-phpunit": "^0.12.6", - "phpunit/phpunit": "^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Version\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nikola Poša", - "email": "posa.nikola@gmail.com", - "homepage": "https://www.nikolaposa.in.rs" - } - ], - "description": "Value Object that represents a SemVer-compliant version number.", - "homepage": "https://github.com/nikolaposa/version", - "keywords": [ - "semantic", - "semver", - "version", - "versioning" - ], - "support": { - "issues": "https://github.com/nikolaposa/version/issues", - "source": "https://github.com/nikolaposa/version/tree/4.1.1" - }, - "time": "2023-08-04T17:13:40+00:00" - }, - { - "name": "ocramius/package-versions", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/Ocramius/PackageVersions.git", - "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", - "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.2.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "replace": { - "composer/package-versions-deprecated": "*" - }, - "require-dev": { - "composer/composer": "^2.6.3", - "doctrine/coding-standard": "^12.0.0", - "ext-zip": "^1.15.0", - "phpunit/phpunit": "^9.6.12", - "roave/infection-static-analysis-plugin": "^1.33", - "vimeo/psalm": "^5.15.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "PackageVersions\\": "src/PackageVersions" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Nikita Popov" } ], - "description": "Provides efficient querying for installed package versions (no runtime IO)", + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], "support": { - "issues": "https://github.com/Ocramius/PackageVersions/issues", - "source": "https://github.com/Ocramius/PackageVersions/tree/2.8.0" + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" }, - "funding": [ - { - "url": "https://github.com/Ocramius", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ocramius/package-versions", - "type": "tidelift" - } - ], - "time": "2023-09-15T11:02:59+00:00" + "time": "2023-12-10T21:03:43+00:00" }, { "name": "ondram/ci-detector", @@ -3318,16 +3208,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.11", + "version": "9.2.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145" + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", "shasum": "" }, "require": { @@ -3335,18 +3225,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.18 || ^5.0", - "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", + "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", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -3355,7 +3245,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -3384,7 +3274,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/10.1.11" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" }, "funding": [ { @@ -3392,32 +3282,32 @@ "type": "github" } ], - "time": "2023-12-21T15:38:30+00:00" + "time": "2023-12-22T06:47:57+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -3444,8 +3334,7 @@ ], "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" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { @@ -3453,28 +3342,28 @@ "type": "github" } ], - "time": "2023-08-31T06:24:48+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { "name": "phpunit/php-invoker", - "version": "4.0.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcntl": "*" @@ -3482,7 +3371,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -3508,7 +3397,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" }, "funding": [ { @@ -3516,32 +3405,32 @@ "type": "github" } ], - "time": "2023-02-03T06:56:09+00:00" + "time": "2020-09-28T05:58:55+00:00" }, { "name": "phpunit/php-text-template", - "version": "3.0.1", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -3567,8 +3456,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" }, "funding": [ { @@ -3576,32 +3464,32 @@ "type": "github" } ], - "time": "2023-08-31T14:07:24+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { "name": "phpunit/php-timer", - "version": "6.0.0", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -3627,7 +3515,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" }, "funding": [ { @@ -3635,23 +3523,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.9", + "version": "9.6.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe" + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", - "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -3661,26 +3550,27 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/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" + "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" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files" + "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" }, "bin": [ "phpunit" @@ -3688,7 +3578,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -3720,7 +3610,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.9" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16" }, "funding": [ { @@ -3736,7 +3626,7 @@ "type": "tidelift" } ], - "time": "2024-01-22T14:35:40+00:00" + "time": "2024-01-19T07:03:14+00:00" }, { "name": "psalm/plugin-phpunit", @@ -4080,260 +3970,6 @@ ], "time": "2024-01-29T23:53:47+00:00" }, - { - "name": "revolt/event-loop", - "version": "v1.0.6", - "source": { - "type": "git", - "url": "https://github.com/revoltphp/event-loop.git", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "require-dev": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^9", - "psalm/phar": "^5.15" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Revolt\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "ceesjank@gmail.com" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "Rock-solid event loop for concurrent PHP applications.", - "keywords": [ - "async", - "asynchronous", - "concurrency", - "event", - "event-loop", - "non-blocking", - "scheduler" - ], - "support": { - "issues": "https://github.com/revoltphp/event-loop/issues", - "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" - }, - "time": "2023-11-30T05:34:44+00:00" - }, - { - "name": "roave/backward-compatibility-check", - "version": "8.6.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/5e533114a996f73a7551846c06c59a80185f4d16", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16", - "shasum": "" - }, - "require": { - "azjezz/psl": "^2.3.1", - "composer/composer": "^2.6.4", - "nikic/php-parser": "^4.15.3", - "nikolaposa/version": "^4.1.0", - "ocramius/package-versions": "^2.7.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/better-reflection": "^6.5.0", - "symfony/console": "^6.2.3" - }, - "conflict": { - "revolt/event-loop": "<0.2.5", - "symfony/process": "<5.3.7" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpunit/phpunit": "^9.5.27", - "psalm/plugin-phpunit": "^0.18.4", - "roave/infection-static-analysis-plugin": "^1.27.0", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.7.1", - "vimeo/psalm": "^5.4.0" - }, - "bin": [ - "bin/roave-backward-compatibility-check" - ], - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BackwardCompatibility\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "Tool to compare two revisions of a public API to check for BC breaks", - "support": { - "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", - "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.6.0" - }, - "time": "2023-12-20T14:01:33+00:00" - }, - { - "name": "roave/better-reflection", - "version": "6.20.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BetterReflection.git", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "shasum": "" - }, - "require": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "2023.3", - "nikic/php-parser": "^4.18.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/signature": "^1.8.0" - }, - "conflict": { - "thecodingmachine/safe": "<1.1.3" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "phpstan/phpstan": "^1.10.50", - "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^10.5.3", - "roave/infection-static-analysis-plugin": "^1.34.0", - "vimeo/psalm": "5.17.0" - }, - "suggest": { - "composer/composer": "Required to use the ComposerSourceLocator" - }, - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BetterReflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com", - "homepage": "https://github.com/asgrim" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - }, - { - "name": "Gary Hockin", - "email": "gary@roave.com", - "homepage": "https://github.com/geeh" - }, - { - "name": "Jaroslav Hanslík", - "email": "kukulich@kukulich.cz", - "homepage": "https://github.com/kukulich" - } - ], - "description": "Better Reflection - an improved code reflection API", - "support": { - "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.20.0" - }, - "time": "2023-12-16T12:01:31+00:00" - }, - { - "name": "roave/signature", - "version": "1.8.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/Signature.git", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/Signature/zipball/f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "shasum": "" - }, - "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "infection/infection": "^0.26.19", - "phpunit/phpunit": "^9.6.7", - "vimeo/psalm": "^5.9.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Roave\\Signature\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Sign and verify stuff", - "support": { - "issues": "https://github.com/Roave/Signature/issues", - "source": "https://github.com/Roave/Signature/tree/1.8.0" - }, - "time": "2023-11-25T00:11:29+00:00" - }, { "name": "sanmai/later", "version": "0.1.4", @@ -4465,28 +4101,28 @@ }, { "name": "sebastian/cli-parser", - "version": "2.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -4509,7 +4145,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" }, "funding": [ { @@ -4517,32 +4153,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:15+00:00" + "time": "2020-09-28T06:08:49+00:00" }, { "name": "sebastian/code-unit", - "version": "2.0.0", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -4565,7 +4201,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/2.0.0" + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" }, "funding": [ { @@ -4573,32 +4209,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:43+00:00" + "time": "2020-10-26T13:08:54+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "3.0.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -4620,7 +4256,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/3.0.0" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" }, "funding": [ { @@ -4628,36 +4264,34 @@ "type": "github" } ], - "time": "2023-02-03T06:59:15+00:00" + "time": "2020-09-28T05:30:19+00:00" }, { "name": "sebastian/comparator", - "version": "5.0.1", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/diff": "^5.0", - "sebastian/exporter": "^5.0" + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.3" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4696,8 +4330,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -4705,33 +4338,33 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", - "version": "3.2.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68ff824baeae169ec9f2137158ee529584553799" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", - "reference": "68ff824baeae169ec9f2137158ee529584553799", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.2-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -4754,8 +4387,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -4763,33 +4395,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "5.1.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^9.3", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4821,8 +4453,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -4830,27 +4461,27 @@ "type": "github" } ], - "time": "2023-12-22T10:55:06+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", - "version": "6.0.1", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -4858,7 +4489,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -4877,7 +4508,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "https://github.com/sebastianbergmann/environment", + "homepage": "http://www.github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -4885,8 +4516,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -4894,34 +4524,34 @@ "type": "github" } ], - "time": "2023-04-11T05:39:26+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "5.1.1", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4963,8 +4593,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.1" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -4972,35 +4601,38 @@ "type": "github" } ], - "time": "2023-09-24T13:22:09+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.1", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" + "reference": "bde739e7565280bda77be70044ac1047bc007e34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/7ea9ead78f6d380d2a667864c132c2f7b83055e4", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -5025,8 +4657,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" }, "funding": [ { @@ -5034,33 +4665,33 @@ "type": "github" } ], - "time": "2023-07-19T07:19:23+00:00" + "time": "2023-08-02T09:26:13+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -5083,8 +4714,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -5092,34 +4722,34 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5141,7 +4771,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/5.0.0" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { @@ -5149,32 +4779,32 @@ "type": "github" } ], - "time": "2023-02-03T07:08:32+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { "name": "sebastian/object-reflector", - "version": "3.0.0", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -5196,7 +4826,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/3.0.0" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { @@ -5204,32 +4834,32 @@ "type": "github" } ], - "time": "2023-02-03T07:06:18+00:00" + "time": "2020-10-26T13:14:26+00:00" }, { "name": "sebastian/recursion-context", - "version": "5.0.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5259,7 +4889,62 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "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" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" }, "funding": [ { @@ -5267,32 +4952,32 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { "name": "sebastian/type", - "version": "4.0.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -5315,7 +5000,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -5323,29 +5008,29 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", - "version": "4.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -5368,7 +5053,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, "funding": [ { @@ -5376,7 +5061,7 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "seld/jsonlint", @@ -5616,24 +5301,23 @@ }, { "name": "symfony/console", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0254811a143e6bc6c8deea08b589a7e68a37f625", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625", + "url": "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0|^7.0" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -5647,16 +5331,18 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/event-dispatcher": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^5.4|^6.0|^7.0", - "symfony/messenger": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", - "symfony/stopwatch": "^5.4|^6.0|^7.0", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" }, "type": "library", "autoload": { @@ -5685,12 +5371,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.2" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -5706,29 +5392,29 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "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/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -5757,7 +5443,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.0.2" }, "funding": [ { @@ -5773,29 +5459,28 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "e95216850555cd55e71b857eb9d6c2674124603a" + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e95216850555cd55e71b857eb9d6c2674124603a", - "reference": "e95216850555cd55e71b857eb9d6c2674124603a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/event-dispatcher-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/event-dispatcher-contracts": "^2|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/service-contracts": "<2.5" + "symfony/dependency-injection": "<5.4" }, "provide": { "psr/event-dispatcher-implementation": "1.0", @@ -5803,13 +5488,17 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/error-handler": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^5.4|^6.0|^7.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^5.4|^6.0|^7.0" + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^5.4|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" }, "type": "library", "autoload": { @@ -5837,7 +5526,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.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" }, "funding": [ { @@ -5853,30 +5542,33 @@ "type": "tidelift" } ], - "time": "2023-12-27T22:16:42+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" }, "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/7bc61cc2db649b4637d331240c5346dcc7708051", + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "psr/event-dispatcher": "^1" }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -5913,7 +5605,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.0.2" }, "funding": [ { @@ -5929,24 +5621,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/952a8cb588c3bc6ce76f6023000fb932f16a6e59", - "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214", + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, @@ -5976,7 +5668,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.0" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -5992,27 +5684,24 @@ "type": "tidelift" } ], - "time": "2023-07-26T17:27:13+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/finder", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", + "url": "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11", + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11", "shasum": "" }, "require": { - "php": ">=8.1" - }, - "require-dev": { - "symfony/filesystem": "^6.0|^7.0" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -6040,7 +5729,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.0.19" }, "funding": [ { @@ -6056,25 +5745,25 @@ "type": "tidelift" } ], - "time": "2023-10-31T17:30:12+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "22301f0e7fdeaacc14318928612dee79be99860e" + "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3" }, "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/6a180d1c45e0d9797470ca9eb46215692de00fa3", + "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/deprecation-contracts": "^2.1|^3" }, "type": "library", "autoload": { @@ -6107,7 +5796,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.4.0" + "source": "https://github.com/symfony/options-resolver/tree/v6.0.19" }, "funding": [ { @@ -6123,7 +5812,7 @@ "type": "tidelift" } ], - "time": "2023-08-08T10:16:24+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6698,20 +6387,20 @@ }, { "name": "symfony/process", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c4b1ef0bc80533d87a2e969806172f1c2a980241", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -6739,7 +6428,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.2" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -6755,33 +6444,36 @@ "type": "tidelift" } ], - "time": "2023-12-22T16:42:54+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "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/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "php": ">=8.0.2", + "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" }, + "suggest": { + "symfony/service-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -6791,10 +6483,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6821,7 +6510,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -6837,25 +6526,25 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2" + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/011e781839dd1d2eb8119f65ac516a530f60226d", + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/service-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/service-contracts": "^1|^2|^3" }, "type": "library", "autoload": { @@ -6883,7 +6572,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.4.0" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" }, "funding": [ { @@ -6899,38 +6588,37 @@ "type": "tidelift" } ], - "time": "2023-02-16T10:14:28+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/string", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/7cb80bc10bfcdf6b5492741c0b9357dac66940bc", - "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc", + "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": "<2.5" + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0|^7.0", - "symfony/http-client": "^5.4|^6.0|^7.0", - "symfony/intl": "^6.2|^7.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0|^7.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -6969,7 +6657,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.2" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -6985,7 +6673,7 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "thecodingmachine/safe", @@ -7351,13 +7039,13 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", "composer-plugin-api": "^2.0.0" }, "platform-dev": [], "platform-overrides": { - "php": "8.1.26" + "php": "8.0.30" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 1b74a000..82ff1d01 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -5,16 +5,9 @@ $composerFile - - - commandInvocation - commandInvocationAndInvalidIndentSize - commandInvocationIndentSizeAndIndentStyle - - - + $decoded['plugin-api-version'] $decoded diff --git a/rector.php b/rector.php index 2f80f805..a59e6bbd 100644 --- a/rector.php +++ b/rector.php @@ -12,7 +12,6 @@ */ use Rector\Config; -use Rector\Php81; use Rector\PHPUnit; use Rector\ValueObject; @@ -26,13 +25,9 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_81); - - $rectorConfig->rules([ - Php81\Rector\Property\ReadOnlyPropertyRector::class, - ]); + $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_80); $rectorConfig->sets([ - PHPUnit\Set\PHPUnitSetList::PHPUNIT_100, + PHPUnit\Set\PHPUnitSetList::PHPUNIT_90, ]); }; diff --git a/src/Command/NormalizeCommand.php b/src/Command/NormalizeCommand.php index ef7be60f..b54982b3 100644 --- a/src/Command/NormalizeCommand.php +++ b/src/Command/NormalizeCommand.php @@ -32,10 +32,10 @@ final class NormalizeCommand extends Command\BaseCommand { public function __construct( - private readonly Factory $factory, - private readonly Normalizer\Normalizer $normalizer, - private readonly Printer\PrinterInterface $printer, - private readonly Diff\Differ $differ, + private Factory $factory, + private Normalizer\Normalizer $normalizer, + private Printer\PrinterInterface $printer, + private Diff\Differ $differ, ) { parent::__construct('normalize'); } @@ -198,8 +198,8 @@ protected function execute( $this->normalizer, new class($this->printer, $format) implements Normalizer\Normalizer { public function __construct( - private readonly Printer\PrinterInterface $printer, - private readonly Normalizer\Format\Format $format, + private Printer\PrinterInterface $printer, + private Normalizer\Format\Format $format, ) { } diff --git a/test/Integration/Command/NormalizeCommand/AbstractTestCase.php b/test/Integration/Command/NormalizeCommand/AbstractTestCase.php index a5723253..c1f5b196 100644 --- a/test/Integration/Command/NormalizeCommand/AbstractTestCase.php +++ b/test/Integration/Command/NormalizeCommand/AbstractTestCase.php @@ -21,7 +21,9 @@ use Symfony\Component\Console; use Symfony\Component\Filesystem; -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ abstract class AbstractTestCase extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/AdditionalKeys/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/AdditionalKeys/CommandInvocationTest.php index 14fc7256..240fcd51 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/AdditionalKeys/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/AdditionalKeys/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\AdditionalKeys; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/Missing/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/Missing/CommandInvocationTest.php index a8900919..d08c6091 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/Missing/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/Missing/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\IndentSize\Missing; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotGreaterThanZero/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotGreaterThanZero/CommandInvocationTest.php index 0658d64e..59c63cf3 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotGreaterThanZero/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotGreaterThanZero/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\IndentSize\NotGreaterThanZero; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotInteger/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotInteger/CommandInvocationTest.php index ea345ed6..f06cfc6f 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotInteger/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentSize/NotInteger/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\IndentSize\NotInteger; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/Missing/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/Missing/CommandInvocationTest.php index 1cf5158a..f1e51d9a 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/Missing/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/Missing/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\IndentStyle\Missing; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotSpaceOrTab/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotSpaceOrTab/CommandInvocationTest.php index ee3f0ff9..ae202c04 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotSpaceOrTab/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotSpaceOrTab/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\IndentStyle\NotSpaceOrTab; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotString/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotString/CommandInvocationTest.php index d216b37c..94e6cb6e 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotString/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/No/IndentStyle/NotString/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\No\IndentStyle\NotString; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFails(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/No/CommandInvocationTest.php index f142a6c7..afa481da 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/No/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\Yes\UsingOptions\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/Yes/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/Yes/CommandInvocationTest.php index 62b37c8c..a494cd49 100644 --- a/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/Yes/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Extra/IsValid/Yes/UsingOptions/Yes/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Extra\IsValid\Yes\UsingOptions\Yes; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocationIndentSizeAndIndentStyle')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocationIndentSizeAndIndentStyle + */ public function testSucceeds( Test\Util\CommandInvocation $commandInvocation, int $indentSize, diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/No/CommandInvocationTest.php index 09391392..eb311385 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/No/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenComposerJsonIsValidAccordingToLaxValidation(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/No/CommandInvocationTest.php index fb1677f3..c2dc25c8 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/No/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\No\Json\IsNormalized\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -63,7 +64,9 @@ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): vo self::assertComposerLockFileNotExists($currentState); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceedsWhenDiffOptionIsUsed(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -109,7 +112,9 @@ public function testSucceedsWhenDiffOptionIsUsed(Test\Util\CommandInvocation $co self::assertComposerLockFileNotExists($currentState); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsDryRunOptionIsUsed(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -151,7 +156,9 @@ public function testFailsDryRunOptionIsUsed(Test\Util\CommandInvocation $command self::assertEquals($initialState, $scenario->currentState()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocationIndentSizeAndIndentStyle')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocationIndentSizeAndIndentStyle + */ public function testSucceedsWhenIndentSizeAndIndentStyleOptionsAreUsed( Test\Util\CommandInvocation $commandInvocation, int $indentSize, @@ -195,7 +202,9 @@ public function testSucceedsWhenIndentSizeAndIndentStyleOptionsAreUsed( self::assertComposerLockFileNotExists($currentState); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceedsNoUpdateLockOptionIsUsed(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/Yes/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/Yes/CommandInvocationTest.php index fdc5b594..936ac973 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/Yes/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/No/Json/IsNormalized/Yes/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\No\Json\IsNormalized\Yes; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/No/CommandInvocationTest.php index 91a10897..258f6c22 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/No/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\Yes\IsFreshBefore\No\UsingNoCheckLockOption\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenComposerJsonIsPresentAndValidAccordingToLaxValidationAndComposerLockIsPresentButNotFreshBefore(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/No/CommandInvocationTest.php index 70a182c3..65d85592 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/No/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\Yes\IsFreshBefore\No\UsingNoCheckLockOption\Yes\Json\IsNormalized\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php index fb97e30a..d74c0304 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/No/UsingNoCheckLockOption/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\Yes\IsFreshBefore\No\UsingNoCheckLockOption\Yes\Json\IsNormalized\Yes; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/No/CommandInvocationTest.php index d6244709..2e477e71 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/No/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\Yes\IsFreshBefore\Yes\Json\IsNormalized\No\Lock\IsFreshAfter\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -69,7 +70,9 @@ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): vo self::assertComposerLockFileFresh($currentState); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceedsWhenNoUpdateLockOptionIsUsed(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/Yes/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/Yes/CommandInvocationTest.php index 5ba06b15..a032883e 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/Yes/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/No/Lock/IsFreshAfter/Yes/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\Yes\IsFreshBefore\Yes\Json\IsNormalized\No\Lock\IsFreshAfter\Yes; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -64,7 +65,9 @@ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): vo self::assertComposerLockFileNotModified($initialState, $currentState); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenDryRunOptionIsUsed(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php index 938f58af..afde29fa 100644 --- a/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Json/IsValid/Yes/Lock/IsPresent/Yes/IsFreshBefore/Yes/Json/IsNormalized/Yes/CommandInvocationTest.php @@ -13,19 +13,20 @@ namespace Command\NormalizeCommand\Json\IsValid\Yes\Lock\IsPresent\Yes\IsFreshBefore\Yes\Json\IsNormalized\Yes; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testSucceeds(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( diff --git a/test/Integration/Command/NormalizeCommand/Normalizer/Throws/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Normalizer/Throws/CommandInvocationTest.php index 14f2e605..7280acac 100644 --- a/test/Integration/Command/NormalizeCommand/Normalizer/Throws/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Normalizer/Throws/CommandInvocationTest.php @@ -15,22 +15,24 @@ use Composer\Factory; use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; use Ergebnis\Json\Json; use Ergebnis\Json\Normalizer; use Ergebnis\Json\Printer; use Localheinz\Diff; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenNormalizerThrowsRuntimeExceptionDuringNormalization(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -48,7 +50,7 @@ public function testFailsWhenNormalizerThrowsRuntimeExceptionDuringNormalization $application = self::createApplication(new Command\NormalizeCommand( new Factory(), new class($exceptionMessage) implements Normalizer\Normalizer { - public function __construct(private readonly string $exceptionMessage) + public function __construct(private string $exceptionMessage) { } diff --git a/test/Integration/Command/NormalizeCommand/Options/AreValid/No/CommandInvocationTest.php b/test/Integration/Command/NormalizeCommand/Options/AreValid/No/CommandInvocationTest.php index 44c738dc..17fa2e20 100644 --- a/test/Integration/Command/NormalizeCommand/Options/AreValid/No/CommandInvocationTest.php +++ b/test/Integration/Command/NormalizeCommand/Options/AreValid/No/CommandInvocationTest.php @@ -13,20 +13,21 @@ namespace Ergebnis\Composer\Normalize\Test\Integration\Command\NormalizeCommand\Options\AreValid\No; -use Ergebnis\Composer\Normalize\Command; -use Ergebnis\Composer\Normalize\NormalizePlugin; use Ergebnis\Composer\Normalize\Test; -use Ergebnis\Composer\Normalize\Version; use Ergebnis\Json\Normalizer; -use PHPUnit\Framework; use Symfony\Component\Console; -#[Framework\Attributes\CoversClass(Command\NormalizeCommand::class)] -#[Framework\Attributes\CoversClass(NormalizePlugin::class)] -#[Framework\Attributes\UsesClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Command\NormalizeCommand + * + * @uses \Ergebnis\Composer\Normalize\NormalizePlugin + * @uses \Ergebnis\Composer\Normalize\Version + */ final class CommandInvocationTest extends Test\Integration\Command\NormalizeCommand\AbstractTestCase { - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenIndentStyleOptionIsUsedWithoutIndentSizeOption(Test\Util\CommandInvocation $commandInvocation): void { /** @var string $indentStyle */ @@ -55,7 +56,9 @@ public function testFailsWhenIndentStyleOptionIsUsedWithoutIndentSizeOption(Test self::assertEquals($scenario->initialState(), $scenario->currentState()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenIndentSizeOptionIsUsedWithoutIndentStyleOption(Test\Util\CommandInvocation $commandInvocation): void { $scenario = self::createScenario( @@ -81,7 +84,9 @@ public function testFailsWhenIndentSizeOptionIsUsedWithoutIndentStyleOption(Test self::assertEquals($scenario->initialState(), $scenario->currentState()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocation')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocation + */ public function testFailsWhenIndentStyleOptionIsInvalid(Test\Util\CommandInvocation $commandInvocation): void { $faker = self::faker(); @@ -117,7 +122,9 @@ public function testFailsWhenIndentStyleOptionIsInvalid(Test\Util\CommandInvocat self::assertEquals($scenario->initialState(), $scenario->currentState()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\Command\NormalizeCommandProvider::class, 'commandInvocationAndInvalidIndentSize')] + /** + * @dataProvider \Ergebnis\Composer\Normalize\Test\DataProvider\Command\NormalizeCommandProvider::commandInvocationAndInvalidIndentSize + */ public function testFailsWhenIndentSizeOptionIsInvalid( Test\Util\CommandInvocation $commandInvocation, string $indentSize, diff --git a/test/Unit/Exception/ShouldNotHappenTest.php b/test/Unit/Exception/ShouldNotHappenTest.php index df5bdc27..46285502 100644 --- a/test/Unit/Exception/ShouldNotHappenTest.php +++ b/test/Unit/Exception/ShouldNotHappenTest.php @@ -16,7 +16,9 @@ use Ergebnis\Composer\Normalize\Exception; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\ShouldNotHappen::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Exception\ShouldNotHappen + */ final class ShouldNotHappenTest extends Framework\TestCase { public function testCreateReturnsException(): void diff --git a/test/Unit/VersionTest.php b/test/Unit/VersionTest.php index c851af5d..4753beab 100644 --- a/test/Unit/VersionTest.php +++ b/test/Unit/VersionTest.php @@ -16,7 +16,9 @@ use Ergebnis\Composer\Normalize\Version; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Version::class)] +/** + * @covers \Ergebnis\Composer\Normalize\Version + */ final class VersionTest extends Framework\TestCase { public function testLongReturnsVersion(): void diff --git a/test/Util/CommandInvocation.php b/test/Util/CommandInvocation.php index 98442a1b..c264e821 100644 --- a/test/Util/CommandInvocation.php +++ b/test/Util/CommandInvocation.php @@ -15,7 +15,7 @@ final class CommandInvocation { - private function __construct(private readonly string $style) + private function __construct(private string $style) { } diff --git a/test/Util/Directory.php b/test/Util/Directory.php index 43ca41a6..1ff622f8 100644 --- a/test/Util/Directory.php +++ b/test/Util/Directory.php @@ -15,9 +15,9 @@ final class Directory { - private readonly bool $exists; + private bool $exists; - private function __construct(private readonly string $path) + private function __construct(private string $path) { $this->exists = \file_exists($path) && \is_dir($path); } diff --git a/test/Util/File.php b/test/Util/File.php index 31ba202f..63e4c5bd 100644 --- a/test/Util/File.php +++ b/test/Util/File.php @@ -16,9 +16,9 @@ final class File { private function __construct( - private readonly string $path, - private readonly bool $exists, - private readonly ?string $contents, + private string $path, + private bool $exists, + private ?string $contents, ) { } diff --git a/test/Util/Scenario.php b/test/Util/Scenario.php index 18822359..ca90a8b6 100644 --- a/test/Util/Scenario.php +++ b/test/Util/Scenario.php @@ -16,8 +16,8 @@ final class Scenario { private function __construct( - private readonly CommandInvocation $commandInvocation, - private readonly State $initialState, + private CommandInvocation $commandInvocation, + private State $initialState, ) { } diff --git a/test/Util/State.php b/test/Util/State.php index 710cfdb6..11cdce2f 100644 --- a/test/Util/State.php +++ b/test/Util/State.php @@ -16,9 +16,9 @@ final class State { private function __construct( - private readonly Directory $directory, - private readonly File $composerJsonFile, - private readonly File $composerLockFile, + private Directory $directory, + private File $composerJsonFile, + private File $composerLockFile, ) { } diff --git a/test/phpunit.xml b/test/phpunit.xml index ebae2851..20f6900d 100644 --- a/test/phpunit.xml +++ b/test/phpunit.xml @@ -1,43 +1,39 @@ - - + + + ../src/ + + - + - - - ../src/ - - Integration/