diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 12107da5..893a0cbe 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -11,18 +11,6 @@ For details, take a look at the following workflow configuration files: - [`workflows/triage.yaml`](workflows/triage.yaml) - [`workflows/update.yaml`](workflows/update.yaml) -## Backward-Compatibility Analysis - -We use [`roave/backward-compatibility-check`](https://github.com/Roave/BackwardCompatibilityCheck) to prevent breaking backwards-compatibility. - -Run - -```sh -make backward-compatibility-analysis -``` - -to run a backward-compatibility analysis. - ## Coding Standards We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. diff --git a/.github/settings.yml b/.github/settings.yml index 890b608c..73d81e05 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 af7a04e6..3b8a3d6b 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -9,58 +9,6 @@ on: # yamllint disable-line rule:truthy - "main" jobs: - backward-compatibility-analysis: - name: "Backward-Compatibility Analysis" - - runs-on: "ubuntu-latest" - - timeout-minutes: 5 - - strategy: - matrix: - php-version: - - "8.1" - - dependencies: - - "locked" - - steps: - - name: "Checkout" - uses: "actions/checkout@v4.1.1" - with: - fetch-depth: 0 - - - name: "Set up PHP" - uses: "shivammathur/setup-php@2.29.0" - with: - coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" - php-version: "${{ matrix.php-version }}" - - - name: "Set up problem matchers for PHP" - run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" - - - name: "Validate composer.json and composer.lock" - run: "composer validate --ansi --strict" - - - name: "Determine composer cache directory" - uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.0" - - - name: "Cache dependencies installed with composer" - uses: "actions/cache@v4.0.0" - with: - path: "${{ env.COMPOSER_CACHE_DIR }}" - key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" - restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - - - name: "Install ${{ matrix.dependencies }} dependencies with composer" - uses: "ergebnis/.github/actions/composer/install@1.9.0" - with: - dependencies: "${{ matrix.dependencies }}" - - - name: "Run backward-compatibility analysis with roave/backward-compatibility-check" - run: "vendor/bin/roave-backward-compatibility-check --ansi --format=github-actions" - code-coverage: name: "Code Coverage" @@ -71,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -84,7 +32,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "xdebug" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -132,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -152,7 +100,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" tools: "phive" @@ -207,7 +155,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -220,7 +168,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" tools: "phive" @@ -263,7 +211,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -276,7 +224,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "xdebug" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -315,7 +263,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -328,7 +276,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -374,7 +322,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -387,7 +335,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -424,7 +372,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -437,7 +385,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, opcache, pcntl, phar, posix, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" @@ -475,6 +423,7 @@ jobs: fail-fast: false matrix: php-version: + - "8.0" - "8.1" - "8.2" - "8.3" @@ -492,7 +441,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 179a98ae..9d3aaca1 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" @@ -32,7 +32,7 @@ jobs: uses: "shivammathur/setup-php@2.29.0" with: coverage: "none" - extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 22b78e73..3e6be69e 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" diff --git a/.phive/phars.xml b/.phive/phars.xml index 09b34434..4a2bbfa0 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - - + + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index e6753f35..c094d1c9 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create() +$ruleSet = PhpCsFixer\Config\RuleSet\Php80::create() ->withHeader($license->header()) ->withRules(PhpCsFixer\Config\Rules::fromArray([ 'mb_str_functions' => false, diff --git a/CHANGELOG.md b/CHANGELOG.md index c35716d6..a7cc1d67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ For a full diff see [`4.4.1...main`][4.4.1...main]. - Required `ergebnis/json-printer:^3.5.0` ([#1074]), by [@localheinz] - Required `ergebnis/json-pointer:^3.4.0` ([#1075]), by [@localheinz] - Required `ergebnis/json-schema-validator:^4.2.0` ([#1076]), by [@localheinz] +- Added support for PHP 8.3 ([#1077]), by [@localheinz] ## [`4.4.1`][4.4.1] @@ -686,6 +687,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0]. [#1074]: https://github.com/ergebnis/json-normalizer/pull/1074 [#1075]: https://github.com/ergebnis/json-normalizer/pull/1075 [#1076]: https://github.com/ergebnis/json-normalizer/pull/1076 +[#1077]: https://github.com/ergebnis/json-normalizer/pull/1077 [@alexis-saransig-lullabot]: https://github.com/alexis-saransig-lullabot [@BackEndTea]: https://github.com/BackEndTea diff --git a/Makefile b/Makefile index a1debbec..1e93c5e4 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 e8cfcd72..f654f27d 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", "ergebnis/json": "^1.2.0", "ergebnis/json-pointer": "^3.4.0", @@ -36,13 +36,10 @@ "ergebnis/php-cs-fixer-config": "^6.20.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", - "infection/infection": "~0.27.9", - "phpunit/phpunit": "^10.5.9", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.16", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.19.4", - "roave/backward-compatibility-check": "^8.6.0", - "symfony/filesystem": "^6.4.0", - "symfony/finder": "^6.4.0", "vimeo/psalm": "^5.20.0" }, "suggest": { @@ -66,6 +63,9 @@ "audit": { "abandoned": "report" }, + "platform": { + "php": "8.0.30" + }, "preferred-install": "dist", "sort-packages": true } diff --git a/composer.lock b/composer.lock index 5ec1fa1d..0092ddfc 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": "b2b33a2e9113906e7c03a8bdde7972df", + "content-hash": "5cdec39cffb31581185f2de8fececf8a", "packages": [ { "name": "ergebnis/json", @@ -507,147 +507,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", @@ -740,221 +599,41 @@ "time": "2022-12-27T16:44:40+00:00" }, { - "name": "composer/ca-bundle", - "version": "1.4.0", + "name": "composer/package-versions-deprecated", + "version": "1.11.99.5", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "b66d11b7479109ab547f9405b97205640b17d385" + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b66d11b7479109ab547f9405b97205640b17d385", - "reference": "b66d11b7479109ab547f9405b97205640b17d385", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", "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" + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^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-12-18T12:05:55+00:00" - }, - { - "name": "composer/class-map-generator", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/composer/class-map-generator.git", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", - "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" - } - }, - "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.6.6", - "source": { - "type": "git", - "url": "https://github.com/composer/composer.git", - "reference": "683557bd2466072777309d039534bb1332d0dda5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/683557bd2466072777309d039534bb1332d0dda5", - "reference": "683557bd2466072777309d039534bb1332d0dda5", - "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", - "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.0 || ^7" - }, - "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.6-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/", @@ -963,97 +642,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.6.6" - }, - "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": "2023-12-08T17:32:26+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": [ { @@ -1069,7 +669,7 @@ "type": "tidelift" } ], - "time": "2021-04-07T13:37:33+00:00" + "time": "2022-01-17T14:14:24+00:00" }, { "name": "composer/pcre", @@ -1223,86 +823,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", @@ -1453,6 +973,76 @@ }, "time": "2023-09-27T20:04:15+00:00" }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" + }, { "name": "ergebnis/data-provider", "version": "3.2.0", @@ -1942,16 +1532,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.0.0", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", "shasum": "" }, "require": { @@ -1959,13 +1549,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", @@ -1991,7 +1581,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" }, "funding": [ { @@ -1999,7 +1589,7 @@ "type": "github" } ], - "time": "2023-09-17T21:38:23+00:00" + "time": "2022-12-16T22:01:02+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -2271,16 +1861,16 @@ }, { "name": "infection/infection", - "version": "0.27.9", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "61e6d0645b89104fbd660218d3408219ad7176b5" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/61e6d0645b89104fbd660218d3408219ad7176b5", - "reference": "61e6d0645b89104fbd660218d3408219ad7176b5", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", "shasum": "" }, "require": { @@ -2291,46 +1881,42 @@ "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", - "fidry/cpu-core-counter": "^0.4.0 || ^0.5.0 || ^1.0", + "fidry/cpu-core-counter": "^0.4.0", "infection/abstract-testframework-adapter": "^0.5.0", "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.5", "justinrainbow/json-schema": "^5.2.10", "nikic/php-parser": "^4.15.1", "ondram/ci-detector": "^4.1.0", - "php": "^8.1", + "php": "^8.0", "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", - "symfony/console": "^5.4 || ^6.0 || ^7.0", - "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", - "symfony/finder": "^5.4 || ^6.0 || ^7.0", - "symfony/process": "^5.4 || ^6.0 || ^7.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/process": "^5.4 || ^6.0", "thecodingmachine/safe": "^2.1.2", "webmozart/assert": "^1.11" }, "conflict": { - "antecedent/patchwork": "<2.1.25", "dg/bypass-finals": "<1.4.1", "phpunit/php-code-coverage": ">9,<9.1.4 || >9.2.17,<9.2.21" }, "require-dev": { - "brianium/paratest": "^6.11", + "brianium/paratest": "^6.3", "ext-simplexml": "*", "fidry/makefile": "^0.2.0", "helmich/phpunit-json-assert": "^3.0", - "phpspec/prophecy": "^1.15", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.10.15", + "phpstan/phpstan": "^1.3.0", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", - "phpunit/phpunit": "^9.6", - "rector/rector": "^0.16.0", - "sidz/phpstan-rules": "^0.4.0", - "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0", - "symfony/yaml": "^5.4 || ^6.0 || ^7.0", + "phpunit/phpunit": "^9.5.5", + "symfony/phpunit-bridge": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0", "thecodingmachine/phpstan-safe-rule": "^1.2.0" }, "bin": [ @@ -2387,7 +1973,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.27.9" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -2399,55 +1985,7 @@ "type": "open_collective" } ], - "time": "2023-12-07T17:42:43+00:00" - }, - { - "name": "jetbrains/phpstorm-stubs", - "version": "v2023.3", - "source": { - "type": "git", - "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "reference": "99d8bcab934ae5362f33660b1cd4b8c4d617c40b", - "shasum": "" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "@stable", - "nikic/php-parser": "@stable", - "php": "^8.0", - "phpdocumentor/reflection-docblock": "@stable", - "phpunit/phpunit": "^9.6" - }, - "type": "library", - "autoload": { - "files": [ - "PhpStormStubsMap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "PHP runtime & extensions header files for PhpStorm", - "homepage": "https://www.jetbrains.com/phpstorm", - "keywords": [ - "autocomplete", - "code", - "inference", - "inspection", - "jetbrains", - "phpstorm", - "stubs", - "type" - ], - "support": { - "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2023.3" - }, - "time": "2023-11-01T18:52:29+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -2556,16 +2094,16 @@ }, { "name": "netresearch/jsonmapper", - "version": "v4.2.0", + "version": "v4.4.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" + "reference": "18133a2d8c24e10e58e02b700308ed3a4a60c97f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/18133a2d8c24e10e58e02b700308ed3a4a60c97f", + "reference": "18133a2d8c24e10e58e02b700308ed3a4a60c97f", "shasum": "" }, "require": { @@ -2576,7 +2114,7 @@ "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", "squizlabs/php_codesniffer": "~3.5" }, "type": "library", @@ -2601,9 +2139,9 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.4.0" }, - "time": "2023-04-09T17:37:40+00:00" + "time": "2024-01-28T07:31:37+00:00" }, { "name": "nikic/php-parser", @@ -2620,169 +2158,46 @@ "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/php-parse" - ], - "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": "*" + "ext-tokenizer": "*", + "php": ">=7.0" }, "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" + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" }, + "bin": [ + "bin/php-parse" + ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, "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", @@ -3252,16 +2667,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.11", + "version": "9.2.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145" + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", - "reference": "78c3b7625965c2513ee96569a4dbb62601784145", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", "shasum": "" }, "require": { @@ -3269,18 +2684,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", @@ -3289,7 +2704,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -3318,7 +2733,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" }, "funding": [ { @@ -3326,32 +2741,32 @@ "type": "github" } ], - "time": "2023-12-21T15:38:30+00:00" + "time": "2023-12-22T06:47:57+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -3378,8 +2793,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": [ { @@ -3387,28 +2801,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": "*" @@ -3416,7 +2830,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -3442,7 +2856,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": [ { @@ -3450,32 +2864,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": { @@ -3501,8 +2915,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": [ { @@ -3510,32 +2923,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": { @@ -3561,7 +2974,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": [ { @@ -3569,23 +2982,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.9", + "version": "9.6.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe" + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", - "reference": "0bd663704f0165c9e76fe4f06ffa6a1ca727fdbe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -3595,26 +3009,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" @@ -3622,7 +3037,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -3654,7 +3069,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.9" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16" }, "funding": [ { @@ -3670,7 +3085,7 @@ "type": "tidelift" } ], - "time": "2024-01-22T14:35:40+00:00" + "time": "2024-01-19T07:03:14+00:00" }, { "name": "psalm/plugin-phpunit", @@ -3885,79 +3300,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": "0.19.4", @@ -3984,289 +3326,35 @@ }, "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/0.19.4" - }, - "funding": [ - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2024-01-29T21:18:03+00:00" - }, - { - "name": "revolt/event-loop", - "version": "v1.0.6", - "source": { - "type": "git", - "url": "https://github.com/revoltphp/event-loop.git", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", - "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "require-dev": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^9", - "psalm/phar": "^5.15" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Revolt\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "ceesjank@gmail.com" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "Rock-solid event loop for concurrent PHP applications.", - "keywords": [ - "async", - "asynchronous", - "concurrency", - "event", - "event-loop", - "non-blocking", - "scheduler" - ], - "support": { - "issues": "https://github.com/revoltphp/event-loop/issues", - "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" - }, - "time": "2023-11-30T05:34:44+00:00" - }, - { - "name": "roave/backward-compatibility-check", - "version": "8.6.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/5e533114a996f73a7551846c06c59a80185f4d16", - "reference": "5e533114a996f73a7551846c06c59a80185f4d16", - "shasum": "" - }, - "require": { - "azjezz/psl": "^2.3.1", - "composer/composer": "^2.6.4", - "nikic/php-parser": "^4.15.3", - "nikolaposa/version": "^4.1.0", - "ocramius/package-versions": "^2.7.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/better-reflection": "^6.5.0", - "symfony/console": "^6.2.3" - }, - "conflict": { - "revolt/event-loop": "<0.2.5", - "symfony/process": "<5.3.7" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "php-standard-library/psalm-plugin": "^2.2.1", - "phpunit/phpunit": "^9.5.27", - "psalm/plugin-phpunit": "^0.18.4", - "roave/infection-static-analysis-plugin": "^1.27.0", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.7.1", - "vimeo/psalm": "^5.4.0" - }, - "bin": [ - "bin/roave-backward-compatibility-check" - ], - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BackwardCompatibility\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "Tool to compare two revisions of a public API to check for BC breaks", - "support": { - "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", - "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/8.6.0" - }, - "time": "2023-12-20T14:01:33+00:00" - }, - { - "name": "roave/better-reflection", - "version": "6.20.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BetterReflection.git", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "reference": "a1fcefb03ced1e8f3a5be4d92e23bb9e95f51bca", - "shasum": "" - }, - "require": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "2023.3", - "nikic/php-parser": "^4.18.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "roave/signature": "^1.8.0" - }, - "conflict": { - "thecodingmachine/safe": "<1.1.3" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "phpstan/phpstan": "^1.10.50", - "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^10.5.3", - "roave/infection-static-analysis-plugin": "^1.34.0", - "vimeo/psalm": "5.17.0" - }, - "suggest": { - "composer/composer": "Required to use the ComposerSourceLocator" - }, - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BetterReflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com", - "homepage": "https://github.com/asgrim" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - }, - { - "name": "Gary Hockin", - "email": "gary@roave.com", - "homepage": "https://github.com/geeh" - }, - { - "name": "Jaroslav Hanslík", - "email": "kukulich@kukulich.cz", - "homepage": "https://github.com/kukulich" - } - ], - "description": "Better Reflection - an improved code reflection API", - "support": { - "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.20.0" - }, - "time": "2023-12-16T12:01:31+00:00" - }, - { - "name": "roave/signature", - "version": "1.8.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/Signature.git", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/Signature/zipball/f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "reference": "f92ce20f82c9a1df3b50fc56fbdaeb82cf4c9c5b", - "shasum": "" - }, - "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" - }, - "require-dev": { - "doctrine/coding-standard": "^12.0.0", - "infection/infection": "^0.26.19", - "phpunit/phpunit": "^9.6.7", - "vimeo/psalm": "^5.9.0" - }, + ], "type": "library", "autoload": { - "psr-4": { - "Roave\\Signature\\": "src" - } + "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/0.19.4" }, - "time": "2023-11-25T00:11:29+00:00" + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2024-01-29T21:18:03+00:00" }, { "name": "sanmai/later", @@ -4399,28 +3487,28 @@ }, { "name": "sebastian/cli-parser", - "version": "2.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", - "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -4443,7 +3531,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" }, "funding": [ { @@ -4451,32 +3539,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:15+00:00" + "time": "2020-09-28T06:08:49+00:00" }, { "name": "sebastian/code-unit", - "version": "2.0.0", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -4499,7 +3587,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": [ { @@ -4507,32 +3595,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": { @@ -4554,7 +3642,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": [ { @@ -4562,36 +3650,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": { @@ -4630,8 +3716,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": [ { @@ -4639,33 +3724,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": { @@ -4688,8 +3773,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": [ { @@ -4697,33 +3781,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "5.1.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", - "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^9.3", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4755,8 +3839,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -4764,27 +3847,27 @@ "type": "github" } ], - "time": "2023-12-22T10:55:06+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", - "version": "6.0.1", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -4792,7 +3875,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -4811,7 +3894,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", @@ -4819,8 +3902,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": [ { @@ -4828,34 +3910,34 @@ "type": "github" } ], - "time": "2023-04-11T05:39:26+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "5.1.1", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", - "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { - "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4897,8 +3979,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.1" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -4906,35 +3987,38 @@ "type": "github" } ], - "time": "2023-09-24T13:22:09+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.1", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" + "reference": "bde739e7565280bda77be70044ac1047bc007e34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/7ea9ead78f6d380d2a667864c132c2f7b83055e4", - "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -4959,8 +4043,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" }, "funding": [ { @@ -4968,33 +4051,33 @@ "type": "github" } ], - "time": "2023-07-19T07:19:23+00:00" + "time": "2023-08-02T09:26:13+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -5017,8 +4100,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": [ { @@ -5026,34 +4108,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": { @@ -5075,7 +4157,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": [ { @@ -5083,32 +4165,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": { @@ -5130,7 +4212,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": [ { @@ -5138,32 +4220,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": { @@ -5193,7 +4275,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": [ { @@ -5201,32 +4283,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": { @@ -5241,15 +4323,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": [ { @@ -5257,29 +4338,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": { @@ -5298,11 +4382,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": [ { @@ -5310,180 +4394,60 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" - }, - { - "name": "seld/jsonlint", - "version": "1.10.1", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "76d449a358ece77d6f1d6331c68453e657172202" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/76d449a358ece77d6f1d6331c68453e657172202", - "reference": "76d449a358ece77d6f1d6331c68453e657172202", - "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.1" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" - } - ], - "time": "2023-12-18T13:03:25+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", @@ -5550,24 +4514,23 @@ }, { "name": "symfony/console", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0254811a143e6bc6c8deea08b589a7e68a37f625", - "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625", + "url": "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0|^7.0" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -5581,16 +4544,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": { @@ -5619,12 +4584,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.2" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -5640,29 +4605,29 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -5691,7 +4656,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": [ { @@ -5707,29 +4672,28 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "e95216850555cd55e71b857eb9d6c2674124603a" + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e95216850555cd55e71b857eb9d6c2674124603a", - "reference": "e95216850555cd55e71b857eb9d6c2674124603a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/event-dispatcher-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/event-dispatcher-contracts": "^2|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/service-contracts": "<2.5" + "symfony/dependency-injection": "<5.4" }, "provide": { "psr/event-dispatcher-implementation": "1.0", @@ -5737,13 +4701,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": { @@ -5771,7 +4739,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" }, "funding": [ { @@ -5787,30 +4755,33 @@ "type": "tidelift" } ], - "time": "2023-12-27T22:16:42+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "psr/event-dispatcher": "^1" }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -5847,7 +4818,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": [ { @@ -5863,24 +4834,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/952a8cb588c3bc6ce76f6023000fb932f16a6e59", - "reference": "952a8cb588c3bc6ce76f6023000fb932f16a6e59", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214", + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, @@ -5910,7 +4881,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.0" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -5926,27 +4897,24 @@ "type": "tidelift" } ], - "time": "2023-07-26T17:27:13+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/finder", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", + "url": "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11", + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11", "shasum": "" }, "require": { - "php": ">=8.1" - }, - "require-dev": { - "symfony/filesystem": "^6.0|^7.0" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -5974,7 +4942,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": [ { @@ -5990,25 +4958,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": { @@ -6041,7 +5009,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": [ { @@ -6057,7 +5025,7 @@ "type": "tidelift" } ], - "time": "2023-08-08T10:16:24+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6389,85 +5357,6 @@ ], "time": "2023-07-28T09:04:16+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "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.28.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": "2023-01-26T09:26:14+00:00" - }, { "name": "symfony/polyfill-php80", "version": "v1.28.0", @@ -6632,20 +5521,20 @@ }, { "name": "symfony/process", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c4b1ef0bc80533d87a2e969806172f1c2a980241", - "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -6673,7 +5562,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.2" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -6689,33 +5578,36 @@ "type": "tidelift" } ], - "time": "2023-12-22T16:42:54+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "php": ">=8.0.2", + "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" }, + "suggest": { + "symfony/service-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -6725,10 +5617,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6755,7 +5644,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": [ { @@ -6771,25 +5660,25 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.4.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2" + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/011e781839dd1d2eb8119f65ac516a530f60226d", + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/service-contracts": "^2.5|^3" + "php": ">=8.0.2", + "symfony/service-contracts": "^1|^2|^3" }, "type": "library", "autoload": { @@ -6817,7 +5706,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.4.0" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" }, "funding": [ { @@ -6833,38 +5722,37 @@ "type": "tidelift" } ], - "time": "2023-02-16T10:14:28+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/string", - "version": "v6.4.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/7cb80bc10bfcdf6b5492741c0b9357dac66940bc", - "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc", + "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": "<2.5" + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0|^7.0", - "symfony/http-client": "^5.4|^6.0|^7.0", - "symfony/intl": "^6.2|^7.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0|^7.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -6903,7 +5791,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.2" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -6919,7 +5807,7 @@ "type": "tidelift" } ], - "time": "2023-12-10T16:15:48+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "thecodingmachine/safe", @@ -7285,9 +6173,12 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.6.0" + "platform-overrides": { + "php": "8.0.30" + }, + "plugin-api-version": "2.3.0" } diff --git a/psalm-baseline.xml b/psalm-baseline.xml index ab2a6943..824011e7 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + Json @@ -75,13 +75,6 @@ $newLineString - - - provideEncodedWithoutIndent - provideWhitespaceWithNewLine - provideWhitespaceWithoutNewLine - - $style @@ -89,14 +82,6 @@ $style - - provideInvalidIndentString - provideInvalidSize - provideMixedIndentAndSniffedIndent - providePureIndentAndSniffedIndent - provideSizeStyleAndIndentString - provideValidIndentString - $key $key @@ -104,31 +89,14 @@ - - provideInvalidValue - provideJsonEncodeOptionsAndEncoded - provideValidValue - - - - - provideInvalidNewLineString - provideNewLine - provideValidNewLineString - + + ]]> + $fileInfo - - provideScenario - - - - - provideJsonEncodeOptions - @@ -136,19 +104,11 @@ $fileInfo $schemaDecoded - - provideScenarioWithCustomJsonPointerSpecification - provideScenarioWithDefaultJsonPointerSpecification - $fileInfo $fileInfo - - provideScenarioWhereJsonIsInvalidAccordingToSchema - provideScenarioWhereJsonIsValidAccordingToSchema - diff --git a/rector.php b/rector.php index 2b6023f2..9f747c0e 100644 --- a/rector.php +++ b/rector.php @@ -12,7 +12,6 @@ */ use Rector\Config; -use Rector\Php81; use Rector\PHPUnit; use Rector\ValueObject; @@ -26,13 +25,9 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_81); - - $rectorConfig->rules([ - Php81\Rector\Property\ReadOnlyPropertyRector::class, - ]); + $rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_80); $rectorConfig->sets([ - PHPUnit\Set\PHPUnitSetList::PHPUNIT_100, + PHPUnit\Set\PHPUnitSetList::PHPUNIT_90, ]); }; diff --git a/src/ChainNormalizer.php b/src/ChainNormalizer.php index ea291999..2b49c6f6 100644 --- a/src/ChainNormalizer.php +++ b/src/ChainNormalizer.php @@ -20,7 +20,7 @@ final class ChainNormalizer implements Normalizer /** * @var array */ - private readonly array $normalizers; + private array $normalizers; public function __construct(Normalizer ...$normalizers) { diff --git a/src/Format/DefaultFormatter.php b/src/Format/DefaultFormatter.php index 0be0a2a3..29e1b0f6 100644 --- a/src/Format/DefaultFormatter.php +++ b/src/Format/DefaultFormatter.php @@ -18,7 +18,7 @@ final class DefaultFormatter implements Formatter { - public function __construct(private readonly Printer\PrinterInterface $printer) + public function __construct(private Printer\PrinterInterface $printer) { } diff --git a/src/Format/Indent.php b/src/Format/Indent.php index d25dd923..51a5c1d4 100644 --- a/src/Format/Indent.php +++ b/src/Format/Indent.php @@ -26,7 +26,7 @@ final class Indent 'tab' => "\t", ]; - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/Format/JsonEncodeOptions.php b/src/Format/JsonEncodeOptions.php index 1679a6a8..cacaae57 100644 --- a/src/Format/JsonEncodeOptions.php +++ b/src/Format/JsonEncodeOptions.php @@ -21,7 +21,7 @@ */ final class JsonEncodeOptions { - private function __construct(private readonly int $value) + private function __construct(private int $value) { } diff --git a/src/Format/NewLine.php b/src/Format/NewLine.php index 6c09d1bf..3bd0c6c9 100644 --- a/src/Format/NewLine.php +++ b/src/Format/NewLine.php @@ -21,7 +21,7 @@ */ final class NewLine { - private function __construct(private readonly string $value) + private function __construct(private string $value) { } diff --git a/src/FormatNormalizer.php b/src/FormatNormalizer.php index a53e2810..db35ff3f 100644 --- a/src/FormatNormalizer.php +++ b/src/FormatNormalizer.php @@ -19,8 +19,8 @@ final class FormatNormalizer implements Normalizer { public function __construct( - private readonly Printer\PrinterInterface $printer, - private readonly Format\Format $format, + private Printer\PrinterInterface $printer, + private Format\Format $format, ) { } diff --git a/src/IndentNormalizer.php b/src/IndentNormalizer.php index 78569155..c4a90ce6 100644 --- a/src/IndentNormalizer.php +++ b/src/IndentNormalizer.php @@ -19,8 +19,8 @@ final class IndentNormalizer implements Normalizer { public function __construct( - private readonly Format\Indent $indent, - private readonly Printer\PrinterInterface $printer, + private Format\Indent $indent, + private Printer\PrinterInterface $printer, ) { } diff --git a/src/JsonEncodeNormalizer.php b/src/JsonEncodeNormalizer.php index a78ffcf5..57a8dde6 100644 --- a/src/JsonEncodeNormalizer.php +++ b/src/JsonEncodeNormalizer.php @@ -17,7 +17,7 @@ final class JsonEncodeNormalizer implements Normalizer { - public function __construct(private readonly Format\JsonEncodeOptions $jsonEncodeOptions) + public function __construct(private Format\JsonEncodeOptions $jsonEncodeOptions) { } diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php index 42be735c..127c4a13 100644 --- a/src/SchemaNormalizer.php +++ b/src/SchemaNormalizer.php @@ -25,10 +25,10 @@ final class SchemaNormalizer implements Normalizer { public function __construct( - private readonly string $schemaUri, - private readonly SchemaStorage $schemaStorage, - private readonly SchemaValidator\SchemaValidator $schemaValidator, - private readonly Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, + private string $schemaUri, + private SchemaStorage $schemaStorage, + private SchemaValidator\SchemaValidator $schemaValidator, + private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, ) { } diff --git a/src/Vendor/Composer/ComposerJsonNormalizer.php b/src/Vendor/Composer/ComposerJsonNormalizer.php index c6612014..91b60f76 100644 --- a/src/Vendor/Composer/ComposerJsonNormalizer.php +++ b/src/Vendor/Composer/ComposerJsonNormalizer.php @@ -22,7 +22,7 @@ final class ComposerJsonNormalizer implements Normalizer\Normalizer { - private readonly Normalizer\Normalizer $normalizer; + private Normalizer\Normalizer $normalizer; /** * @throws Normalizer\Exception\DependencyMissing diff --git a/src/Vendor/Composer/ConfigHashNormalizer.php b/src/Vendor/Composer/ConfigHashNormalizer.php index bda8d25d..76e266d9 100644 --- a/src/Vendor/Composer/ConfigHashNormalizer.php +++ b/src/Vendor/Composer/ConfigHashNormalizer.php @@ -29,7 +29,7 @@ final class ConfigHashNormalizer implements Normalizer */ 'preferred-install', ]; - private readonly WildcardSorter $wildcardSorter; + private WildcardSorter $wildcardSorter; public function __construct() { diff --git a/src/Vendor/Composer/RepositoriesHashNormalizer.php b/src/Vendor/Composer/RepositoriesHashNormalizer.php index ab26e78d..8ee800f0 100644 --- a/src/Vendor/Composer/RepositoriesHashNormalizer.php +++ b/src/Vendor/Composer/RepositoriesHashNormalizer.php @@ -26,7 +26,7 @@ final class RepositoriesHashNormalizer implements Normalizer 'exclude', 'only', ]; - private readonly WildcardSorter $wildcardSorter; + private WildcardSorter $wildcardSorter; public function __construct() { diff --git a/src/Vendor/Composer/VersionConstraintNormalizer.php b/src/Vendor/Composer/VersionConstraintNormalizer.php index 4bfdb297..4e7dc40f 100644 --- a/src/Vendor/Composer/VersionConstraintNormalizer.php +++ b/src/Vendor/Composer/VersionConstraintNormalizer.php @@ -28,7 +28,7 @@ final class VersionConstraintNormalizer implements Normalizer 'require-dev', ]; - public function __construct(private readonly Semver\VersionParser $versionParser) + public function __construct(private Semver\VersionParser $versionParser) { } diff --git a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php index 131efa40..52b0f69b 100644 --- a/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/FormatNormalizer/NormalizeNormalizesJson/Scenario.php @@ -22,10 +22,10 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly Normalizer\Format\Format $format, - private readonly Json $original, - private readonly Json $normalized, + private string $key, + private Normalizer\Format\Format $format, + private Json $original, + private Json $normalized, ) { } diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php index c53bcf47..6d3a6e84 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/Scenario.php @@ -22,11 +22,11 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly string $schemaUri, - private readonly Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, - private readonly Json $original, - private readonly Json $normalized, + private string $key, + private string $schemaUri, + private Pointer\Specification $specificationForPointerToDataThatShouldNotBeSorted, + private Json $original, + private Json $normalized, ) { } diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php index c7d3b772..319558ba 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeNormalizesJson/Scenario.php @@ -21,9 +21,9 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly Json $original, - private readonly Json $normalized, + private string $key, + private Json $original, + private Json $normalized, ) { } diff --git a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php index deff845b..38f7380d 100644 --- a/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php +++ b/test/Fixture/Vendor/Composer/ComposerJsonNormalizer/NormalizeRejectsJson/Scenario.php @@ -21,8 +21,8 @@ final class Scenario { private function __construct( - private readonly string $key, - private readonly Json $original, + private string $key, + private Json $original, ) { } diff --git a/test/Unit/CallableNormalizerTest.php b/test/Unit/CallableNormalizerTest.php index 18dc7821..f47f6c94 100644 --- a/test/Unit/CallableNormalizerTest.php +++ b/test/Unit/CallableNormalizerTest.php @@ -18,7 +18,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(CallableNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\CallableNormalizer + */ final class CallableNormalizerTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/ChainNormalizerTest.php b/test/Unit/ChainNormalizerTest.php index f29f85d1..41226ec0 100644 --- a/test/Unit/ChainNormalizerTest.php +++ b/test/Unit/ChainNormalizerTest.php @@ -19,7 +19,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(ChainNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\ChainNormalizer + */ final class ChainNormalizerTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/DependencyMissingTest.php b/test/Unit/Exception/DependencyMissingTest.php index ee303f68..fca62ecb 100644 --- a/test/Unit/Exception/DependencyMissingTest.php +++ b/test/Unit/Exception/DependencyMissingTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\DependencyMissing::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\DependencyMissing + */ final class DependencyMissingTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidIndentSizeTest.php b/test/Unit/Exception/InvalidIndentSizeTest.php index f9de2424..35c87fbc 100644 --- a/test/Unit/Exception/InvalidIndentSizeTest.php +++ b/test/Unit/Exception/InvalidIndentSizeTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidIndentSize::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidIndentSize + */ final class InvalidIndentSizeTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidIndentStringTest.php b/test/Unit/Exception/InvalidIndentStringTest.php index 06520fed..2aca9fc0 100644 --- a/test/Unit/Exception/InvalidIndentStringTest.php +++ b/test/Unit/Exception/InvalidIndentStringTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidIndentString::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidIndentString + */ final class InvalidIndentStringTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidIndentStyleTest.php b/test/Unit/Exception/InvalidIndentStyleTest.php index 29a924c1..ace27131 100644 --- a/test/Unit/Exception/InvalidIndentStyleTest.php +++ b/test/Unit/Exception/InvalidIndentStyleTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidIndentStyle::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidIndentStyle + */ final class InvalidIndentStyleTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php b/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php index 6466f6d4..86af6c36 100644 --- a/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php +++ b/test/Unit/Exception/InvalidJsonEncodeOptionsTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidJsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidJsonEncodeOptions + */ final class InvalidJsonEncodeOptionsTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/InvalidNewLineStringTest.php b/test/Unit/Exception/InvalidNewLineStringTest.php index ace4310d..fddebc22 100644 --- a/test/Unit/Exception/InvalidNewLineStringTest.php +++ b/test/Unit/Exception/InvalidNewLineStringTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\InvalidNewLineString::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\InvalidNewLineString + */ final class InvalidNewLineStringTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php b/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php index 155bf980..b83daaab 100644 --- a/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php +++ b/test/Unit/Exception/NormalizedInvalidAccordingToSchemaTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\NormalizedInvalidAccordingToSchema::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\NormalizedInvalidAccordingToSchema + */ final class NormalizedInvalidAccordingToSchemaTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php b/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php index d6b6fa07..00e2b036 100644 --- a/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php +++ b/test/Unit/Exception/OriginalInvalidAccordingToSchemaTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\OriginalInvalidAccordingToSchema::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\OriginalInvalidAccordingToSchema + */ final class OriginalInvalidAccordingToSchemaTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php b/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php index 3de5899f..06550d92 100644 --- a/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php +++ b/test/Unit/Exception/SchemaUriCouldNotBeReadTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriCouldNotBeRead::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeRead + */ final class SchemaUriCouldNotBeReadTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php b/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php index e59ebe92..d8f3a753 100644 --- a/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php +++ b/test/Unit/Exception/SchemaUriCouldNotBeResolvedTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriCouldNotBeResolved::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeResolved + */ final class SchemaUriCouldNotBeResolvedTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php b/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php index c966bd51..e747bbb6 100644 --- a/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php +++ b/test/Unit/Exception/SchemaUriReferencesDocumentWithInvalidMediaTypeTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriReferencesDocumentWithInvalidMediaType::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesDocumentWithInvalidMediaType + */ final class SchemaUriReferencesDocumentWithInvalidMediaTypeTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php b/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php index d3fa248b..c03416fc 100644 --- a/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php +++ b/test/Unit/Exception/SchemaUriReferencesInvalidJsonDocumentTest.php @@ -17,7 +17,9 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Exception\SchemaUriReferencesInvalidJsonDocument::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesInvalidJsonDocument + */ final class SchemaUriReferencesInvalidJsonDocumentTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/Format/DefaultFormatterTest.php b/test/Unit/Format/DefaultFormatterTest.php index 5469b4b8..b1edd8e1 100644 --- a/test/Unit/Format/DefaultFormatterTest.php +++ b/test/Unit/Format/DefaultFormatterTest.php @@ -20,16 +20,21 @@ use Ergebnis\Json\Printer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\DefaultFormatter::class)] -#[Framework\Attributes\UsesClass(Format\Format::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Format\NewLine::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\DefaultFormatter + * + * @uses \Ergebnis\Json\Normalizer\Format\Format + * @uses \Ergebnis\Json\Normalizer\Format\Indent + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\Format\NewLine + */ final class DefaultFormatterTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\BoolProvider::class, 'arbitrary')] + /** + * @dataProvider \Ergebnis\DataProvider\BoolProvider::arbitrary() + */ public function testFormatEncodesWithJsonEncodeOptionsIndentsAndPossiblySuffixesWithFinalNewLine(bool $hasFinalNewLine): void { $faker = self::faker(); diff --git a/test/Unit/Format/FormatTest.php b/test/Unit/Format/FormatTest.php index 047843d0..997ddb98 100644 --- a/test/Unit/Format/FormatTest.php +++ b/test/Unit/Format/FormatTest.php @@ -18,13 +18,18 @@ use Ergebnis\Json\Normalizer\Format; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\Format::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Format\NewLine::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\Format + * + * @uses \Ergebnis\Json\Normalizer\Format\Indent + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\Format\NewLine + */ final class FormatTest extends Framework\TestCase { - #[Framework\Attributes\DataProviderExternal(DataProvider\BoolProvider::class, 'arbitrary')] + /** + * @dataProvider \Ergebnis\DataProvider\BoolProvider::arbitrary + */ public function testCreateReturnsFormat(bool $hasFinalNewLine): void { $jsonEncodeOptions = Format\JsonEncodeOptions::fromInt(\JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES); @@ -95,7 +100,9 @@ public function testWithNewLineClonesFormatAndSetsNewLine(): void self::assertSame($newLine, $mutated->newLine()); } - #[Framework\Attributes\DataProviderExternal(DataProvider\BoolProvider::class, 'arbitrary')] + /** + * @dataProvider \Ergebnis\DataProvider\BoolProvider::arbitrary + */ public function testWithHasFinalNewLineClonesFormatAndSetsFinalNewLine(bool $hasFinalNewLine): void { $format = Format\Format::create( @@ -111,7 +118,9 @@ public function testWithHasFinalNewLineClonesFormatAndSetsFinalNewLine(bool $has self::assertSame($hasFinalNewLine, $mutated->hasFinalNewLine()); } - #[Framework\Attributes\DataProvider('provideEncodedWithoutIndent')] + /** + * @dataProvider provideEncodedWithoutIndent + */ public function testFromJsonReturnsFormatWithDefaultIndentIfJsonIsWithoutIndent(string $encoded): void { $json = Json::fromString($encoded); @@ -124,7 +133,7 @@ public function testFromJsonReturnsFormatWithDefaultIndentIfJsonIsWithoutIndent( /** * @return \Generator */ - public static function provideEncodedWithoutIndent(): \Generator + public static function provideEncodedWithoutIndent(): iterable { $values = [ 'array-empty' => '[]', @@ -147,7 +156,9 @@ public static function provideEncodedWithoutIndent(): \Generator } } - #[Framework\Attributes\DataProvider('provideWhitespaceWithoutNewLine')] + /** + * @dataProvider provideWhitespaceWithoutNewLine + */ public function testFromFormatReturnsFormatWithoutFinalNewLineIfThereIsNoFinalNewLine(string $actualWhitespace): void { $json = Json::fromString( @@ -170,7 +181,7 @@ public function testFromFormatReturnsFormatWithoutFinalNewLineIfThereIsNoFinalNe /** * @return \Generator */ - public static function provideWhitespaceWithoutNewLine(): \Generator + public static function provideWhitespaceWithoutNewLine(): iterable { $characters = [ ' ', @@ -188,7 +199,9 @@ public static function provideWhitespaceWithoutNewLine(): \Generator } } - #[Framework\Attributes\DataProvider('provideWhitespaceWithNewLine')] + /** + * @dataProvider provideWhitespaceWithNewLine + */ public function testFromFormatReturnsFormatWithFinalNewLineIfThereIsAtLeastOneFinalNewLine(string $actualWhitespace): void { $json = Json::fromString( @@ -211,7 +224,7 @@ public function testFromFormatReturnsFormatWithFinalNewLineIfThereIsAtLeastOneFi /** * @return \Generator */ - public static function provideWhitespaceWithNewLine(): \Generator + public static function provideWhitespaceWithNewLine(): iterable { $characters = [ '', diff --git a/test/Unit/Format/IndentTest.php b/test/Unit/Format/IndentTest.php index 902e12aa..28fcc09e 100644 --- a/test/Unit/Format/IndentTest.php +++ b/test/Unit/Format/IndentTest.php @@ -19,10 +19,13 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidIndentSize::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidIndentString::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidIndentStyle::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\Indent + * + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidIndentSize + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidIndentString + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidIndentStyle + */ final class IndentTest extends Framework\TestCase { use Test\Util\Helper; @@ -37,7 +40,9 @@ public function testConstants(): void self::assertSame($characters, Format\Indent::CHARACTERS); } - #[Framework\Attributes\DataProvider('provideInvalidSize')] + /** + * @dataProvider provideInvalidSize + */ public function testFromSizeAndStyleRejectsInvalidSize(int $size): void { $style = self::faker()->randomElement(\array_keys(Format\Indent::CHARACTERS)); @@ -54,7 +59,7 @@ public function testFromSizeAndStyleRejectsInvalidSize(int $size): void /** * @return \Generator */ - public static function provideInvalidSize(): \Generator + public static function provideInvalidSize(): iterable { $sizes = [ 'int-zero' => 0, @@ -85,7 +90,9 @@ public function testFromSizeAndStyleRejectsInvalidStyle(): void ); } - #[Framework\Attributes\DataProvider('provideSizeStyleAndIndentString')] + /** + * @dataProvider provideSizeStyleAndIndentString + */ public function testFromSizeAndStyleReturnsIndent( int $size, string $style, @@ -102,7 +109,7 @@ public function testFromSizeAndStyleReturnsIndent( /** * @return \Generator */ - public static function provideSizeStyleAndIndentString(): \Generator + public static function provideSizeStyleAndIndentString(): iterable { foreach (self::sizes() as $key => $size) { foreach (Format\Indent::CHARACTERS as $style => $character) { @@ -120,7 +127,9 @@ public static function provideSizeStyleAndIndentString(): \Generator } } - #[Framework\Attributes\DataProvider('provideInvalidIndentString')] + /** + * @dataProvider provideInvalidIndentString + */ public function testFromStringRejectsInvalidIndentString(string $string): void { $this->expectException(Exception\InvalidIndentString::class); @@ -131,7 +140,7 @@ public function testFromStringRejectsInvalidIndentString(string $string): void /** * @return \Generator */ - public static function provideInvalidIndentString(): \Generator + public static function provideInvalidIndentString(): iterable { $strings = [ 'string-not-whitespace' => self::faker()->sentence(), @@ -146,7 +155,9 @@ public static function provideInvalidIndentString(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidIndentString')] + /** + * @dataProvider provideValidIndentString + */ public function testFromStringReturnsIndent(string $string): void { $indent = Format\Indent::fromString($string); @@ -157,7 +168,7 @@ public function testFromStringReturnsIndent(string $string): void /** * @return \Generator */ - public static function provideValidIndentString(): \Generator + public static function provideValidIndentString(): iterable { foreach (self::sizes() as $key => $size) { foreach (Format\Indent::CHARACTERS as $style => $character) { @@ -173,8 +184,10 @@ public static function provideValidIndentString(): \Generator } } - #[Framework\Attributes\DataProvider('provideMixedIndentAndSniffedIndent')] - #[Framework\Attributes\DataProvider('providePureIndentAndSniffedIndent')] + /** + * @dataProvider provideMixedIndentAndSniffedIndent + * @dataProvider providePureIndentAndSniffedIndent + */ public function testFromJsonReturnsIndentSniffedFromArray( string $actualIndent, string $sniffedIndent, @@ -196,8 +209,10 @@ public function testFromJsonReturnsIndentSniffedFromArray( self::assertSame($sniffedIndent, $indent->toString()); } - #[Framework\Attributes\DataProvider('provideMixedIndentAndSniffedIndent')] - #[Framework\Attributes\DataProvider('providePureIndentAndSniffedIndent')] + /** + * @dataProvider provideMixedIndentAndSniffedIndent + * @dataProvider providePureIndentAndSniffedIndent + */ public function testFromJsonReturnsIndentSniffedFromObject( string $actualIndent, string $sniffedIndent, @@ -222,7 +237,7 @@ public function testFromJsonReturnsIndentSniffedFromObject( /** * @return \Generator */ - public static function providePureIndentAndSniffedIndent(): \Generator + public static function providePureIndentAndSniffedIndent(): iterable { $sizes = [ 1, @@ -253,7 +268,7 @@ public static function providePureIndentAndSniffedIndent(): \Generator /** * @return \Generator */ - public static function provideMixedIndentAndSniffedIndent(): \Generator + public static function provideMixedIndentAndSniffedIndent(): iterable { $mixedIndents = [ 'space-and-tab' => [ diff --git a/test/Unit/Format/JsonEncodeOptionsTest.php b/test/Unit/Format/JsonEncodeOptionsTest.php index a026bfc4..70d7e663 100644 --- a/test/Unit/Format/JsonEncodeOptionsTest.php +++ b/test/Unit/Format/JsonEncodeOptionsTest.php @@ -19,8 +19,11 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidJsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidJsonEncodeOptions + */ final class JsonEncodeOptionsTest extends Framework\TestCase { use Test\Util\Helper; @@ -34,7 +37,9 @@ public function testDefaultReturnsJsonEncodeOptions(): void self::assertSame($expected, $jsonEncodeOptions->toInt()); } - #[Framework\Attributes\DataProvider('provideInvalidValue')] + /** + * @dataProvider provideInvalidValue + */ public function testFromIntRejectsInvalidValue(int $value): void { $this->expectException(Exception\InvalidJsonEncodeOptions::class); @@ -45,7 +50,7 @@ public function testFromIntRejectsInvalidValue(int $value): void /** * @return \Generator */ - public static function provideInvalidValue(): \Generator + public static function provideInvalidValue(): iterable { $values = [ 'int-minus-one' => -1, @@ -59,7 +64,9 @@ public static function provideInvalidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromIntReturnsJsonEncodeOptions(int $value): void { $jsonEncodeOptions = Format\JsonEncodeOptions::fromInt($value); @@ -70,7 +77,7 @@ public function testFromIntReturnsJsonEncodeOptions(int $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { $values = [ 'int-zero' => 0, @@ -84,7 +91,9 @@ public static function provideValidValue(): \Generator } } - #[Framework\Attributes\DataProvider('provideJsonEncodeOptionsAndEncoded')] + /** + * @dataProvider provideJsonEncodeOptionsAndEncoded + */ public function testFromJsonReturnsJsonEncodeOptions( int $value, string $encoded, @@ -99,9 +108,9 @@ public function testFromJsonReturnsJsonEncodeOptions( /** * @return list */ - public static function provideJsonEncodeOptionsAndEncoded(): array + public static function provideJsonEncodeOptionsAndEncoded(): iterable { - return [ + yield from [ [ 0, <<<'JSON' diff --git a/test/Unit/Format/NewLineTest.php b/test/Unit/Format/NewLineTest.php index 38039364..ff8bde87 100644 --- a/test/Unit/Format/NewLineTest.php +++ b/test/Unit/Format/NewLineTest.php @@ -18,11 +18,16 @@ use Ergebnis\Json\Normalizer\Format; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Format\NewLine::class)] -#[Framework\Attributes\UsesClass(Exception\InvalidNewLineString::class)] +/** + * @covers \Ergebnis\Json\Normalizer\Format\NewLine + * + * @uses \Ergebnis\Json\Normalizer\Exception\InvalidNewLineString + */ final class NewLineTest extends Framework\TestCase { - #[Framework\Attributes\DataProvider('provideInvalidNewLineString')] + /** + * @dataProvider provideInvalidNewLineString + */ public function testFromStringRejectsInvalidNewLineString(string $string): void { $this->expectException(Exception\InvalidNewLineString::class); @@ -34,7 +39,7 @@ public function testFromStringRejectsInvalidNewLineString(string $string): void /** * @return \Generator */ - public static function provideInvalidNewLineString(): \Generator + public static function provideInvalidNewLineString(): iterable { $strings = [ "\t", @@ -54,7 +59,9 @@ public static function provideInvalidNewLineString(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidNewLineString')] + /** + * @dataProvider provideValidNewLineString + */ public function testFromStringReturnsNewLine(string $string): void { $newLine = Format\NewLine::fromString($string); @@ -65,7 +72,7 @@ public function testFromStringReturnsNewLine(string $string): void /** * @return \Generator */ - public static function provideValidNewLineString(): \Generator + public static function provideValidNewLineString(): iterable { $strings = [ "\n", @@ -91,7 +98,9 @@ public function testFromJsonReturnsFormatWithDefaultNewLineIfNoneFound(): void self::assertSame(\PHP_EOL, $newLine->toString()); } - #[Framework\Attributes\DataProvider('provideNewLine')] + /** + * @dataProvider provideNewLine + */ public function testFromFormatReturnsFormatWithNewLineSniffedFromArray(string $newLineString): void { $json = Json::fromString( @@ -105,7 +114,9 @@ public function testFromFormatReturnsFormatWithNewLineSniffedFromArray(string $n self::assertSame($newLineString, $newLine->toString()); } - #[Framework\Attributes\DataProvider('provideNewLine')] + /** + * @dataProvider provideNewLine + */ public function testFromFormatReturnsFormatWithNewLineNewLineSniffedFromObject(string $newLineString): void { $json = Json::fromString( @@ -122,7 +133,7 @@ public function testFromFormatReturnsFormatWithNewLineNewLineSniffedFromObject(s /** * @return \Generator */ - public static function provideNewLine(): \Generator + public static function provideNewLine(): iterable { $values = [ "\r\n", diff --git a/test/Unit/FormatNormalizerTest.php b/test/Unit/FormatNormalizerTest.php index 73a88e1d..c1176fb7 100644 --- a/test/Unit/FormatNormalizerTest.php +++ b/test/Unit/FormatNormalizerTest.php @@ -20,16 +20,21 @@ use Ergebnis\Json\Printer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(FormatNormalizer::class)] -#[Framework\Attributes\UsesClass(Format\Format::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(Format\NewLine::class)] +/** + * @covers \Ergebnis\Json\Normalizer\FormatNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Format\Format + * @uses \Ergebnis\Json\Normalizer\Format\Indent + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\Format\NewLine + */ final class FormatNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideScenario')] + /** + * @dataProvider provideScenario + */ public function testNormalizeNormalizes(Test\Fixture\FormatNormalizer\NormalizeNormalizesJson\Scenario $scenario): void { $normalizer = new FormatNormalizer( @@ -45,7 +50,7 @@ public function testNormalizeNormalizes(Test\Fixture\FormatNormalizer\NormalizeN /** * @return \Generator */ - public static function provideScenario(): \Generator + public static function provideScenario(): iterable { $basePath = __DIR__ . '/../'; diff --git a/test/Unit/IndentNormalizerTest.php b/test/Unit/IndentNormalizerTest.php index 663b01b6..f7d077e6 100644 --- a/test/Unit/IndentNormalizerTest.php +++ b/test/Unit/IndentNormalizerTest.php @@ -20,8 +20,11 @@ use Ergebnis\Json\Printer\PrinterInterface; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(IndentNormalizer::class)] -#[Framework\Attributes\UsesClass(Format\Indent::class)] +/** + * @covers \Ergebnis\Json\Normalizer\IndentNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Format\Indent + */ final class IndentNormalizerTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/JsonEncodeNormalizerTest.php b/test/Unit/JsonEncodeNormalizerTest.php index e736d61c..45ce25ac 100644 --- a/test/Unit/JsonEncodeNormalizerTest.php +++ b/test/Unit/JsonEncodeNormalizerTest.php @@ -19,13 +19,18 @@ use Ergebnis\Json\Normalizer\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(JsonEncodeNormalizer::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\JsonEncodeNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + */ final class JsonEncodeNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideJsonEncodeOptions')] + /** + * @dataProvider provideJsonEncodeOptions + */ public function testNormalizeDecodesAndEncodesJsonWithJsonEncodeOptions(int $jsonEncodeOptions): void { $json = Json::fromString( @@ -56,7 +61,7 @@ public function testNormalizeDecodesAndEncodesJsonWithJsonEncodeOptions(int $jso /** * @return \Generator */ - public static function provideJsonEncodeOptions(): \Generator + public static function provideJsonEncodeOptions(): iterable { /** * Could add more, but the idea counts. diff --git a/test/Unit/SchemaNormalizerTest.php b/test/Unit/SchemaNormalizerTest.php index 2d6ef4c3..01c6c35d 100644 --- a/test/Unit/SchemaNormalizerTest.php +++ b/test/Unit/SchemaNormalizerTest.php @@ -15,7 +15,6 @@ use Ergebnis\Json\Json; use Ergebnis\Json\Normalizer\Exception; -use Ergebnis\Json\Normalizer\Format; use Ergebnis\Json\Normalizer\SchemaNormalizer; use Ergebnis\Json\Normalizer\Test; use Ergebnis\Json\Pointer; @@ -27,14 +26,17 @@ use JsonSchema\SchemaStorage; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(SchemaNormalizer::class)] -#[Framework\Attributes\UsesClass(Exception\NormalizedInvalidAccordingToSchema::class)] -#[Framework\Attributes\UsesClass(Exception\OriginalInvalidAccordingToSchema::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriCouldNotBeRead::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriCouldNotBeResolved::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriReferencesDocumentWithInvalidMediaType::class)] -#[Framework\Attributes\UsesClass(Exception\SchemaUriReferencesInvalidJsonDocument::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] +/** + * @covers \Ergebnis\Json\Normalizer\SchemaNormalizer + * + * @uses \Ergebnis\Json\Normalizer\Exception\NormalizedInvalidAccordingToSchema + * @uses \Ergebnis\Json\Normalizer\Exception\OriginalInvalidAccordingToSchema + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeRead + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriCouldNotBeResolved + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesDocumentWithInvalidMediaType + * @uses \Ergebnis\Json\Normalizer\Exception\SchemaUriReferencesInvalidJsonDocument + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + */ final class SchemaNormalizerTest extends Framework\TestCase { use Test\Util\Helper; @@ -214,8 +216,10 @@ public function testNormalizeThrowsOriginalInvalidAccordingToSchemaExceptionWhen $normalizer->normalize($json); } - #[Framework\Attributes\DataProvider('provideScenarioWithCustomJsonPointerSpecification')] - #[Framework\Attributes\DataProvider('provideScenarioWithDefaultJsonPointerSpecification')] + /** + * @dataProvider provideScenarioWithCustomJsonPointerSpecification + * @dataProvider provideScenarioWithDefaultJsonPointerSpecification + */ public function testNormalizeNormalizes(Test\Fixture\SchemaNormalizer\NormalizeNormalizesJson\Scenario $scenario): void { $json = $scenario->original(); @@ -235,7 +239,7 @@ public function testNormalizeNormalizes(Test\Fixture\SchemaNormalizer\NormalizeN /** * @return \Generator */ - public static function provideScenarioWithDefaultJsonPointerSpecification(): \Generator + public static function provideScenarioWithDefaultJsonPointerSpecification(): iterable { $basePath = __DIR__ . '/../'; @@ -316,7 +320,7 @@ public static function provideScenarioWithDefaultJsonPointerSpecification(): \Ge /** * @return \Generator */ - public static function provideScenarioWithCustomJsonPointerSpecification(): \Generator + public static function provideScenarioWithCustomJsonPointerSpecification(): iterable { $basePath = __DIR__ . '/../'; diff --git a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php index 660ea9fa..e23c88a9 100644 --- a/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php +++ b/test/Unit/Vendor/Composer/ComposerJsonNormalizerTest.php @@ -14,33 +14,34 @@ namespace Ergebnis\Json\Normalizer\Test\Unit\Vendor\Composer; use Ergebnis\Json\Json; -use Ergebnis\Json\Normalizer\ChainNormalizer; use Ergebnis\Json\Normalizer\Exception; -use Ergebnis\Json\Normalizer\Format; -use Ergebnis\Json\Normalizer\SchemaNormalizer; use Ergebnis\Json\Normalizer\Test; use Ergebnis\Json\Normalizer\Vendor; -use Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(SchemaNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\BinNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\ComposerJsonNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\ConfigHashNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\PackageHashNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\RepositoriesHashNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\VersionConstraintNormalizer::class)] -#[Framework\Attributes\CoversClass(Vendor\Composer\WildcardSorter::class)] -#[Framework\Attributes\UsesClass(ChainNormalizer::class)] -#[Framework\Attributes\UsesClass(Exception\OriginalInvalidAccordingToSchema::class)] -#[Framework\Attributes\UsesClass(Format\JsonEncodeOptions::class)] -#[Framework\Attributes\UsesClass(SchemaNormalizer::class)] -#[Framework\Attributes\UsesClass(WithFinalNewLineNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\SchemaNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\BinNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\ComposerJsonNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\ConfigHashNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\PackageHashNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\RepositoriesHashNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\VersionConstraintNormalizer + * @covers \Ergebnis\Json\Normalizer\Vendor\Composer\WildcardSorter + * + * @uses \Ergebnis\Json\Normalizer\ChainNormalizer + * @uses \Ergebnis\Json\Normalizer\Exception\OriginalInvalidAccordingToSchema + * @uses \Ergebnis\Json\Normalizer\Format\JsonEncodeOptions + * @uses \Ergebnis\Json\Normalizer\SchemaNormalizer + * @uses \Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer + */ final class ComposerJsonNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProvider('provideScenarioWhereJsonIsInvalidAccordingToSchema')] + /** + * @dataProvider provideScenarioWhereJsonIsInvalidAccordingToSchema + */ public function testNormalizeRejectsJsonWhenItIsInvalidAccordingToSchema(Test\Fixture\Vendor\Composer\ComposerJsonNormalizer\NormalizeRejectsJson\Scenario $scenario): void { $json = $scenario->original(); @@ -58,7 +59,7 @@ public function testNormalizeRejectsJsonWhenItIsInvalidAccordingToSchema(Test\Fi /** * @return \Generator */ - public static function provideScenarioWhereJsonIsInvalidAccordingToSchema(): \Generator + public static function provideScenarioWhereJsonIsInvalidAccordingToSchema(): iterable { $basePath = __DIR__ . '/../../../'; @@ -90,7 +91,9 @@ public static function provideScenarioWhereJsonIsInvalidAccordingToSchema(): \Ge } } - #[Framework\Attributes\DataProvider('provideScenarioWhereJsonIsValidAccordingToSchema')] + /** + * @dataProvider provideScenarioWhereJsonIsValidAccordingToSchema + */ public function testNormalizeNormalizesJsonWhenItIsValidAccordingToSchema(Test\Fixture\Vendor\Composer\ComposerJsonNormalizer\NormalizeNormalizesJson\Scenario $scenario): void { $json = $scenario->original(); @@ -108,7 +111,7 @@ public function testNormalizeNormalizesJsonWhenItIsValidAccordingToSchema(Test\F /** * @return \Generator */ - public static function provideScenarioWhereJsonIsValidAccordingToSchema(): \Generator + public static function provideScenarioWhereJsonIsValidAccordingToSchema(): iterable { $basePath = __DIR__ . '/../../../'; diff --git a/test/Unit/WithFinalNewLineNormalizerTest.php b/test/Unit/WithFinalNewLineNormalizerTest.php index fa1410da..224ba608 100644 --- a/test/Unit/WithFinalNewLineNormalizerTest.php +++ b/test/Unit/WithFinalNewLineNormalizerTest.php @@ -19,12 +19,16 @@ use Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(WithFinalNewLineNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\WithFinalNewLineNormalizer + */ final class WithFinalNewLineNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + */ public function testNormalizeEnsuresSingleFinalNewLine(string $whitespace): void { $json = Json::fromString( diff --git a/test/Unit/WithoutFinalNewLineNormalizerTest.php b/test/Unit/WithoutFinalNewLineNormalizerTest.php index 8e54ee62..34c20ff6 100644 --- a/test/Unit/WithoutFinalNewLineNormalizerTest.php +++ b/test/Unit/WithoutFinalNewLineNormalizerTest.php @@ -19,12 +19,16 @@ use Ergebnis\Json\Normalizer\WithoutFinalNewLineNormalizer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(WithoutFinalNewLineNormalizer::class)] +/** + * @covers \Ergebnis\Json\Normalizer\WithoutFinalNewLineNormalizer + */ final class WithoutFinalNewLineNormalizerTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + */ public function testNormalizeRemovesAllWhitespaceFromEndOfJson(string $whitespace): void { $json = Json::fromString( diff --git a/test/Unit/phpunit.xml b/test/Unit/phpunit.xml index 8192e53d..e4881a6c 100644 --- a/test/Unit/phpunit.xml +++ b/test/Unit/phpunit.xml @@ -1,38 +1,37 @@ - - - - - - + ../../src/ - + + ../../src/Subscriber/ + + + + + .