From 6ce9d73e423c82ec4bbe098f975f6506609045d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 30 Nov 2023 10:45:05 +0100 Subject: [PATCH] Enhancement: Add support for PHP 8.0 --- .github/settings.yml | 17 +- .github/workflows/integrate.yaml | 18 +- .github/workflows/renew.yaml | 2 +- .phive/phars.xml | 2 +- .php-cs-fixer.php | 2 +- CHANGELOG.md | 5 + composer.json | 15 +- composer.lock | 1234 +++++++++-------- psalm-baseline.xml | 26 - rector.php | 4 +- src/File.php | 8 +- src/Header.php | 10 +- src/Holder.php | 2 +- src/Range.php | 2 +- src/Template.php | 2 +- src/Type/BSD3Clause.php | 4 +- src/Type/MIT.php | 4 +- src/Type/None.php | 2 +- src/Url.php | 2 +- src/Year.php | 2 +- test/Unit/Exception/InvalidFileTest.php | 8 +- test/Unit/Exception/InvalidHolderTest.php | 4 +- test/Unit/Exception/InvalidRangeTest.php | 7 +- .../Exception/InvalidReplacementsTest.php | 8 +- test/Unit/Exception/InvalidUrlTest.php | 4 +- test/Unit/Exception/InvalidYearTest.php | 4 +- test/Unit/FileTest.php | 21 +- test/Unit/HeaderTest.php | 17 +- test/Unit/HolderTest.php | 30 +- test/Unit/RangeTest.php | 25 +- test/Unit/TemplateTest.php | 21 +- test/Unit/Type/BSD3ClauseTest.php | 22 +- test/Unit/Type/MITTest.php | 22 +- test/Unit/Type/NoneTest.php | 20 +- test/Unit/UrlTest.php | 25 +- test/Unit/YearTest.php | 19 +- test/Unit/phpunit.xml | 26 +- 37 files changed, 857 insertions(+), 789 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index 56f771fc..d1926692 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,13 +14,16 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Code Coverage (8.1, locked)" - - context: "Coding Standards (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: "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 0539e293..74294f11 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -19,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -80,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -152,7 +152,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -208,7 +208,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -260,7 +260,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -322,7 +322,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -372,7 +372,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -425,6 +425,7 @@ jobs: strategy: matrix: php-version: + - "8.0" - "8.1" - "8.2" - "8.3" @@ -464,6 +465,9 @@ jobs: key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" + - name: "Remove incompatible dependencies with composer" + run: "composer remove ergebnis/composer-normalize --ansi --dev --no-interaction --no-progress" + - name: "Install ${{ matrix.dependencies }} dependencies with composer" uses: "ergebnis/.github/actions/composer/install@1.8.0" with: diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index e55d659f..4b7ccfae 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/.phive/phars.xml b/.phive/phars.xml index f346d4ee..65e134ce 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,4 +1,4 @@ - + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 74dad19d..70ecd9be 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create()->withHeader($license->header()); +$ruleSet = PhpCsFixer\Config\RuleSet\Php80::create()->withHeader($license->header()); $config = PhpCsFixer\Config\Factory::fromRuleSet($ruleSet); diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eb007b0..5817b641 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`2.3.0...main`][2.3.0...main]. +## Added + +- Added support for PHP 8.0 ([#745]), by [@localheinz] + ## [`2.3.0`][2.3.0] For a full diff see [`2.2.0...2.3.0`][2.2.0...2.3.0]. @@ -129,6 +133,7 @@ For a full diff see [`675601b...0.1.0`][675601b...0.1.0]. [#644]: https://github.com/ergebnis/license/pull/644 [#734]: https://github.com/ergebnis/license/pull/734 [#740]: https://github.com/ergebnis/license/pull/740 +[#745]: https://github.com/ergebnis/license/pull/745 [@localheinz]: https://github.com/localheinz [@oruborus]: https://github.com/oruborus diff --git a/composer.json b/composer.json index 30d1a7c4..34f98a4e 100644 --- a/composer.json +++ b/composer.json @@ -20,20 +20,19 @@ "security": "https://github.com/ergebnis/license/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-filter": "*" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.1.0", - "ergebnis/php-cs-fixer-config": "~6.13.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", + "ergebnis/composer-normalize": "^2.31.0", + "ergebnis/data-provider": "^1.3.0", + "ergebnis/php-cs-fixer-config": "^6.13.0", "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.13", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.11", - "symfony/filesystem": "^6.4.0", + "symfony/filesystem": "^6.0.0", "vimeo/psalm": "^5.16.0" }, "autoload": { diff --git a/composer.lock b/composer.lock index a9ec749a..0610c79b 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": "709cfcdd0afc54f942a630a76b45bcbc", + "content-hash": "911a688831b7fea8923f4ea27a77b82e", "packages": [], "packages-dev": [ { @@ -639,42 +639,111 @@ }, "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/composer-normalize", - "version": "2.39.0", + "version": "2.31.0", "source": { "type": "git", "url": "https://github.com/ergebnis/composer-normalize.git", - "reference": "a878360bc8cb5cb440b9381f72b0aaa125f937c7" + "reference": "da1d18bcc2ca02111359c2c76fd938a907ba0a16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/a878360bc8cb5cb440b9381f72b0aaa125f937c7", - "reference": "a878360bc8cb5cb440b9381f72b0aaa125f937c7", + "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/da1d18bcc2ca02111359c2c76fd938a907ba0a16", + "reference": "da1d18bcc2ca02111359c2c76fd938a907ba0a16", "shasum": "" }, "require": { "composer-plugin-api": "^2.0.0", - "ergebnis/json": "^1.1.0", - "ergebnis/json-normalizer": "^4.3.0", - "ergebnis/json-printer": "^3.4.0", + "ergebnis/json": "^1.0.1", + "ergebnis/json-normalizer": "^4.1.0", + "ergebnis/json-printer": "^3.3.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", "localheinz/diff": "^1.1.1", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "require-dev": { - "composer/composer": "^2.6.5", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "composer/composer": "^2.5.5", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.5.2", + "fakerphp/faker": "^1.21.0", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.7", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", + "rector/rector": "~0.15.25", "symfony/filesystem": "^6.0.13", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.9.0" }, "type": "composer-plugin", "extra": { @@ -697,8 +766,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a composer plugin for normalizing composer.json.", @@ -714,36 +782,33 @@ "security": "https://github.com/ergebnis/composer-normalize/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/composer-normalize" }, - "time": "2023-10-10T15:43:27+00:00" + "time": "2023-05-02T14:10:33+00:00" }, { "name": "ergebnis/data-provider", - "version": "3.1.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/ergebnis/data-provider.git", - "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6" + "reference": "867236c752235bdf1a675b1fc9e5768f4300f871" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/af9e67ac1be167f43be9315bf8bcd3240d351ae6", - "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6", + "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/867236c752235bdf1a675b1fc9e5768f4300f871", + "reference": "867236c752235bdf1a675b1fc9e5768f4300f871", "shasum": "" }, "require": { - "fakerphp/faker": "^1.21.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "fakerphp/faker": "^1.20.0", + "php": "^8.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.11.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", - "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.10", - "vimeo/psalm": "^5.16.0" + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30" }, "type": "library", "extra": { @@ -764,8 +829,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides generic data providers for use with phpunit/phpunit.", @@ -778,37 +842,36 @@ "issues": "https://github.com/ergebnis/data-provider/issues", "source": "https://github.com/ergebnis/data-provider" }, - "time": "2023-11-27T14:54:42+00:00" + "time": "2022-11-28T17:18:36+00:00" }, { "name": "ergebnis/json", - "version": "1.1.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/ergebnis/json.git", - "reference": "9f2b9086c43b189d7044a5b6215a931fb6e9125d" + "reference": "d66ea30060856d0729a4aa319a02752519ca63a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json/zipball/9f2b9086c43b189d7044a5b6215a931fb6e9125d", - "reference": "9f2b9086c43b189d7044a5b6215a931fb6e9125d", + "url": "https://api.github.com/repos/ergebnis/json/zipball/d66ea30060856d0729a4aa319a02752519ca63a0", + "reference": "d66ea30060856d0729a4aa319a02752519ca63a0", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.29.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "ergebnis/phpstan-rules": "^1.0.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.16", + "phpunit/phpunit": "^9.5.27", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.1.0" }, "type": "library", "extra": { @@ -829,8 +892,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a Json value object for representing a valid JSON string.", @@ -840,48 +902,46 @@ ], "support": { "issues": "https://github.com/ergebnis/json/issues", - "security": "https://github.com/ergebnis/json/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json" }, - "time": "2023-10-10T07:57:48+00:00" + "time": "2022-12-10T22:38:50+00:00" }, { "name": "ergebnis/json-normalizer", - "version": "4.3.0", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-normalizer.git", - "reference": "716fa0a5dcc75fbcb2c1c2e0542b2f56732460bd" + "reference": "e38f8b27f908686b200e3bd68e1b7bdfb5d53061" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/716fa0a5dcc75fbcb2c1c2e0542b2f56732460bd", - "reference": "716fa0a5dcc75fbcb2c1c2e0542b2f56732460bd", + "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/e38f8b27f908686b200e3bd68e1b7bdfb5d53061", + "reference": "e38f8b27f908686b200e3bd68e1b7bdfb5d53061", "shasum": "" }, "require": { - "ergebnis/json": "^1.1.0", + "ergebnis/json": "^1.0.1", "ergebnis/json-pointer": "^3.2.0", - "ergebnis/json-printer": "^3.4.0", - "ergebnis/json-schema-validator": "^4.1.0", + "ergebnis/json-printer": "^3.3.0", + "ergebnis/json-schema-validator": "^4.0.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "require-dev": { - "composer/semver": "^3.4.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "composer/semver": "^3.2.1", + "ergebnis/data-provider": "^1.3.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.5.2", + "fakerphp/faker": "^1.21.0", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.7", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "symfony/filesystem": "^6.3.1", - "symfony/finder": "^6.3.5", - "vimeo/psalm": "^5.15.0" + "rector/rector": "~0.15.25", + "symfony/filesystem": "^6.0.19", + "symfony/finder": "^6.0.19", + "vimeo/psalm": "^5.9.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" @@ -899,8 +959,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", @@ -911,40 +970,37 @@ ], "support": { "issues": "https://github.com/ergebnis/json-normalizer/issues", - "security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-normalizer" }, - "time": "2023-10-10T15:15:03+00:00" + "time": "2023-05-02T11:08:03+00:00" }, { "name": "ergebnis/json-pointer", - "version": "3.3.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-pointer.git", - "reference": "8e517faefc06b7c761eaa041febef51a9375819a" + "reference": "861516ff5afa1aa8905fdf3361315909523a1bf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/8e517faefc06b7c761eaa041febef51a9375819a", - "reference": "8e517faefc06b7c761eaa041febef51a9375819a", + "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/861516ff5afa1aa8905fdf3361315909523a1bf8", + "reference": "861516ff5afa1aa8905fdf3361315909523a1bf8", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.29.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.16", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30" }, "type": "library", "extra": { @@ -965,8 +1021,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides JSON pointer as a value object.", @@ -978,40 +1033,37 @@ ], "support": { "issues": "https://github.com/ergebnis/json-pointer/issues", - "security": "https://github.com/ergebnis/json-pointer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-pointer" }, - "time": "2023-10-10T14:41:06+00:00" + "time": "2022-11-28T17:03:31+00:00" }, { "name": "ergebnis/json-printer", - "version": "3.4.0", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-printer.git", - "reference": "05841593d72499de4f7ce4034a237c77e470558f" + "reference": "18920367473b099633f644f0ca6dc8794345148f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/05841593d72499de4f7ce4034a237c77e470558f", - "reference": "05841593d72499de4f7ce4034a237c77e470558f", + "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/18920367473b099633f644f0ca6dc8794345148f", + "reference": "18920367473b099633f644f0ca6dc8794345148f", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.3", - "phpunit/phpunit": "^10.4.1", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "ergebnis/license": "^2.0.0", + "ergebnis/php-cs-fixer-config": "^4.11.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30.0" }, "type": "library", "autoload": { @@ -1026,8 +1078,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a JSON printer, allowing for flexible indentation.", @@ -1039,44 +1090,41 @@ ], "support": { "issues": "https://github.com/ergebnis/json-printer/issues", - "security": "https://github.com/ergebnis/json-printer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-printer" }, - "time": "2023-10-10T07:42:48+00:00" + "time": "2022-11-28T10:27:43+00:00" }, { "name": "ergebnis/json-schema-validator", - "version": "4.1.0", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-schema-validator.git", - "reference": "d568ed85d1cdc2e49d650c2fc234dc2516f3f25b" + "reference": "a6166272ac5691a9bc791f185841e5f92a6d4723" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/d568ed85d1cdc2e49d650c2fc234dc2516f3f25b", - "reference": "d568ed85d1cdc2e49d650c2fc234dc2516f3f25b", + "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/a6166272ac5691a9bc791f185841e5f92a6d4723", + "reference": "a6166272ac5691a9bc791f185841e5f92a6d4723", "shasum": "" }, "require": { - "ergebnis/json": "^1.0.1", + "ergebnis/json": "^1.0.0", "ergebnis/json-pointer": "^3.2.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.21.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "~5.0.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.16", + "phpunit/phpunit": "~9.5.27", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.1.0" }, "type": "library", "extra": { @@ -1097,8 +1145,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a JSON schema validator, building on top of justinrainbow/json-schema.", @@ -1110,10 +1157,9 @@ ], "support": { "issues": "https://github.com/ergebnis/json-schema-validator/issues", - "security": "https://github.com/ergebnis/json-schema-validator/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-schema-validator" }, - "time": "2023-10-10T14:16:57+00:00" + "time": "2022-12-10T14:50:15+00:00" }, { "name": "ergebnis/php-cs-fixer-config", @@ -1182,76 +1228,6 @@ }, "time": "2023-11-30T09:24:19+00:00" }, - { - "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.4.0", - "source": { - "type": "git", - "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "119bfba6885111db1ac02e14bc45c904a627c86e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/119bfba6885111db1ac02e14bc45c904a627c86e", - "reference": "119bfba6885111db1ac02e14bc45c904a627c86e", - "shasum": "" - }, - "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^9.6.0 || ^10.4.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.11.0", - "fakerphp/faker": "^1.23.0", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.6", - "vimeo/psalm": "^5.15.0" - }, - "suggest": { - "phpunit/phpunit": "^10.0.1" - }, - "type": "library", - "extra": { - "composer-normalize": { - "indent-size": 2, - "indent-style": "space" - } - }, - "autoload": { - "psr-4": { - "Ergebnis\\PHPUnit\\SlowTestDetector\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" - } - ], - "description": "Provides facilities for detecting slow tests in phpunit/phpunit.", - "homepage": "https://github.com/ergebnis/phpunit-slow-test-detector", - "keywords": [ - "detector", - "extension", - "phpunit", - "slow", - "test" - ], - "support": { - "issues": "https://github.com/ergebnis/phpunit-slow-test-detector/issues", - "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", - "source": "https://github.com/ergebnis/phpunit-slow-test-detector" - }, - "time": "2023-11-07T15:41:23+00:00" - }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", "version": "1.2.1", @@ -1485,16 +1461,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.5.1", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", "shasum": "" }, "require": { @@ -1534,7 +1510,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" }, "funding": [ { @@ -1542,7 +1518,7 @@ "type": "github" } ], - "time": "2022-12-24T12:35:10+00:00" + "time": "2022-12-16T22:01:02+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -1816,16 +1792,16 @@ }, { "name": "infection/infection", - "version": "0.27.8", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "673ce762abf3355fcdc186ca17eb89edf86993bf" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/673ce762abf3355fcdc186ca17eb89edf86993bf", - "reference": "673ce762abf3355fcdc186ca17eb89edf86993bf", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", "shasum": "" }, "require": { @@ -1836,46 +1812,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": [ @@ -1932,7 +1904,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.8" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -1944,7 +1916,7 @@ "type": "open_collective" } ], - "time": "2023-11-08T14:29:03+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "justinrainbow/json-schema", @@ -2694,16 +2666,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.45", + "version": "1.10.46", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73" + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2f024fbb47432e2e62ad8a8032387aa2dd631c73", - "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", "shasum": "" }, "require": { @@ -2752,20 +2724,20 @@ "type": "tidelift" } ], - "time": "2023-11-27T14:15:06+00:00" + "time": "2023-11-28T14:57:26+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.7", + "version": "9.2.29", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "355324ca4980b8916c18b9db29f3ef484078f26e" + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e", - "reference": "355324ca4980b8916c18b9db29f3ef484078f26e", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", "shasum": "" }, "require": { @@ -2773,18 +2745,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.15", - "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", @@ -2793,7 +2765,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -2822,7 +2794,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.7" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" }, "funding": [ { @@ -2830,32 +2802,32 @@ "type": "github" } ], - "time": "2023-10-04T15:34:17+00:00" + "time": "2023-09-19T04:57:46+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": { @@ -2882,8 +2854,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": [ { @@ -2891,28 +2862,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": "*" @@ -2920,7 +2891,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -2946,7 +2917,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": [ { @@ -2954,32 +2925,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": { @@ -3005,8 +2976,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": [ { @@ -3014,32 +2984,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": { @@ -3065,7 +3035,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": [ { @@ -3073,23 +3043,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.4.2", + "version": "9.6.13", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", - "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -3099,26 +3070,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" @@ -3126,7 +3098,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.4-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -3158,7 +3130,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.4.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" }, "funding": [ { @@ -3174,7 +3146,7 @@ "type": "tidelift" } ], - "time": "2023-10-26T07:21:45+00:00" + "time": "2023-09-19T05:39:22+00:00" }, { "name": "psalm/plugin-phpunit", @@ -3447,16 +3419,16 @@ }, { "name": "sanmai/later", - "version": "0.1.3", + "version": "0.1.4", "source": { "type": "git", "url": "https://github.com/sanmai/later.git", - "reference": "88a1d39965aa3659ceb96622e2801b9194d16e2c" + "reference": "e24c4304a4b1349c2a83151a692cec0c10579f60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/later/zipball/88a1d39965aa3659ceb96622e2801b9194d16e2c", - "reference": "88a1d39965aa3659ceb96622e2801b9194d16e2c", + "url": "https://api.github.com/repos/sanmai/later/zipball/e24c4304a4b1349c2a83151a692cec0c10579f60", + "reference": "e24c4304a4b1349c2a83151a692cec0c10579f60", "shasum": "" }, "require": { @@ -3499,7 +3471,7 @@ "description": "Later: deferred wrapper object", "support": { "issues": "https://github.com/sanmai/later/issues", - "source": "https://github.com/sanmai/later/tree/0.1.3" + "source": "https://github.com/sanmai/later/tree/0.1.4" }, "funding": [ { @@ -3507,7 +3479,7 @@ "type": "github" } ], - "time": "2023-10-23T13:38:10+00:00" + "time": "2023-10-24T00:25:28+00:00" }, { "name": "sanmai/pipeline", @@ -3576,28 +3548,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": { @@ -3620,7 +3592,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": [ { @@ -3628,32 +3600,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": { @@ -3676,7 +3648,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": [ { @@ -3684,32 +3656,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": { @@ -3731,7 +3703,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": [ { @@ -3739,36 +3711,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": { @@ -3807,8 +3777,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": [ { @@ -3816,33 +3785,33 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", - "version": "3.1.0", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68cfb347a44871f01e33ab0ef8215966432f6957" + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68cfb347a44871f01e33ab0ef8215966432f6957", - "reference": "68cfb347a44871f01e33ab0ef8215966432f6957", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", - "php": ">=8.1" + "nikic/php-parser": "^4.7", + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -3865,8 +3834,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.1.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" }, "funding": [ { @@ -3874,33 +3842,33 @@ "type": "github" } ], - "time": "2023-09-28T11:50:59+00:00" + "time": "2020-10-26T15:52:27+00:00" }, { "name": "sebastian/diff", - "version": "5.0.3", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "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.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3932,8 +3900,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.0.3" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -3941,27 +3908,27 @@ "type": "github" } ], - "time": "2023-05-01T07:48:21+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": "*" @@ -3969,7 +3936,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -3988,7 +3955,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", @@ -3996,8 +3963,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": [ { @@ -4005,34 +3971,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": { @@ -4074,8 +4040,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": [ { @@ -4083,35 +4048,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": { @@ -4136,8 +4104,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": [ { @@ -4145,33 +4112,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.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d" + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/649e40d279e243d985aa8fb6e74dd5bb28dc185d", - "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", - "php": ">=8.1" + "nikic/php-parser": "^4.6", + "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": { @@ -4194,8 +4161,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.1" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" }, "funding": [ { @@ -4203,34 +4169,34 @@ "type": "github" } ], - "time": "2023-08-31T09:25:50+00:00" + "time": "2020-11-28T06:42:11+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": { @@ -4252,7 +4218,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": [ { @@ -4260,32 +4226,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": { @@ -4307,7 +4273,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": [ { @@ -4315,32 +4281,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": { @@ -4370,7 +4336,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -4378,32 +4344,87 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "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": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "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": { @@ -4426,7 +4447,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": [ { @@ -4434,29 +4455,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": { @@ -4479,7 +4500,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": [ { @@ -4487,7 +4508,7 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "spatie/array-to-xml", @@ -4554,24 +4575,23 @@ }, { "name": "symfony/console", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cd9864b47c367450e14ab32f78fdbf98c44c26b6", - "reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6", + "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", @@ -4585,16 +4605,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": { @@ -4623,12 +4645,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.0" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -4644,29 +4666,29 @@ "type": "tidelift" } ], - "time": "2023-11-20T16:41:16+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", @@ -4695,7 +4717,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": [ { @@ -4711,29 +4733,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.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "d76d2632cfc2206eecb5ad2b26cd5934082941b6" + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d76d2632cfc2206eecb5ad2b26cd5934082941b6", - "reference": "d76d2632cfc2206eecb5ad2b26cd5934082941b6", + "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", @@ -4741,13 +4762,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": { @@ -4775,7 +4800,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.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" }, "funding": [ { @@ -4791,30 +4816,33 @@ "type": "tidelift" } ], - "time": "2023-07-27T06:52:43+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", @@ -4851,7 +4879,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": [ { @@ -4867,24 +4895,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" }, @@ -4914,7 +4942,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": [ { @@ -4930,27 +4958,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": { @@ -4978,7 +5003,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": [ { @@ -4994,25 +5019,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": { @@ -5045,7 +5070,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": [ { @@ -5061,7 +5086,7 @@ "type": "tidelift" } ], - "time": "2023-08-08T10:16:24+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5557,20 +5582,20 @@ }, { "name": "symfony/process", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/191703b1566d97a5425dc969e4350d32b8ef17aa", - "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -5598,7 +5623,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.0" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -5614,33 +5639,36 @@ "type": "tidelift" } ], - "time": "2023-11-17T21:06:49+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=8.1", + "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", @@ -5650,10 +5678,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5680,7 +5705,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -5696,25 +5721,25 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+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": { @@ -5742,7 +5767,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": [ { @@ -5758,38 +5783,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.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/b45fcf399ea9c3af543a92edf7172ba21174d809", - "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809", + "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": { @@ -5828,7 +5852,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.0" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -5844,7 +5868,7 @@ "type": "tidelift" } ], - "time": "2023-11-28T20:41:49+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "thecodingmachine/safe", @@ -5987,16 +6011,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -6025,7 +6049,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -6033,7 +6057,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" }, { "name": "vimeo/psalm", @@ -6210,7 +6234,7 @@ "prefer-stable": false, "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-filter": "*" }, "platform-dev": [], diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 6aec49e1..c58d6043 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -29,20 +29,10 @@ timezone()]]> - - - provideMultilineValue - provideUntrimmedValue - provideValidValue - - ]]> - - provideTimeZone - @@ -51,9 +41,6 @@ $replacements - - provideReplacementsWithInvalidValues - @@ -76,17 +63,4 @@ timezone()]]> - - - provideInvalidValue - provideUntrimmedValue - provideValidValue - - - - - provideInvalidValue - provideValidValue - - diff --git a/rector.php b/rector.php index 1bd940e4..566133ac 100644 --- a/rector.php +++ b/rector.php @@ -26,13 +26,13 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_81); + $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_80); $rectorConfig->rules([ Php81\Rector\Property\ReadOnlyPropertyRector::class, ]); $rectorConfig->sets([ - PHPUnit\Set\PHPUnitSetList::PHPUNIT_100, + PHPUnit\Set\PHPUnitSetList::PHPUNIT_90, ]); }; diff --git a/src/File.php b/src/File.php index d01918f5..003c2166 100644 --- a/src/File.php +++ b/src/File.php @@ -16,10 +16,10 @@ final class File { private function __construct( - private readonly string $name, - private readonly Template $template, - private readonly Period $period, - private readonly Holder $holder, + private string $name, + private Template $template, + private Period $period, + private Holder $holder, ) { } diff --git a/src/Header.php b/src/Header.php index d541850a..d1de0f64 100644 --- a/src/Header.php +++ b/src/Header.php @@ -16,11 +16,11 @@ final class Header { private function __construct( - private readonly Template $template, - private readonly Period $period, - private readonly Holder $holder, - private readonly ?File $file, - private readonly Url $url, + private Template $template, + private Period $period, + private Holder $holder, + private ?File $file, + private Url $url, ) { } diff --git a/src/Holder.php b/src/Holder.php index dd1d0f34..a3ece9ea 100644 --- a/src/Holder.php +++ b/src/Holder.php @@ -17,7 +17,7 @@ final class Holder { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Range.php b/src/Range.php index af04f39e..562ca8dc 100644 --- a/src/Range.php +++ b/src/Range.php @@ -15,7 +15,7 @@ final class Range implements Period { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Template.php b/src/Template.php index 003aba6f..ee69581d 100644 --- a/src/Template.php +++ b/src/Template.php @@ -15,7 +15,7 @@ final class Template { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Type/BSD3Clause.php b/src/Type/BSD3Clause.php index 991458e1..ad835658 100644 --- a/src/Type/BSD3Clause.php +++ b/src/Type/BSD3Clause.php @@ -22,8 +22,8 @@ final class BSD3Clause { - private readonly File $file; - private readonly Header $header; + private File $file; + private Header $header; private function __construct( string $name, diff --git a/src/Type/MIT.php b/src/Type/MIT.php index 038ab6f7..825361d0 100644 --- a/src/Type/MIT.php +++ b/src/Type/MIT.php @@ -22,8 +22,8 @@ final class MIT { - private readonly File $file; - private readonly Header $header; + private File $file; + private Header $header; private function __construct( string $name, diff --git a/src/Type/None.php b/src/Type/None.php index 32d5b0a3..77f42cd0 100644 --- a/src/Type/None.php +++ b/src/Type/None.php @@ -21,7 +21,7 @@ final class None { - private readonly Header $header; + private Header $header; private function __construct( Template $headerTemplate, diff --git a/src/Url.php b/src/Url.php index b77e339d..23121486 100644 --- a/src/Url.php +++ b/src/Url.php @@ -15,7 +15,7 @@ final class Url { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Year.php b/src/Year.php index 90528160..cd03afe8 100644 --- a/src/Year.php +++ b/src/Year.php @@ -15,7 +15,7 @@ final class Year implements Period { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/test/Unit/Exception/InvalidFileTest.php b/test/Unit/Exception/InvalidFileTest.php index ab4826bf..d816c262 100644 --- a/test/Unit/Exception/InvalidFileTest.php +++ b/test/Unit/Exception/InvalidFileTest.php @@ -15,11 +15,13 @@ use Ergebnis\License\Exception; use Ergebnis\License\Test; -use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidFile::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidFile + * + * @uses \Ergebnis\License\Year + */ final class InvalidFileTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidHolderTest.php b/test/Unit/Exception/InvalidHolderTest.php index dc31113c..f4e161d8 100644 --- a/test/Unit/Exception/InvalidHolderTest.php +++ b/test/Unit/Exception/InvalidHolderTest.php @@ -16,7 +16,9 @@ use Ergebnis\License\Exception; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidHolder::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidHolder + */ final class InvalidHolderTest extends Framework\TestCase { public function testBlankOrEmptyReturnsInvalidHolder(): void diff --git a/test/Unit/Exception/InvalidRangeTest.php b/test/Unit/Exception/InvalidRangeTest.php index f7eb4957..b3a32485 100644 --- a/test/Unit/Exception/InvalidRangeTest.php +++ b/test/Unit/Exception/InvalidRangeTest.php @@ -17,8 +17,11 @@ use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidRange::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidRange + * + * @uses \Ergebnis\License\Year + */ final class InvalidRangeTest extends Framework\TestCase { public function testStartYearGreaterThanEndYearReturnsInvalidRange(): void diff --git a/test/Unit/Exception/InvalidReplacementsTest.php b/test/Unit/Exception/InvalidReplacementsTest.php index 745f4a97..087bcd22 100644 --- a/test/Unit/Exception/InvalidReplacementsTest.php +++ b/test/Unit/Exception/InvalidReplacementsTest.php @@ -14,11 +14,13 @@ namespace Ergebnis\License\Test\Unit\Exception; use Ergebnis\License\Exception; -use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidReplacements::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidReplacements + * + * @uses \Ergebnis\License\Year + */ final class InvalidReplacementsTest extends Framework\TestCase { public function testKeysReturnsInvalidReplacements(): void diff --git a/test/Unit/Exception/InvalidUrlTest.php b/test/Unit/Exception/InvalidUrlTest.php index 825f06ec..af896b8b 100644 --- a/test/Unit/Exception/InvalidUrlTest.php +++ b/test/Unit/Exception/InvalidUrlTest.php @@ -17,7 +17,9 @@ use Ergebnis\License\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidUrl::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidUrl + */ final class InvalidUrlTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidYearTest.php b/test/Unit/Exception/InvalidYearTest.php index df50c04d..3bee2494 100644 --- a/test/Unit/Exception/InvalidYearTest.php +++ b/test/Unit/Exception/InvalidYearTest.php @@ -17,7 +17,9 @@ use Ergebnis\License\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidYear::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidYear + */ final class InvalidYearTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/FileTest.php b/test/Unit/FileTest.php index 05947af1..35ac22bd 100644 --- a/test/Unit/FileTest.php +++ b/test/Unit/FileTest.php @@ -24,12 +24,15 @@ use PHPUnit\Framework; use Symfony\Component\Filesystem; -#[Framework\Attributes\CoversClass(File::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidFile::class)] -#[Framework\Attributes\UsesClass(Holder::class)] -#[Framework\Attributes\UsesClass(Range::class)] -#[Framework\Attributes\UsesClass(Template::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\File + * + * @uses \Ergebnis\License\Exception\InvalidFile + * @uses \Ergebnis\License\Holder + * @uses \Ergebnis\License\Range + * @uses \Ergebnis\License\Template + * @uses \Ergebnis\License\Year + */ final class FileTest extends Framework\TestCase { use Test\Util\Helper; @@ -48,8 +51,10 @@ protected function tearDown(): void $filesystem->remove(self::temporaryDirectory()); } - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'empty')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + * @dataProvider \Ergebnis\DataProvider\StringProvider::empty() + */ public function testCreateRejectsBlankOrEmptyName(string $name): void { $faker = self::faker(); diff --git a/test/Unit/HeaderTest.php b/test/Unit/HeaderTest.php index f73bb809..9942a923 100644 --- a/test/Unit/HeaderTest.php +++ b/test/Unit/HeaderTest.php @@ -23,13 +23,16 @@ use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Header::class)] -#[Framework\Attributes\UsesClass(File::class)] -#[Framework\Attributes\UsesClass(Holder::class)] -#[Framework\Attributes\UsesClass(Range::class)] -#[Framework\Attributes\UsesClass(Template::class)] -#[Framework\Attributes\UsesClass(Url::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Header + * + * @uses \Ergebnis\License\File + * @uses \Ergebnis\License\Holder + * @uses \Ergebnis\License\Range + * @uses \Ergebnis\License\Template + * @uses \Ergebnis\License\Url + * @uses \Ergebnis\License\Year + */ final class HeaderTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/HolderTest.php b/test/Unit/HolderTest.php index 4d75a952..0c1ebef5 100644 --- a/test/Unit/HolderTest.php +++ b/test/Unit/HolderTest.php @@ -19,14 +19,18 @@ use Ergebnis\License\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Holder::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidHolder::class)] +/** + * @covers \Ergebnis\License\Exception\InvalidHolder + * @covers \Ergebnis\License\Holder + */ final class HolderTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'empty')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + * @dataProvider \Ergebnis\DataProvider\StringProvider::empty + */ public function testFromStringRejectsBlankOrEmptyValue(string $value): void { $this->expectException(Exception\InvalidHolder::class); @@ -34,7 +38,9 @@ public function testFromStringRejectsBlankOrEmptyValue(string $value): void Holder::fromString($value); } - #[Framework\Attributes\DataProvider('provideMultilineValue')] + /** + * @dataProvider provideMultilineValue + */ public function testFromStringRejectsMultilineValue(string $value): void { $this->expectException(Exception\InvalidHolder::class); @@ -45,7 +51,7 @@ public function testFromStringRejectsMultilineValue(string $value): void /** * @return \Generator */ - public static function provideMultilineValue(): \Generator + public static function provideMultilineValue(): iterable { $newLineCharacters = [ "\n", @@ -75,7 +81,9 @@ public static function provideMultilineValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromStringReturnsHolder(string $value): void { $holder = Holder::fromString($value); @@ -86,7 +94,7 @@ public function testFromStringReturnsHolder(string $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { foreach (self::validValues() as $key => $value) { yield $key => [ @@ -95,7 +103,9 @@ public static function provideValidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideUntrimmedValue')] + /** + * @dataProvider provideUntrimmedValue + */ public function testFromStringReturnsHolderWithTrimmedValue(string $value): void { $holder = Holder::fromString($value); @@ -106,7 +116,7 @@ public function testFromStringReturnsHolderWithTrimmedValue(string $value): void /** * @return \Generator */ - public static function provideUntrimmedValue(): \Generator + public static function provideUntrimmedValue(): iterable { foreach (self::validValues() as $key => $value) { yield $key => [ diff --git a/test/Unit/RangeTest.php b/test/Unit/RangeTest.php index 6a4cf7c0..29fe97cb 100644 --- a/test/Unit/RangeTest.php +++ b/test/Unit/RangeTest.php @@ -18,10 +18,13 @@ use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Range::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidRange::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidYear::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Range + * + * @uses \Ergebnis\License\Exception\InvalidRange + * @uses \Ergebnis\License\Exception\InvalidYear + * @uses \Ergebnis\License\Year + */ final class RangeTest extends Framework\TestCase { public function testIncludingRequiresStartYearToBeEqualOrLessThanEndYear(): void @@ -71,7 +74,9 @@ public function testIncludingReturnsRangeWhenStartYearIsLessThanEndYear(): void self::assertSame($expected, $years->toString()); } - #[Framework\Attributes\DataProvider('provideTimeZone')] + /** + * @dataProvider provideTimeZone + */ public function testSinceRejectsStartYearWhenStartYearIsGreaterThanCurrentYear(\DateTimeZone $timeZone): void { $now = new \DateTimeImmutable( @@ -89,7 +94,9 @@ public function testSinceRejectsStartYearWhenStartYearIsGreaterThanCurrentYear(\ ); } - #[Framework\Attributes\DataProvider('provideTimeZone')] + /** + * @dataProvider provideTimeZone + */ public function testSinceReturnsYearWhenStartYearEqualsCurrentYear(\DateTimeZone $timeZone): void { $now = new \DateTimeImmutable( @@ -108,7 +115,9 @@ public function testSinceReturnsYearWhenStartYearEqualsCurrentYear(\DateTimeZone self::assertSame($start->toString(), $year->toString()); } - #[Framework\Attributes\DataProvider('provideTimeZone')] + /** + * @dataProvider provideTimeZone + */ public function testSinceReturnsRangeWhenStartYearIsLessThanCurrentYear(\DateTimeZone $timeZone): void { $twoYearsAgo = new \DateTimeImmutable( @@ -142,7 +151,7 @@ public function testSinceReturnsRangeWhenStartYearIsLessThanCurrentYear(\DateTim /** * @return \Generator */ - public static function provideTimeZone(): \Generator + public static function provideTimeZone(): iterable { $values = [ 'America/New_York', diff --git a/test/Unit/TemplateTest.php b/test/Unit/TemplateTest.php index 4373b540..02c12713 100644 --- a/test/Unit/TemplateTest.php +++ b/test/Unit/TemplateTest.php @@ -19,9 +19,12 @@ use Ergebnis\License\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Template::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidFile::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidReplacements::class)] +/** + * @covers \Ergebnis\License\Template + * + * @uses \Ergebnis\License\Exception\InvalidFile + * @uses \Ergebnis\License\Exception\InvalidReplacements + */ final class TemplateTest extends Framework\TestCase { use Test\Util\Helper; @@ -59,8 +62,10 @@ public function testFromStringReturnsTemplate(): void ])); } - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'empty')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + * @dataProvider \Ergebnis\DataProvider\StringProvider::empty() + */ public function testFromFileRejectsBlankOrEmptyFileName(string $name): void { $this->expectException(Exception\InvalidFile::class); @@ -121,7 +126,9 @@ public function testToStringRejectsReplacementsWithInvalidKeys(): void $template->toString($replacements); } - #[Framework\Attributes\DataProvider('provideReplacementsWithInvalidValues')] + /** + * @dataProvider provideReplacementsWithInvalidValues + */ public function testToStringRejectsReplacementsWithInvalidValues(array $replacements): void { $template = Template::fromString(''); @@ -134,7 +141,7 @@ public function testToStringRejectsReplacementsWithInvalidValues(array $replacem /** * @return \Generator}> */ - public static function provideReplacementsWithInvalidValues(): \Generator + public static function provideReplacementsWithInvalidValues(): iterable { $faker = self::faker(); diff --git a/test/Unit/Type/BSD3ClauseTest.php b/test/Unit/Type/BSD3ClauseTest.php index 62a52eba..6e0f6f1c 100644 --- a/test/Unit/Type/BSD3ClauseTest.php +++ b/test/Unit/Type/BSD3ClauseTest.php @@ -13,11 +13,8 @@ namespace Ergebnis\License\Test\Unit\Type; -use Ergebnis\License\File; -use Ergebnis\License\Header; use Ergebnis\License\Holder; use Ergebnis\License\Range; -use Ergebnis\License\Template; use Ergebnis\License\Test; use Ergebnis\License\Type; use Ergebnis\License\Url; @@ -25,14 +22,17 @@ use PHPUnit\Framework; use Symfony\Component\Filesystem; -#[Framework\Attributes\CoversClass(Type\BSD3Clause::class)] -#[Framework\Attributes\UsesClass(File::class)] -#[Framework\Attributes\UsesClass(Header::class)] -#[Framework\Attributes\UsesClass(Holder::class)] -#[Framework\Attributes\UsesClass(Range::class)] -#[Framework\Attributes\UsesClass(Template::class)] -#[Framework\Attributes\UsesClass(Url::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Type\BSD3Clause + * + * @uses \Ergebnis\License\File + * @uses \Ergebnis\License\Header + * @uses \Ergebnis\License\Holder + * @uses \Ergebnis\License\Range + * @uses \Ergebnis\License\Template + * @uses \Ergebnis\License\Url + * @uses \Ergebnis\License\Year + */ final class BSD3ClauseTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Type/MITTest.php b/test/Unit/Type/MITTest.php index 7188ff9a..a18645f4 100644 --- a/test/Unit/Type/MITTest.php +++ b/test/Unit/Type/MITTest.php @@ -13,11 +13,8 @@ namespace Ergebnis\License\Test\Unit\Type; -use Ergebnis\License\File; -use Ergebnis\License\Header; use Ergebnis\License\Holder; use Ergebnis\License\Range; -use Ergebnis\License\Template; use Ergebnis\License\Test; use Ergebnis\License\Type; use Ergebnis\License\Url; @@ -25,14 +22,17 @@ use PHPUnit\Framework; use Symfony\Component\Filesystem; -#[Framework\Attributes\CoversClass(Type\MIT::class)] -#[Framework\Attributes\UsesClass(File::class)] -#[Framework\Attributes\UsesClass(Header::class)] -#[Framework\Attributes\UsesClass(Holder::class)] -#[Framework\Attributes\UsesClass(Range::class)] -#[Framework\Attributes\UsesClass(Template::class)] -#[Framework\Attributes\UsesClass(Url::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Type\MIT + * + * @uses \Ergebnis\License\File + * @uses \Ergebnis\License\Header + * @uses \Ergebnis\License\Holder + * @uses \Ergebnis\License\Range + * @uses \Ergebnis\License\Template + * @uses \Ergebnis\License\Url + * @uses \Ergebnis\License\Year + */ final class MITTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Type/NoneTest.php b/test/Unit/Type/NoneTest.php index 69b95add..ebd5f571 100644 --- a/test/Unit/Type/NoneTest.php +++ b/test/Unit/Type/NoneTest.php @@ -13,23 +13,25 @@ namespace Ergebnis\License\Test\Unit\Type; -use Ergebnis\License\Header; use Ergebnis\License\Holder; use Ergebnis\License\Range; -use Ergebnis\License\Template; use Ergebnis\License\Test; use Ergebnis\License\Type; use Ergebnis\License\Url; use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Type\None::class)] -#[Framework\Attributes\UsesClass(Header::class)] -#[Framework\Attributes\UsesClass(Holder::class)] -#[Framework\Attributes\UsesClass(Range::class)] -#[Framework\Attributes\UsesClass(Template::class)] -#[Framework\Attributes\UsesClass(Url::class)] -#[Framework\Attributes\UsesClass(Year::class)] +/** + * @covers \Ergebnis\License\Type\None + * + * @uses \Ergebnis\License\File + * @uses \Ergebnis\License\Header + * @uses \Ergebnis\License\Holder + * @uses \Ergebnis\License\Range + * @uses \Ergebnis\License\Template + * @uses \Ergebnis\License\Url + * @uses \Ergebnis\License\Year + */ final class NoneTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/UrlTest.php b/test/Unit/UrlTest.php index d66494d1..1661adc0 100644 --- a/test/Unit/UrlTest.php +++ b/test/Unit/UrlTest.php @@ -18,13 +18,18 @@ use Ergebnis\License\Url; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Url::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidUrl::class)] +/** + * @covers \Ergebnis\License\Url + * + * @uses \Ergebnis\License\Exception\InvalidUrl + */ final class UrlTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideInvalidValue')] + /** + * @dataProvider provideInvalidValue + */ public function testFromStringRejectsInvalidValue(string $value): void { $this->expectException(Exception\InvalidUrl::class); @@ -35,7 +40,7 @@ public function testFromStringRejectsInvalidValue(string $value): void /** * @return \Generator */ - public static function provideInvalidValue(): \Generator + public static function provideInvalidValue(): iterable { $values = [ 'string-arbitrary' => self::faker()->sentence(), @@ -50,7 +55,9 @@ public static function provideInvalidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromStringReturnsUrl(string $value): void { $url = Url::fromString($value); @@ -61,7 +68,7 @@ public function testFromStringReturnsUrl(string $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { foreach (self::validValues() as $key => $value) { yield $key => [ @@ -70,7 +77,9 @@ public static function provideValidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideUntrimmedValue')] + /** + * @dataProvider provideUntrimmedValue + */ public function testFromStringReturnsUrlWithTrimmedValue(string $value): void { $url = Url::fromString($value); @@ -81,7 +90,7 @@ public function testFromStringReturnsUrlWithTrimmedValue(string $value): void /** * @return \Generator */ - public static function provideUntrimmedValue(): \Generator + public static function provideUntrimmedValue(): iterable { foreach (self::validValues() as $key => $value) { yield $key => [ diff --git a/test/Unit/YearTest.php b/test/Unit/YearTest.php index e74b7e67..af382a9d 100644 --- a/test/Unit/YearTest.php +++ b/test/Unit/YearTest.php @@ -18,13 +18,18 @@ use Ergebnis\License\Year; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Year::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidYear::class)] +/** + * @covers \Ergebnis\License\Year + * + * @uses \Ergebnis\License\Exception\InvalidYear + */ final class YearTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideInvalidValue')] + /** + * @dataProvider provideInvalidValue + */ public function testFromStringRejectsInvalidValue(string $value): void { $this->expectException(Exception\InvalidYear::class); @@ -35,7 +40,7 @@ public function testFromStringRejectsInvalidValue(string $value): void /** * @return \Generator */ - public static function provideInvalidValue(): \Generator + public static function provideInvalidValue(): iterable { $faker = self::faker(); @@ -58,7 +63,9 @@ public static function provideInvalidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromStringReturnsYear(string $value): void { $year = Year::fromString($value); @@ -69,7 +76,7 @@ public function testFromStringReturnsYear(string $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { $values = [ 'string-end' => '0000', diff --git a/test/Unit/phpunit.xml b/test/Unit/phpunit.xml index f61186b8..8e6341e0 100644 --- a/test/Unit/phpunit.xml +++ b/test/Unit/phpunit.xml @@ -1,38 +1,32 @@ - - - - - - + ../../src/ - + .