From 3d257355496bbb99ee791530bfc5fe51f808ca7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 10 Mar 2024 13:24:25 +0100 Subject: [PATCH] Enhancement: Add support for PHP 8.0 --- .github/CONTRIBUTING.md | 12 - .github/settings.yml | 18 +- .github/workflows/integrate.yaml | 67 +- .github/workflows/renew.yaml | 2 +- .phive/phars.xml | 2 +- .php-cs-fixer.php | 2 +- CHANGELOG.md | 5 + Makefile | 4 - composer.json | 11 +- composer.lock | 2260 +++++------------ psalm-baseline.xml | 57 +- rector.php | 4 +- src/BuildMetaData.php | 2 +- src/Major.php | 2 +- src/Minor.php | 2 +- src/Patch.php | 2 +- src/PreRelease.php | 2 +- src/Version.php | 10 +- test/Unit/BuildMetaDataTest.php | 15 +- test/Unit/Exception/ExtensionMissingTest.php | 4 +- .../Exception/InvalidBuildMetaDataTest.php | 4 +- test/Unit/Exception/InvalidMajorTest.php | 4 +- test/Unit/Exception/InvalidMinorTest.php | 4 +- test/Unit/Exception/InvalidPatchTest.php | 4 +- test/Unit/Exception/InvalidPreReleaseTest.php | 4 +- test/Unit/Exception/InvalidVersionTest.php | 4 +- test/Unit/MajorTest.php | 71 +- test/Unit/MinorTest.php | 71 +- test/Unit/PatchTest.php | 71 +- test/Unit/PreReleaseTest.php | 51 +- test/Unit/VersionTest.php | 103 +- test/Unit/phpunit.xml | 29 +- 32 files changed, 943 insertions(+), 1960 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e87531d1..e76ef78b 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -10,18 +10,6 @@ For details, take a look at the following workflow configuration files: - [`workflows/renew.yaml`](workflows/renew.yaml) - [`workflows/triage.yaml`](workflows/triage.yaml) -## Backward-Compatibility Analysis - -We use [`roave/backward-compatibility-check`](https://github.com/Roave/BackwardCompatibilityCheck) to prevent breaking backwards-compatibility. - -Run - -```sh -make backward-compatibility-analysis -``` - -to run a backward-compatibility analysis. - ## Coding Standards We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. diff --git a/.github/settings.yml b/.github/settings.yml index 5cd654de..dccc44a4 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,14 +14,16 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Backward-Compatibility Analysis (8.1, locked)" - - context: "Code Coverage (8.1, locked)" - - context: "Coding Standards (8.1, locked)" - - context: "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 dbef4537..7e6ab6ae 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -9,58 +9,6 @@ on: # yamllint disable-line rule:truthy - "main" jobs: - backward-compatibility-analysis: - name: "Backward-Compatibility Analysis" - - runs-on: "ubuntu-latest" - - timeout-minutes: 5 - - strategy: - matrix: - php-version: - - "8.1" - - dependencies: - - "locked" - - steps: - - name: "Checkout" - uses: "actions/checkout@v4.1.1" - with: - fetch-depth: 0 - - - name: "Set up PHP" - uses: "shivammathur/setup-php@2.30.0" - with: - coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" - php-version: "${{ matrix.php-version }}" - - - name: "Set up problem matchers for PHP" - run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" - - - name: "Validate composer.json and composer.lock" - run: "composer validate --ansi --strict" - - - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - - - name: "Cache dependencies installed with composer" - uses: "actions/cache@v4.0.1" - with: - path: "${{ env.COMPOSER_CACHE_DIR }}" - key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" - restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - - - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.9.0" - with: - dependencies: "${{ matrix.dependencies }}" - - - name: "Run backward-compatibility analysis with roave/backward-compatibility-check" - run: "vendor/bin/roave-backward-compatibility-check --ansi --format=github-actions" - code-coverage: name: "Code Coverage" @@ -71,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -132,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -201,7 +149,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -257,7 +205,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -309,7 +257,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -368,7 +316,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -418,7 +366,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -469,6 +417,7 @@ jobs: fail-fast: false matrix: php-version: + - "8.0" - "8.1" - "8.2" - "8.3" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 66787bb0..5ba5740a 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..f71d3ada 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 89bbb7e0..21233ea4 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 935eb50f..7c9f7e1d 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 [`1.0.0...main`][1.0.0...main]. +### Added + +- Added support for PHP 8.0 ([#77]), by [@localheinz] + ## [`1.0.0`][1.0.0] For a full diff see [`64ced12...1.0.0`][64ced12...1.0.0]. @@ -32,5 +36,6 @@ For a full diff see [`64ced12...1.0.0`][64ced12...1.0.0]. [#5]: https://github.com/ergebnis/version/pull/5 [#8]: https://github.com/ergebnis/version/pull/8 [#9]: https://github.com/ergebnis/version/pull/9 +[#77]: https://github.com/ergebnis/version/pull/77 [@localheinz]: https://github.com/localheinz diff --git a/Makefile b/Makefile index d7ae653a..64ea7005 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,6 @@ .PHONY: it it: refactoring coding-standards security-analysis static-code-analysis tests ## Runs the refactoring, coding-standards, security-analysis, static-code-analysis, and tests targets -.PHONY: backward-compatibility-analysis -backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysis with roave/backward-compatibility-check - vendor/bin/roave-backward-compatibility-check - .PHONY: code-coverage code-coverage: vendor ## Collects coverage from running unit tests with phpunit/phpunit vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text diff --git a/composer.json b/composer.json index a96889bf..031e0c25 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "security": "https://github.com/ergebnis/version/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" }, "require-dev": { "ext-bcmath": "*", @@ -31,12 +31,11 @@ "ergebnis/php-cs-fixer-config": "^6.23.0", "ergebnis/phpunit-slow-test-detector": "^2.10.0", "fakerphp/faker": "^1.23.1", - "infection/infection": "~0.27.10", - "phpunit/phpunit": "^10.5.11", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.17", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "^1.0.2", - "roave/backward-compatibility-check": "^8.6.0", - "vimeo/psalm": "^5.22.2" + "vimeo/psalm": "^5.23.0" }, "suggest": { "ext-bcmath": "If you want to bump Major, Minor, or Patch versions greater than PHP_MAX_INT." @@ -61,7 +60,7 @@ "abandoned": "report" }, "platform": { - "php": "8.1.26" + "php": "8.0.30" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index ee57578a..4a9ba9a8 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": "64d52f9de58f60a12fe26e339ce9b7f2", + "content-hash": "46aaefe69036cd620b7340ac024e3352", "packages": [], "packages-dev": [ { @@ -173,147 +173,6 @@ ], "time": "2021-03-30T17:13:30+00:00" }, - { - "name": "azjezz/psl", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/azjezz/psl.git", - "reference": "4955aa9d30790a3618b7933762359abdb41fd313" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/azjezz/psl/zipball/4955aa9d30790a3618b7933762359abdb41fd313", - "reference": "4955aa9d30790a3618b7933762359abdb41fd313", - "shasum": "" - }, - "require": { - "ext-bcmath": "*", - "ext-intl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-sodium": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "revolt/event-loop": "^1.0.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.22.0", - "php-coveralls/php-coveralls": "^2.6.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpbench/phpbench": "^1.2.14", - "phpunit/phpunit": "^9.6.10", - "roave/infection-static-analysis-plugin": "^1.32.0", - "squizlabs/php_codesniffer": "^3.7.2", - "vimeo/psalm": "^5.13.1" - }, - "suggest": { - "php-standard-library/psalm-plugin": "Psalm integration" - }, - "type": "library", - "extra": { - "thanks": { - "name": "hhvm/hsl", - "url": "https://github.com/hhvm/hsl" - } - }, - "autoload": { - "files": [ - "src/bootstrap.php" - ], - "psr-4": { - "Psl\\": "src/Psl" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "azjezz", - "email": "azjezz@protonmail.com" - } - ], - "description": "PHP Standard Library", - "support": { - "issues": "https://github.com/azjezz/psl/issues", - "source": "https://github.com/azjezz/psl/tree/2.8.0" - }, - "funding": [ - { - "url": "https://github.com/azjezz", - "type": "github" - } - ], - "time": "2023-11-22T07:49:48+00:00" - }, - { - "name": "beberlei/assert", - "version": "v3.3.2", - "source": { - "type": "git", - "url": "https://github.com/beberlei/assert.git", - "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/beberlei/assert/zipball/cb70015c04be1baee6f5f5c953703347c0ac1655", - "reference": "cb70015c04be1baee6f5f5c953703347c0ac1655", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "php": "^7.0 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "*", - "phpstan/phpstan": "*", - "phpunit/phpunit": ">=6.0.0", - "yoast/phpunit-polyfills": "^0.1.0" - }, - "suggest": { - "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles" - }, - "type": "library", - "autoload": { - "files": [ - "lib/Assert/functions.php" - ], - "psr-4": { - "Assert\\": "lib/Assert" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de", - "role": "Lead Developer" - }, - { - "name": "Richard Quadling", - "email": "rquadling@gmail.com", - "role": "Collaborator" - } - ], - "description": "Thin assertion library for input validation in business models.", - "keywords": [ - "assert", - "assertion", - "validation" - ], - "support": { - "issues": "https://github.com/beberlei/assert/issues", - "source": "https://github.com/beberlei/assert/tree/v3.3.2" - }, - "time": "2021-12-16T21:41:27+00:00" - }, { "name": "colinodell/json5", "version": "v2.3.0", @@ -406,221 +265,41 @@ "time": "2022-12-27T16:44:40+00:00" }, { - "name": "composer/ca-bundle", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "b66d11b7479109ab547f9405b97205640b17d385" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b66d11b7479109ab547f9405b97205640b17d385", - "reference": "b66d11b7479109ab547f9405b97205640b17d385", - "shasum": "" - }, - "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "psr/log": "^1.0", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\CaBundle\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", - "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.4.0" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-12-18T12:05:55+00:00" - }, - { - "name": "composer/class-map-generator", - "version": "1.1.0", + "name": "composer/package-versions-deprecated", + "version": "1.11.99.5", "source": { "type": "git", - "url": "https://github.com/composer/class-map-generator.git", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", "shasum": "" }, "require": { - "composer/pcre": "^2.1 || ^3.1", - "php": "^7.2 || ^8.0", - "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" - }, - "require-dev": { - "phpstan/phpstan": "^1.6", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/filesystem": "^5.4 || ^6", - "symfony/phpunit-bridge": "^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\ClassMapGenerator\\": "src" - } + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "Utilities to scan PHP code and generate class maps.", - "keywords": [ - "classmap" - ], - "support": { - "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.1.0" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-06-30T13:58:57+00:00" - }, - { - "name": "composer/composer", - "version": "2.7.0", - "source": { - "type": "git", - "url": "https://github.com/composer/composer.git", - "reference": "96d107e2bfe61bb9eafe55a9d45bd7faed1dd461" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/96d107e2bfe61bb9eafe55a9d45bd7faed1dd461", - "reference": "96d107e2bfe61bb9eafe55a9d45bd7faed1dd461", - "shasum": "" - }, - "require": { - "composer/ca-bundle": "^1.0", - "composer/class-map-generator": "^1.0", - "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2.1 || ^3.1", - "composer/semver": "^3.2.5", - "composer/spdx-licenses": "^1.5.7", - "composer/xdebug-handler": "^2.0.2 || ^3.0.3", - "justinrainbow/json-schema": "^5.2.11", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8 || ^3", - "seld/jsonlint": "^1.4", - "seld/phar-utils": "^1.2", - "seld/signal-handler": "^2.0", - "symfony/console": "^5.4.11 || ^6.0.11 || ^7", - "symfony/filesystem": "^5.4 || ^6.0 || ^7", - "symfony/finder": "^5.4 || ^6.0 || ^7", - "symfony/polyfill-php73": "^1.24", - "symfony/polyfill-php80": "^1.24", - "symfony/polyfill-php81": "^1.24", - "symfony/process": "^5.4 || ^6.0 || ^7" + "replace": { + "ocramius/package-versions": "1.11.99" }, "require-dev": { - "phpstan/phpstan": "^1.9.3", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1", - "phpstan/phpstan-symfony": "^1.2.10", - "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1" - }, - "suggest": { - "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", - "ext-zip": "Enabling the zip extension allows you to unzip archives", - "ext-zlib": "Allow gzip compression of HTTP requests" + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" }, - "bin": [ - "bin/composer" - ], - "type": "library", + "type": "composer-plugin", "extra": { + "class": "PackageVersions\\Installer", "branch-alias": { - "dev-main": "2.7-dev" - }, - "phpstan": { - "includes": [ - "phpstan/rules.neon" - ] + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "Composer\\": "src/Composer/" + "PackageVersions\\": "src/PackageVersions" } }, "notification-url": "https://packagist.org/downloads/", @@ -629,97 +308,18 @@ ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "https://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", - "homepage": "https://getcomposer.org/", - "keywords": [ - "autoload", - "dependency", - "package" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/composer/issues", - "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.0" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2024-02-08T14:09:19+00:00" - }, - { - "name": "composer/metadata-minifier", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/composer/metadata-minifier.git", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "composer/composer": "^2", - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\MetadataMinifier\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ { "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "email": "j.boggiano@seld.be" } ], - "description": "Small utility library that handles metadata minification and expansion.", - "keywords": [ - "composer", - "compression" - ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { - "issues": "https://github.com/composer/metadata-minifier/issues", - "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" }, "funding": [ { @@ -735,20 +335,20 @@ "type": "tidelift" } ], - "time": "2021-04-07T13:37:33+00:00" + "time": "2022-01-17T14:14:24+00:00" }, { "name": "composer/pcre", - "version": "3.1.1", + "version": "3.1.2", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" + "reference": "4775f35b2d70865807c89d32c8e7385b86eb0ace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "url": "https://api.github.com/repos/composer/pcre/zipball/4775f35b2d70865807c89d32c8e7385b86eb0ace", + "reference": "4775f35b2d70865807c89d32c8e7385b86eb0ace", "shasum": "" }, "require": { @@ -790,7 +390,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.1" + "source": "https://github.com/composer/pcre/tree/3.1.2" }, "funding": [ { @@ -806,7 +406,7 @@ "type": "tidelift" } ], - "time": "2023-10-11T07:11:09+00:00" + "time": "2024-03-07T15:38:35+00:00" }, { "name": "composer/semver", @@ -889,86 +489,6 @@ ], "time": "2023-08-31T09:50:34+00:00" }, - { - "name": "composer/spdx-licenses", - "version": "1.5.8", - "source": { - "type": "git", - "url": "https://github.com/composer/spdx-licenses.git", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Spdx\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" - } - ], - "description": "SPDX licenses list and validation library.", - "keywords": [ - "license", - "spdx", - "validator" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.8" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-11-20T07:44:33+00:00" - }, { "name": "composer/xdebug-handler", "version": "3.0.3", @@ -1119,6 +639,76 @@ }, "time": "2024-01-30T19:34:25+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.42.0", @@ -2017,16 +1607,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.1.0", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", "shasum": "" }, "require": { @@ -2034,13 +1624,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", - "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -2066,7 +1656,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" }, "funding": [ { @@ -2074,7 +1664,7 @@ "type": "github" } ], - "time": "2024-02-07T09:43:46+00:00" + "time": "2022-12-16T22:01:02+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -2347,16 +1937,16 @@ }, { "name": "infection/infection", - "version": "0.27.10", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "873cd3335774a114bef9ca93388e623bf362d820" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/873cd3335774a114bef9ca93388e623bf362d820", - "reference": "873cd3335774a114bef9ca93388e623bf362d820", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", "shasum": "" }, "require": { @@ -2367,46 +1957,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 || ^6.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", + "sebastian/diff": "^3.0.2 || ^4.0 || ^5.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": [ @@ -2463,7 +2049,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.10" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -2475,55 +2061,7 @@ "type": "open_collective" } ], - "time": "2024-02-20T00:08:52+00:00" - }, - { - "name": "jetbrains/phpstorm-stubs", - "version": "v2023.3", - "source": { - "type": "git", - "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "shasum": "" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "@stable", - "nikic/php-parser": "@stable", - "php": "^8.0", - "phpdocumentor/reflection-docblock": "@stable", - "phpunit/phpunit": "^9.6" - }, - "type": "library", - "autoload": { - "files": [ - "PhpStormStubsMap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "PHP runtime & extensions header files for PhpStorm", - "homepage": "https://www.jetbrains.com/phpstorm", - "keywords": [ - "autocomplete", - "code", - "inference", - "inspection", - "jetbrains", - "phpstorm", - "stubs", - "type" - ], - "support": { - "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.3" - }, - "time": "2023-11-01T18:52:29+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "justinrainbow/json-schema", @@ -2839,156 +2377,33 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" - }, - "time": "2023-12-10T21:03:43+00:00" - }, - { - "name": "nikolaposa/version", - "version": "4.1.1", - "source": { - "type": "git", - "url": "https://github.com/nikolaposa/version.git", - "reference": "f6bdd64be914940529b843a67335d6386d980cec" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikolaposa/version/zipball/f6bdd64be914940529b843a67335d6386d980cec", - "reference": "f6bdd64be914940529b843a67335d6386d980cec", - "shasum": "" - }, - "require": { - "beberlei/assert": "^3.2", - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", - "phpstan/phpstan": "^0.12.10", - "phpstan/phpstan-beberlei-assert": "^0.12.2", - "phpstan/phpstan-phpunit": "^0.12.6", - "phpunit/phpunit": "^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Version\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nikola Poša", - "email": "posa.nikola@gmail.com", - "homepage": "https://www.nikolaposa.in.rs" - } - ], - "description": "Value Object that represents a SemVer-compliant version number.", - "homepage": "https://github.com/nikolaposa/version", - "keywords": [ - "semantic", - "semver", - "version", - "versioning" - ], - "support": { - "issues": "https://github.com/nikolaposa/version/issues", - "source": "https://github.com/nikolaposa/version/tree/4.1.1" - }, - "time": "2023-08-04T17:13:40+00:00" - }, - { - "name": "ocramius/package-versions", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/Ocramius/PackageVersions.git", - "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", - "reference": "7b5821f854cf1e6753c4ed7ceb3b11ae83bbad4e", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.2.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "replace": { - "composer/package-versions-deprecated": "*" - }, - "require-dev": { - "composer/composer": "^2.6.3", - "doctrine/coding-standard": "^12.0.0", - "ext-zip": "^1.15.0", - "phpunit/phpunit": "^9.6.12", - "roave/infection-static-analysis-plugin": "^1.33", - "vimeo/psalm": "^5.15.0" + "dev-master": "4.9-dev" + } }, - "type": "library", "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "PhpParser\\": "lib/PhpParser" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Nikita Popov" } ], - "description": "Provides efficient querying for installed package versions (no runtime IO)", + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], "support": { - "issues": "https://github.com/Ocramius/PackageVersions/issues", - "source": "https://github.com/Ocramius/PackageVersions/tree/2.8.0" + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" }, - "funding": [ - { - "url": "https://github.com/Ocramius", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ocramius/package-versions", - "type": "tidelift" - } - ], - "time": "2023-09-15T11:02:59+00:00" + "time": "2023-12-10T21:03:43+00:00" }, { "name": "ondram/ci-detector", @@ -3070,20 +2485,21 @@ }, { "name": "phar-io/manifest", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-phar": "*", "ext-xmlwriter": "*", "phar-io/version": "^3.0.1", @@ -3124,9 +2540,15 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, - "time": "2021-07-20T11:28:43+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -3396,16 +2818,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.59", + "version": "1.10.60", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e607609388d3a6d418a50a49f7940e8086798281" + "reference": "95dcea7d6c628a3f2f56d091d8a0219485a86bbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281", - "reference": "e607609388d3a6d418a50a49f7940e8086798281", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/95dcea7d6c628a3f2f56d091d8a0219485a86bbe", + "reference": "95dcea7d6c628a3f2f56d091d8a0219485a86bbe", "shasum": "" }, "require": { @@ -3454,20 +2876,20 @@ "type": "tidelift" } ], - "time": "2024-02-20T13:59:13+00:00" + "time": "2024-03-07T13:30:19+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.11", + "version": "9.2.31", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145" + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", "shasum": "" }, "require": { @@ -3475,18 +2897,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -3495,7 +2917,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -3524,7 +2946,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" }, "funding": [ { @@ -3532,32 +2954,32 @@ "type": "github" } ], - "time": "2023-12-21T15:38:30+00:00" + "time": "2024-03-02T06:37:42+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": { @@ -3584,8 +3006,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": [ { @@ -3593,28 +3014,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": "*" @@ -3622,7 +3043,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -3648,7 +3069,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": [ { @@ -3656,32 +3077,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": { @@ -3707,8 +3128,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": [ { @@ -3716,32 +3136,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": { @@ -3767,7 +3187,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": [ { @@ -3775,23 +3195,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.11", + "version": "9.6.17", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "0d968f6323deb3dbfeba5bfd4929b9415eb7a9a4" + "reference": "1a156980d78a6666721b7e8e8502fe210b587fcd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0d968f6323deb3dbfeba5bfd4929b9415eb7a9a4", - "reference": "0d968f6323deb3dbfeba5bfd4929b9415eb7a9a4", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1a156980d78a6666721b7e8e8502fe210b587fcd", + "reference": "1a156980d78a6666721b7e8e8502fe210b587fcd", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -3801,26 +3222,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" @@ -3828,7 +3250,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -3860,7 +3282,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.11" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.17" }, "funding": [ { @@ -3876,7 +3298,7 @@ "type": "tidelift" } ], - "time": "2024-02-25T14:05:00+00:00" + "time": "2024-02-23T13:14:51+00:00" }, { "name": "psalm/plugin-phpunit", @@ -4091,79 +3513,6 @@ }, "time": "2021-07-14T16:46:02+00:00" }, - { - "name": "react/promise", - "version": "v3.1.0", - "source": { - "type": "git", - "url": "https://github.com/reactphp/promise.git", - "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", - "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", - "shasum": "" - }, - "require": { - "php": ">=7.1.0" - }, - "require-dev": { - "phpstan/phpstan": "1.10.39 || 1.4.10", - "phpunit/phpunit": "^9.6 || ^7.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "React\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jan Sorgalla", - "email": "jsorgalla@gmail.com", - "homepage": "https://sorgalla.com/" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering", - "homepage": "https://clue.engineering/" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "reactphp@ceesjankiewiet.nl", - "homepage": "https://wyrihaximus.net/" - }, - { - "name": "Chris Boden", - "email": "cboden@gmail.com", - "homepage": "https://cboden.dev/" - } - ], - "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "keywords": [ - "promise", - "promises" - ], - "support": { - "issues": "https://github.com/reactphp/promise/issues", - "source": "https://github.com/reactphp/promise/tree/v3.1.0" - }, - "funding": [ - { - "url": "https://opencollective.com/reactphp", - "type": "open_collective" - } - ], - "time": "2023-11-16T16:21:57+00:00" - }, { "name": "rector/rector", "version": "1.0.2", @@ -4186,293 +3535,39 @@ "rector/rector-doctrine": "*", "rector/rector-downgrade-php": "*", "rector/rector-phpunit": "*", - "rector/rector-symfony": "*" - }, - "bin": [ - "bin/rector" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Instant Upgrade and Automated Refactoring of any PHP code", - "keywords": [ - "automation", - "dev", - "migration", - "refactoring" - ], - "support": { - "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/1.0.2" - }, - "funding": [ - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2024-03-03T12:32:31+00:00" - }, - { - "name": "revolt/event-loop", - "version": "v1.0.6", - "source": { - "type": "git", - "url": "https://github.com/revoltphp/event-loop.git", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "require-dev": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^9", - "psalm/phar": "^5.15" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Revolt\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "ceesjank@gmail.com" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "Rock-solid event loop for concurrent PHP applications.", - "keywords": [ - "async", - "asynchronous", - "concurrency", - "event", - "event-loop", - "non-blocking", - "scheduler" - ], - "support": { - "issues": "https://github.com/revoltphp/event-loop/issues", - "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" - }, - "time": "2023-11-30T05:34:44+00:00" - }, - { - "name": "roave/backward-compatibility-check", - "version": "8.6.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/5e533114a996f73a7551846c06c59a80185f4d16", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16", - "shasum": "" - }, - "require": { - "azjezz/psl": "^2.3.1", - "composer/composer": "^2.6.4", - "nikic/php-parser": "^4.15.3", - "nikolaposa/version": "^4.1.0", - "ocramius/package-versions": "^2.7.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/better-reflection": "^6.5.0", - "symfony/console": "^6.2.3" - }, - "conflict": { - "revolt/event-loop": "<0.2.5", - "symfony/process": "<5.3.7" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpunit/phpunit": "^9.5.27", - "psalm/plugin-phpunit": "^0.18.4", - "roave/infection-static-analysis-plugin": "^1.27.0", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.7.1", - "vimeo/psalm": "^5.4.0" - }, - "bin": [ - "bin/roave-backward-compatibility-check" - ], - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BackwardCompatibility\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "Tool to compare two revisions of a public API to check for BC breaks", - "support": { - "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", - "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.6.0" - }, - "time": "2023-12-20T14:01:33+00:00" - }, - { - "name": "roave/better-reflection", - "version": "6.20.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BetterReflection.git", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "shasum": "" - }, - "require": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "2023.3", - "nikic/php-parser": "^4.18.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/signature": "^1.8.0" - }, - "conflict": { - "thecodingmachine/safe": "<1.1.3" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "phpstan/phpstan": "^1.10.50", - "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^10.5.3", - "roave/infection-static-analysis-plugin": "^1.34.0", - "vimeo/psalm": "5.17.0" - }, - "suggest": { - "composer/composer": "Required to use the ComposerSourceLocator" - }, - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BetterReflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com", - "homepage": "https://github.com/asgrim" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - }, - { - "name": "Gary Hockin", - "email": "gary@roave.com", - "homepage": "https://github.com/geeh" - }, - { - "name": "Jaroslav Hanslík", - "email": "kukulich@kukulich.cz", - "homepage": "https://github.com/kukulich" - } - ], - "description": "Better Reflection - an improved code reflection API", - "support": { - "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.20.0" - }, - "time": "2023-12-16T12:01:31+00:00" - }, - { - "name": "roave/signature", - "version": "1.8.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/Signature.git", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/Signature/zipball/f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "shasum": "" - }, - "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "infection/infection": "^0.26.19", - "phpunit/phpunit": "^9.6.7", - "vimeo/psalm": "^5.9.0" + "rector/rector-symfony": "*" }, + "bin": [ + "bin/rector" + ], "type": "library", "autoload": { - "psr-4": { - "Roave\\Signature\\": "src" - } + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Sign and verify stuff", + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], "support": { - "issues": "https://github.com/Roave/Signature/issues", - "source": "https://github.com/Roave/Signature/tree/1.8.0" + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/1.0.2" }, - "time": "2023-11-25T00:11:29+00:00" + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2024-03-03T12:32:31+00:00" }, { "name": "sanmai/later", @@ -4605,28 +3700,28 @@ }, { "name": "sebastian/cli-parser", - "version": "2.0.0", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "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/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "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": { @@ -4649,7 +3744,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.2" }, "funding": [ { @@ -4657,32 +3752,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:15+00:00" + "time": "2024-03-02T06:27:43+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": { @@ -4705,7 +3800,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": [ { @@ -4713,32 +3808,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": { @@ -4760,7 +3855,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": [ { @@ -4768,36 +3863,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": { @@ -4836,8 +3929,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": [ { @@ -4845,33 +3937,33 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", - "version": "3.2.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68ff824baeae169ec9f2137158ee529584553799" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", - "reference": "68ff824baeae169ec9f2137158ee529584553799", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.2-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -4894,8 +3986,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -4903,33 +3994,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "5.1.0", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^9.3", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4961,8 +4052,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -4970,27 +4060,27 @@ "type": "github" } ], - "time": "2023-12-22T10:55:06+00:00" + "time": "2024-03-02T06:30:58+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": "*" @@ -4998,7 +4088,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -5017,7 +4107,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", @@ -5025,8 +4115,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": [ { @@ -5034,34 +4123,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.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "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": { @@ -5103,8 +4192,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.6" }, "funding": [ { @@ -5112,35 +4200,38 @@ "type": "github" } ], - "time": "2023-09-24T13:22:09+00:00" + "time": "2024-03-02T06:33:00+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.1", + "version": "5.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "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/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "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": { @@ -5165,8 +4256,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.7" }, "funding": [ { @@ -5174,33 +4264,33 @@ "type": "github" } ], - "time": "2023-07-19T07:19:23+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -5223,8 +4313,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -5232,34 +4321,34 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5281,7 +4370,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": [ { @@ -5289,32 +4378,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": { @@ -5336,7 +4425,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": [ { @@ -5344,32 +4433,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": { @@ -5399,7 +4488,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": [ { @@ -5407,32 +4496,32 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { - "name": "sebastian/type", - "version": "4.0.0", + "name": "sebastian/resource-operations", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -5447,15 +4536,14 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", + "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/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" }, "funding": [ { @@ -5463,29 +4551,32 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { - "name": "sebastian/version", - "version": "4.0.1", + "name": "sebastian/type", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -5504,11 +4595,11 @@ "role": "lead" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -5516,180 +4607,60 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" - }, - { - "name": "seld/jsonlint", - "version": "1.10.2", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9bb7db07b5d66d90f6ebf542f09fc67d800e5259", - "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259", - "shasum": "" - }, - "require": { - "php": "^5.3 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" - }, - "bin": [ - "bin/jsonlint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Seld\\JsonLint\\": "src/Seld/JsonLint/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "JSON Linter", - "keywords": [ - "json", - "linter", - "parser", - "validator" - ], - "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.10.2" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" - } - ], - "time": "2024-02-07T12:57:50+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { - "name": "seld/phar-utils", - "version": "1.2.1", + "name": "sebastian/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=5.3" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-4": { - "Seld\\PharUtils\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "PHAR file format utilities, for when PHP phars you up", - "keywords": [ - "phar" - ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/Seldaek/phar-utils/issues", - "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" - }, - "time": "2022-08-31T10:31:18+00:00" - }, - { - "name": "seld/signal-handler", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/signal-handler.git", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "shasum": "" - }, - "require": { - "php": ">=7.2.0" - }, - "require-dev": { - "phpstan/phpstan": "^1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "^7.5.20 || ^8.5.23", - "psr/log": "^1 || ^2 || ^3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Seld\\Signal\\": "src/" - } + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "funding": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development", - "keywords": [ - "posix", - "sigint", - "signal", - "sigterm", - "unix" - ], - "support": { - "issues": "https://github.com/Seldaek/signal-handler/issues", - "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2" - }, - "time": "2023-09-03T09:24:00+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "spatie/array-to-xml", @@ -5756,24 +4727,23 @@ }, { "name": "symfony/console", - "version": "v6.4.3", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", - "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", + "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", @@ -5787,16 +4757,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": { @@ -5825,12 +4797,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.3" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -5846,29 +4818,29 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+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", @@ -5897,7 +4869,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": [ { @@ -5913,29 +4885,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.3", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "ae9d3a6f3003a6caf56acd7466d8d52378d44fef" + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ae9d3a6f3003a6caf56acd7466d8d52378d44fef", - "reference": "ae9d3a6f3003a6caf56acd7466d8d52378d44fef", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/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", @@ -5943,13 +4914,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": { @@ -5977,7 +4952,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" }, "funding": [ { @@ -5993,30 +4968,33 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+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", @@ -6053,7 +5031,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": [ { @@ -6069,24 +5047,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.3", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb", - "reference": "7f3b1755eb49297a0827a7575d5d2b2fd11cc9fb", + "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" }, @@ -6116,7 +5094,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.3" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -6132,27 +5110,24 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+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": { @@ -6180,7 +5155,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": [ { @@ -6196,25 +5171,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": { @@ -6247,7 +5222,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": [ { @@ -6263,7 +5238,7 @@ "type": "tidelift" } ], - "time": "2023-08-08T10:16:24+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6583,82 +5558,6 @@ ], "time": "2024-01-29T20:11:03+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "21bd091060673a1177ae842c0ef8fe30893114d2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/21bd091060673a1177ae842c0ef8fe30893114d2", - "reference": "21bd091060673a1177ae842c0ef8fe30893114d2", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.29.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-29T20:11:03+00:00" - }, { "name": "symfony/polyfill-php80", "version": "v1.29.0", @@ -6817,20 +5716,20 @@ }, { "name": "symfony/process", - "version": "v6.4.3", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "31642b0818bfcff85930344ef93193f8c607e0a3" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/31642b0818bfcff85930344ef93193f8c607e0a3", - "reference": "31642b0818bfcff85930344ef93193f8c607e0a3", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -6858,7 +5757,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.3" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -6874,33 +5773,36 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "php": ">=8.0.2", + "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" }, + "suggest": { + "symfony/service-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -6910,10 +5812,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6940,7 +5839,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -6956,25 +5855,25 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.4.3", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "416596166641f1f728b0a64f5b9dd07cceb410c1" + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/416596166641f1f728b0a64f5b9dd07cceb410c1", - "reference": "416596166641f1f728b0a64f5b9dd07cceb410c1", + "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": { @@ -7002,7 +5901,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.4.3" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" }, "funding": [ { @@ -7018,38 +5917,37 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:35:58+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/string", - "version": "v6.4.3", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "7a14736fb179876575464e4658fce0c304e8c15b" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/7a14736fb179876575464e4658fce0c304e8c15b", - "reference": "7a14736fb179876575464e4658fce0c304e8c15b", + "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": { @@ -7088,7 +5986,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.3" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -7104,7 +6002,7 @@ "type": "tidelift" } ], - "time": "2024-01-25T09:26:29+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "thecodingmachine/safe", @@ -7247,16 +6145,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -7285,7 +6183,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.2" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -7293,20 +6191,20 @@ "type": "github" } ], - "time": "2023-11-20T00:12:19+00:00" + "time": "2024-03-03T12:36:25+00:00" }, { "name": "vimeo/psalm", - "version": "5.22.2", + "version": "5.23.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "d768d914152dbbf3486c36398802f74e80cfde48" + "reference": "005e3184fb6de4350a873b9b8c4dc3cede9db762" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/d768d914152dbbf3486c36398802f74e80cfde48", - "reference": "d768d914152dbbf3486c36398802f74e80cfde48", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/005e3184fb6de4350a873b9b8c4dc3cede9db762", + "reference": "005e3184fb6de4350a873b9b8c4dc3cede9db762", "shasum": "" }, "require": { @@ -7403,7 +6301,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2024-02-22T23:39:07+00:00" + "time": "2024-03-09T19:39:11+00:00" }, { "name": "webmozart/assert", @@ -7470,13 +6368,13 @@ "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" }, "platform-dev": { "ext-bcmath": "*" }, "platform-overrides": { - "php": "8.1.26" + "php": "8.0.30" }, "plugin-api-version": "2.6.0" } diff --git a/psalm-baseline.xml b/psalm-baseline.xml index eed758ea..1ae25372 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + value]]> @@ -15,63 +15,28 @@ value]]> - - - invalid - valid - - - - - invalid - valid - valueAndBumpedValue - valuesWhereFirstValueIsGreaterThanSecondValue - valuesWhereFirstValueIsSmallerThanSecondValue - - - - - invalid - valid - valuesWhereFirstValueIsGreaterThanSecondValue - valuesWhereFirstValueIsSmallerThanSecondValue - - - $valuesWithBuildMetaData[$i] - $valuesWithBuildMetaData[$j] + + - public static function valuesWhereFirstValueIsEqualToSecondValue(): \Generator + ]]> ]]> - $otherValue - $value + + - $otherValue - $value + + - - invalid - valid - valueAndValueWithBumpedMajor - valueAndValueWithBumpedMinor - valueAndValueWithBumpedPatch - valuesWhereFirstValueIsEqualToSecondValue - valuesWhereFirstValueIsGreaterThanSecondValue - valuesWhereFirstValueIsSmallerThanSecondValue - - - - - provideValueMajorMinorPatchPreReleaseAndBuildMetaData - + + + diff --git a/rector.php b/rector.php index fe34dcd0..c0a5acf1 100644 --- a/rector.php +++ b/rector.php @@ -26,13 +26,13 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_81); + $rectorConfig->phpVersion(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/BuildMetaData.php b/src/BuildMetaData.php index 5f16a0a4..df1939ce 100644 --- a/src/BuildMetaData.php +++ b/src/BuildMetaData.php @@ -21,7 +21,7 @@ final class BuildMetaData */ private const REGEX = '/^(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)$/'; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Major.php b/src/Major.php index d67715d9..d84af2ff 100644 --- a/src/Major.php +++ b/src/Major.php @@ -21,7 +21,7 @@ final class Major */ private const REGEX = '/^(?P0|[1-9]\d*)$/'; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Minor.php b/src/Minor.php index 81254b84..40197248 100644 --- a/src/Minor.php +++ b/src/Minor.php @@ -21,7 +21,7 @@ final class Minor */ private const REGEX = '/^(?P0|[1-9]\d*)$/'; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Patch.php b/src/Patch.php index 73a4db09..3c7329fb 100644 --- a/src/Patch.php +++ b/src/Patch.php @@ -21,7 +21,7 @@ final class Patch */ private const REGEX = '/^(?P0|[1-9]\d*)$/'; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/PreRelease.php b/src/PreRelease.php index 45320c98..c3c2bbc7 100644 --- a/src/PreRelease.php +++ b/src/PreRelease.php @@ -21,7 +21,7 @@ final class PreRelease */ private const REGEX = '/^(?P(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)$/'; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Version.php b/src/Version.php index 5c001b69..cc82dcba 100644 --- a/src/Version.php +++ b/src/Version.php @@ -22,11 +22,11 @@ final class Version private const REGEX = '/^(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)(?:-(?P(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/'; private function __construct( - private readonly Major $major, - private readonly Minor $minor, - private readonly Patch $patch, - private readonly PreRelease $preRelease, - private readonly BuildMetaData $buildMetaData, + private Major $major, + private Minor $minor, + private Patch $patch, + private PreRelease $preRelease, + private BuildMetaData $buildMetaData, ) { } diff --git a/test/Unit/BuildMetaDataTest.php b/test/Unit/BuildMetaDataTest.php index bb8c2eb9..4feca4a2 100644 --- a/test/Unit/BuildMetaDataTest.php +++ b/test/Unit/BuildMetaDataTest.php @@ -18,13 +18,18 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(BuildMetaData::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidBuildMetaData::class)] +/** + * @covers \Ergebnis\Version\BuildMetaData + * + * @uses \Ergebnis\Version\Exception\InvalidBuildMetaData + */ final class BuildMetaDataTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\BuildMetaDataProvider::class, 'invalid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\BuildMetaDataProvider::invalid + */ public function testFromStringRejectsInvalidValue(string $value): void { $this->expectException(Exception\InvalidBuildMetaData::class); @@ -32,7 +37,9 @@ public function testFromStringRejectsInvalidValue(string $value): void BuildMetaData::fromString($value); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\BuildMetaDataProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\BuildMetaDataProvider::valid + */ public function testFromStringReturnsBuildMetaData(string $value): void { $buildMetaData = BuildMetaData::fromString($value); diff --git a/test/Unit/Exception/ExtensionMissingTest.php b/test/Unit/Exception/ExtensionMissingTest.php index 09d95889..b234faed 100644 --- a/test/Unit/Exception/ExtensionMissingTest.php +++ b/test/Unit/Exception/ExtensionMissingTest.php @@ -16,7 +16,9 @@ use Ergebnis\Version\Exception; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\ExtensionMissing::class)] +/** + * @covers \Ergebnis\Version\Exception\ExtensionMissing + */ final class ExtensionMissingTest extends Framework\TestCase { public function testBcmathReturnsException(): void diff --git a/test/Unit/Exception/InvalidBuildMetaDataTest.php b/test/Unit/Exception/InvalidBuildMetaDataTest.php index 96f865c0..91f0dc84 100644 --- a/test/Unit/Exception/InvalidBuildMetaDataTest.php +++ b/test/Unit/Exception/InvalidBuildMetaDataTest.php @@ -17,7 +17,9 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidBuildMetaData::class)] +/** + * @covers \Ergebnis\Version\Exception\InvalidBuildMetaData + */ final class InvalidBuildMetaDataTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidMajorTest.php b/test/Unit/Exception/InvalidMajorTest.php index f4bdfe83..9bc758da 100644 --- a/test/Unit/Exception/InvalidMajorTest.php +++ b/test/Unit/Exception/InvalidMajorTest.php @@ -17,7 +17,9 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidMajor::class)] +/** + * @covers \Ergebnis\Version\Exception\InvalidMajor + */ final class InvalidMajorTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidMinorTest.php b/test/Unit/Exception/InvalidMinorTest.php index 4bd80b57..9534f1cd 100644 --- a/test/Unit/Exception/InvalidMinorTest.php +++ b/test/Unit/Exception/InvalidMinorTest.php @@ -17,7 +17,9 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidMinor::class)] +/** + * @covers \Ergebnis\Version\Exception\InvalidMinor + */ final class InvalidMinorTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidPatchTest.php b/test/Unit/Exception/InvalidPatchTest.php index b5c07df9..46b542d8 100644 --- a/test/Unit/Exception/InvalidPatchTest.php +++ b/test/Unit/Exception/InvalidPatchTest.php @@ -17,7 +17,9 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidPatch::class)] +/** + * @covers \Ergebnis\Version\Exception\InvalidPatch + */ final class InvalidPatchTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidPreReleaseTest.php b/test/Unit/Exception/InvalidPreReleaseTest.php index 820907ad..584b3929 100644 --- a/test/Unit/Exception/InvalidPreReleaseTest.php +++ b/test/Unit/Exception/InvalidPreReleaseTest.php @@ -17,7 +17,9 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidPreRelease::class)] +/** + * @covers \Ergebnis\Version\Exception\InvalidPreRelease + */ final class InvalidPreReleaseTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidVersionTest.php b/test/Unit/Exception/InvalidVersionTest.php index ff44c2c9..73f82f85 100644 --- a/test/Unit/Exception/InvalidVersionTest.php +++ b/test/Unit/Exception/InvalidVersionTest.php @@ -17,7 +17,9 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidVersion::class)] +/** + * @covers \Ergebnis\Version\Exception\InvalidVersion + */ final class InvalidVersionTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/MajorTest.php b/test/Unit/MajorTest.php index c6f040b9..0da36f25 100644 --- a/test/Unit/MajorTest.php +++ b/test/Unit/MajorTest.php @@ -19,13 +19,18 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Major::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidMajor::class)] +/** + * @covers \Ergebnis\Version\Major + * + * @uses \Ergebnis\Version\Exception\InvalidMajor + */ final class MajorTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsInvalidIntValue(int $value): void { $this->expectException(Exception\InvalidMajor::class); @@ -33,8 +38,10 @@ public function testFromIntRejectsInvalidIntValue(int $value): void Major::fromInt($value); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testFromIntReturnsMajor(int $value): void { $major = Major::fromInt($value); @@ -42,7 +49,9 @@ public function testFromIntReturnsMajor(int $value): void self::assertSame((string) $value, $major->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'invalid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::invalid + */ public function testFromStringRejectsInvalidStringValue(string $value): void { $this->expectException(Exception\InvalidMajor::class); @@ -50,7 +59,9 @@ public function testFromStringRejectsInvalidStringValue(string $value): void Major::fromString($value); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valid + */ public function testFromStringReturnsMajor(string $value): void { $major = Major::fromString($value); @@ -58,7 +69,9 @@ public function testFromStringReturnsMajor(string $value): void self::assertSame($value, $major->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valueAndBumpedValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valueAndBumpedValue + */ public function testBumpReturnsMajorWithIncrementedValue( string $value, string $bumpedValue, @@ -71,7 +84,9 @@ public function testBumpReturnsMajorWithIncrementedValue( self::assertSame($bumpedValue, $two->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -82,8 +97,10 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue self::assertSame(-1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Major::fromInt($value); @@ -92,7 +109,9 @@ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int self::assertSame(0, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -103,8 +122,10 @@ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( self::assertSame(1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Major::fromInt($value); @@ -113,7 +134,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -124,7 +147,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsSmallerThanReturnsTrueWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -155,7 +180,9 @@ public function testEqualsReturnsFalseWhenValuesAreSame(): void self::assertTrue($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -166,8 +193,10 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Major::fromInt($value); @@ -176,7 +205,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsGreaterThanReturnsTrueWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, diff --git a/test/Unit/MinorTest.php b/test/Unit/MinorTest.php index 7be665c9..08864f0c 100644 --- a/test/Unit/MinorTest.php +++ b/test/Unit/MinorTest.php @@ -19,13 +19,18 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Minor::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidMinor::class)] +/** + * @covers \Ergebnis\Version\Minor + * + * @uses \Ergebnis\Version\Exception\InvalidMinor + */ final class MinorTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsInvalidIntValue(int $value): void { $this->expectException(Exception\InvalidMinor::class); @@ -33,8 +38,10 @@ public function testFromIntRejectsInvalidIntValue(int $value): void Minor::fromInt($value); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testFromIntReturnsMinor(int $value): void { $minor = Minor::fromInt($value); @@ -42,7 +49,9 @@ public function testFromIntReturnsMinor(int $value): void self::assertSame((string) $value, $minor->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'invalid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::invalid + */ public function testFromStringRejectsInvalidStringValue(string $value): void { $this->expectException(Exception\InvalidMinor::class); @@ -50,7 +59,9 @@ public function testFromStringRejectsInvalidStringValue(string $value): void Minor::fromString($value); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valid + */ public function testFromStringReturnsMinor(string $value): void { $minor = Minor::fromString($value); @@ -58,7 +69,9 @@ public function testFromStringReturnsMinor(string $value): void self::assertSame($value, $minor->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valueAndBumpedValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valueAndBumpedValue + */ public function testBumpReturnsMinorWithIncrementedValue( string $value, string $bumpedValue, @@ -71,7 +84,9 @@ public function testBumpReturnsMinorWithIncrementedValue( self::assertSame($bumpedValue, $two->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -82,8 +97,10 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue self::assertSame(-1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Minor::fromInt($value); @@ -92,7 +109,9 @@ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int self::assertSame(0, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -103,8 +122,10 @@ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( self::assertSame(1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Minor::fromInt($value); @@ -113,7 +134,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -124,7 +147,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsSmallerThanReturnsTrueWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -155,7 +180,9 @@ public function testEqualsReturnsFalseWhenValuesAreSame(): void self::assertTrue($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -166,8 +193,10 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Minor::fromInt($value); @@ -176,7 +205,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsGreaterThanReturnsTrueWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, diff --git a/test/Unit/PatchTest.php b/test/Unit/PatchTest.php index bc3d9292..cafc3786 100644 --- a/test/Unit/PatchTest.php +++ b/test/Unit/PatchTest.php @@ -19,13 +19,18 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Patch::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidPatch::class)] +/** + * @covers \Ergebnis\Version\Patch + * + * @uses \Ergebnis\Version\Exception\InvalidPatch + */ final class PatchTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsInvalidIntValue(int $value): void { $this->expectException(Exception\InvalidPatch::class); @@ -33,8 +38,10 @@ public function testFromIntRejectsInvalidIntValue(int $value): void Patch::fromInt($value); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testFromIntReturnsPatch(int $value): void { $patch = Patch::fromInt($value); @@ -42,7 +49,9 @@ public function testFromIntReturnsPatch(int $value): void self::assertSame((string) $value, $patch->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'invalid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::invalid + */ public function testFromStringRejectsInvalidStringValue(string $value): void { $this->expectException(Exception\InvalidPatch::class); @@ -50,7 +59,9 @@ public function testFromStringRejectsInvalidStringValue(string $value): void Patch::fromString($value); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valid + */ public function testFromStringReturnsPatch(string $value): void { $patch = Patch::fromString($value); @@ -58,7 +69,9 @@ public function testFromStringReturnsPatch(string $value): void self::assertSame($value, $patch->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valueAndBumpedValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valueAndBumpedValue + */ public function testBumpReturnsPatchWithIncrementedValue( string $value, string $bumpedValue, @@ -71,7 +84,9 @@ public function testBumpReturnsPatchWithIncrementedValue( self::assertSame($bumpedValue, $two->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -82,8 +97,10 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue self::assertSame(-1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Patch::fromInt($value); @@ -92,7 +109,9 @@ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int self::assertSame(0, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -103,8 +122,10 @@ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( self::assertSame(1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Patch::fromInt($value); @@ -113,7 +134,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -124,7 +147,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsSmallerThanReturnsTrueWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -155,7 +180,9 @@ public function testEqualsReturnsFalseWhenValuesAreSame(): void self::assertTrue($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -166,8 +193,10 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(int $value): void { $one = Patch::fromInt($value); @@ -176,7 +205,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\NumberProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\NumberProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsGreaterThanReturnsTrueWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, diff --git a/test/Unit/PreReleaseTest.php b/test/Unit/PreReleaseTest.php index 7e293944..6c5f79d0 100644 --- a/test/Unit/PreReleaseTest.php +++ b/test/Unit/PreReleaseTest.php @@ -18,13 +18,18 @@ use Ergebnis\Version\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(PreRelease::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidPreRelease::class)] +/** + * @covers \Ergebnis\Version\PreRelease + * + * @uses \Ergebnis\Version\Exception\InvalidPreRelease + */ final class PreReleaseTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'invalid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::invalid + */ public function testFromStringRejectsInvalidValue(string $value): void { $this->expectException(Exception\InvalidPreRelease::class); @@ -32,7 +37,9 @@ public function testFromStringRejectsInvalidValue(string $value): void PreRelease::fromString($value); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valid + */ public function testFromStringReturnsPreRelease(string $value): void { $preRelease = PreRelease::fromString($value); @@ -47,7 +54,9 @@ public function testEmptyReturnsPreRelease(): void self::assertSame('', $preRelease->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue( string $value, string $otherValue, @@ -58,7 +67,9 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue self::assertSame(-1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valid + */ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(string $value): void { $one = PreRelease::fromString($value); @@ -67,7 +78,9 @@ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(str self::assertSame(0, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( string $value, string $otherValue, @@ -78,7 +91,9 @@ public function testCompareReturnsPlusOneWhenFirstValueIsGreaterThanSecondValue( self::assertSame(1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valid + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(string $value): void { $one = PreRelease::fromString($value); @@ -87,7 +102,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondValue( string $value, string $otherValue, @@ -98,7 +115,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsSmallerThanReturnsTrueWhenFirstValueIsSmallerThanSecondValue( string $value, string $otherValue, @@ -129,7 +148,9 @@ public function testEqualsReturnsTrueWhenValueIsSame(): void self::assertTrue($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondValue( string $value, string $otherValue, @@ -140,7 +161,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valid + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(string $value): void { $one = PreRelease::fromString($value); @@ -149,7 +172,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\PreReleaseProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsGreaterThanReturnsTrueWhenFirstValueIsGreaterThanSecondValue( string $value, string $otherValue, diff --git a/test/Unit/VersionTest.php b/test/Unit/VersionTest.php index 30c0a912..dda86337 100644 --- a/test/Unit/VersionTest.php +++ b/test/Unit/VersionTest.php @@ -23,18 +23,23 @@ use Ergebnis\Version\Version; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Version::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidVersion::class)] -#[Framework\Attributes\UsesClass(BuildMetaData::class)] -#[Framework\Attributes\UsesClass(Major::class)] -#[Framework\Attributes\UsesClass(Minor::class)] -#[Framework\Attributes\UsesClass(Patch::class)] -#[Framework\Attributes\UsesClass(PreRelease::class)] +/** + * @covers \Ergebnis\Version\Version + * + * @uses \Ergebnis\Version\BuildMetaData + * @uses \Ergebnis\Version\Exception\InvalidVersion + * @uses \Ergebnis\Version\Major + * @uses \Ergebnis\Version\Minor + * @uses \Ergebnis\Version\Patch + * @uses \Ergebnis\Version\PreRelease + */ final class VersionTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'invalid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::invalid + */ public function testFromStringRejectsInvalidValue(string $value): void { $this->expectException(Exception\InvalidVersion::class); @@ -42,7 +47,9 @@ public function testFromStringRejectsInvalidValue(string $value): void Version::fromString($value); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valid + */ public function testFromStringReturnsVersion(string $value): void { $version = Version::fromString($value); @@ -50,7 +57,9 @@ public function testFromStringReturnsVersion(string $value): void self::assertSame($value, $version->toString()); } - #[Framework\Attributes\DataProvider('provideValueMajorMinorPatchPreReleaseAndBuildMetaData')] + /** + * @dataProvider provideValueMajorMinorPatchPreReleaseAndBuildMetaData + */ public function testFromStringReturnsVersionWithMajorMinorPatchPreReleaseAndBuildMetaData( string $value, Major $major, @@ -74,7 +83,7 @@ public function testFromStringReturnsVersionWithMajorMinorPatchPreReleaseAndBuil * * @return \Generator */ - public static function provideValueMajorMinorPatchPreReleaseAndBuildMetaData(): \Generator + public static function provideValueMajorMinorPatchPreReleaseAndBuildMetaData(): iterable { $values = [ '0.0.4' => [ @@ -308,7 +317,9 @@ public static function provideValueMajorMinorPatchPreReleaseAndBuildMetaData(): } } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valueAndValueWithBumpedMajor')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valueAndValueWithBumpedMajor + */ public function testBumpMajorReturnsVersionWithBumpedMajor( string $value, string $valueWithBumpedMajor, @@ -321,7 +332,9 @@ public function testBumpMajorReturnsVersionWithBumpedMajor( self::assertSame($valueWithBumpedMajor, $two->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valueAndValueWithBumpedMinor')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valueAndValueWithBumpedMinor + */ public function testBumpMinorReturnsVersionWithBumpedMinor( string $value, string $valueWithBumpedMinor, @@ -334,7 +347,9 @@ public function testBumpMinorReturnsVersionWithBumpedMinor( self::assertSame($valueWithBumpedMinor, $two->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valueAndValueWithBumpedPatch')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valueAndValueWithBumpedPatch + */ public function testBumpPatchReturnsVersionWithBumpedPatch( string $value, string $valueWithBumpedPatch, @@ -347,7 +362,9 @@ public function testBumpPatchReturnsVersionWithBumpedPatch( self::assertSame($valueWithBumpedPatch, $two->toString()); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -358,7 +375,9 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue self::assertSame(-1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valid + */ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(string $value): void { $one = Version::fromString($value); @@ -367,7 +386,9 @@ public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(str self::assertSame(0, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsEqualToSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsEqualToSecondValue + */ public function testCompareReturnsZeroWhenFirstValueIsEqualToSecondValue( string $firstValue, string $secondValue, @@ -378,7 +399,9 @@ public function testCompareReturnsZeroWhenFirstValueIsEqualToSecondValue( self::assertSame(0, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testCompareReturnsMinusOneWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -389,7 +412,9 @@ public function testCompareReturnsMinusOneWhenFirstValueIsGreaterThanSecondValue self::assertSame(1, $one->compare($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valid + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(string $value): void { $one = Version::fromString($value); @@ -398,7 +423,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsEqualToSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsEqualToSecondValue + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsEqualToSecondValue( string $firstValue, string $secondValue, @@ -409,7 +436,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsEqualToSecondValue( self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, @@ -420,7 +449,9 @@ public function testIsSmallerThanReturnsFalseWhenFirstValueIsGreaterThanSecondVa self::assertFalse($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsSmallerThanReturnsTrueWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -431,7 +462,9 @@ public function testIsSmallerThanReturnsTrueWhenFirstValueIsSmallerThanSecondVal self::assertTrue($one->isSmallerThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testEqualsReturnsFalseWhenValuesAreDifferent( string $firstValue, string $secondValue, @@ -442,7 +475,9 @@ public function testEqualsReturnsFalseWhenValuesAreDifferent( self::assertFalse($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsEqualToSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsEqualToSecondValue + */ public function testEqualsReturnsTrueWhenValuesAreEqual( string $firstValue, string $secondValue, @@ -453,7 +488,9 @@ public function testEqualsReturnsTrueWhenValuesAreEqual( self::assertTrue($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valid + */ public function testEqualsReturnsTrueWhenValuesAreIdentical(string $value): void { $one = Version::fromString($value); @@ -462,7 +499,9 @@ public function testEqualsReturnsTrueWhenValuesAreIdentical(string $value): void self::assertTrue($one->equals($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsSmallerThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsSmallerThanSecondValue + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondValue( string $firstValue, string $secondValue, @@ -473,7 +512,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsSmallerThanSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valid')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valid + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondValue(string $value): void { $one = Version::fromString($value); @@ -482,7 +523,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsIdenticalToSecondVa self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsEqualToSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsEqualToSecondValue + */ public function testIsGreaterThanReturnsFalseWhenFirstValueIsEqualToSecondValue( string $firstValue, string $secondValue, @@ -493,7 +536,9 @@ public function testIsGreaterThanReturnsFalseWhenFirstValueIsEqualToSecondValue( self::assertFalse($one->isGreaterThan($two)); } - #[Framework\Attributes\DataProviderExternal(Test\DataProvider\VersionProvider::class, 'valuesWhereFirstValueIsGreaterThanSecondValue')] + /** + * @dataProvider \Ergebnis\Version\Test\DataProvider\VersionProvider::valuesWhereFirstValueIsGreaterThanSecondValue + */ public function testIsGreaterThanReturnsTrueWhenFirstValueIsGreaterThanSecondValue( string $firstValue, string $secondValue, diff --git a/test/Unit/phpunit.xml b/test/Unit/phpunit.xml index f61186b8..99e77355 100644 --- a/test/Unit/phpunit.xml +++ b/test/Unit/phpunit.xml @@ -1,38 +1,35 @@ - - - - - - + ../../src/ - + + + + .