diff --git a/.github/settings.yml b/.github/settings.yml index 2fc56c88..ae925036 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,12 +14,15 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Code Coverage (8.1, locked)" - - context: "Coding Standards (8.1, locked)" - - context: "Dependency Analysis (8.1, locked)" - - context: "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: "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 8b295b0d..c976feef 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -19,7 +19,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -80,7 +80,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -152,7 +152,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -208,7 +208,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -270,7 +270,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -320,7 +320,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" @@ -373,6 +373,7 @@ jobs: strategy: matrix: php-version: + - "8.0" - "8.1" - "8.2" - "8.3" @@ -412,6 +413,9 @@ jobs: key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" + - name: "Remove incompatible dependencies with composer" + run: "composer remove ergebnis/composer-normalize --ansi --dev --no-interaction --no-progress" + - name: "Install ${{ matrix.dependencies }} dependencies with composer" uses: "ergebnis/.github/actions/composer/install@1.8.0" with: diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index e55d659f..4b7ccfae 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.0" dependencies: - "locked" diff --git a/.phive/phars.xml b/.phive/phars.xml index f346d4ee..65e134ce 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,4 +1,4 @@ - + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 7e414e4f..a40f2f5c 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,11 @@ $license->save(); -$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create()->withHeader($license->header()); +$ruleSet = PhpCsFixer\Config\RuleSet\Php80::create() + ->withHeader($license->header()) + ->withRules(PhpCsFixer\Config\Rules::fromArray([ + 'php_unit_internal_class' => false, + ])); $config = PhpCsFixer\Config\Factory::fromRuleSet($ruleSet); diff --git a/CHANGELOG.md b/CHANGELOG.md index 742c8521..766c8ba4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`6.12.0...main`][6.12.0...main]. +### Added + +- Added support for PHP 8.0 ([#951]), by [@localheinz] + ## [`6.12.0`][6.12.0] For a full diff see [`6.11.0...6.12.0`][6.11.0...6.12.0]. @@ -1379,6 +1383,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0]. [#928]: https://github.com/ergebnis/php-cs-fixer-config/pull/928 [#930]: https://github.com/ergebnis/php-cs-fixer-config/pull/930 [#942]: https://github.com/ergebnis/php-cs-fixer-config/pull/942 +[#951]: https://github.com/ergebnis/php-cs-fixer-config/pull/951 [@dependabot]: https://github.com/apps/dependabot [@linuxjuggler]: https://github.com/linuxjuggler diff --git a/composer.json b/composer.json index e4cb7fcf..5cd5db64 100644 --- a/composer.json +++ b/composer.json @@ -17,24 +17,24 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-filter": "*", "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "friendsofphp/php-cs-fixer": "~3.40.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.1.0", - "ergebnis/license": "^2.3.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", + "ergebnis/composer-normalize": "^2.31.0", + "ergebnis/data-provider": "^1.3.0", + "ergebnis/license": "^2.1.0", "ergebnis/rector-rules": "~0.3.0", "fakerphp/faker": "^1.23.0", - "phpunit/phpunit": "^10.4.2", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.13", "psalm/plugin-phpunit": "~0.18.4", "rector/rector": "~0.18.11", - "symfony/filesystem": "^6.3.1", - "symfony/process": "^6.3.4", + "symfony/filesystem": "^6.0.0", + "symfony/process": "^6.0.0", "vimeo/psalm": "^5.16.0" }, "autoload": { diff --git a/composer.lock b/composer.lock index f8207c92..80a3d1f9 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": "d9d884e6f1a789e4508146e512e94dfb", + "content-hash": "2e3a192f0524f492b24c344769ab6e9a", "packages": [ { "name": "composer/pcre", @@ -580,29 +580,29 @@ }, { "name": "sebastian/diff", - "version": "5.0.3", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^9.3", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -634,8 +634,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -643,27 +642,26 @@ "type": "github" } ], - "time": "2023-05-01T07:48:21+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "symfony/console", - "version": "v6.3.8", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0d14a9f6d04d4ac38a8cea1171f4554e325dae92", - "reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92", + "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/service-contracts": "^1.1|^2|^3", "symfony/string": "^5.4|^6.0" }, "conflict": { @@ -685,6 +683,12 @@ "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": { "psr-4": { @@ -712,12 +716,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.3.8" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -733,29 +737,29 @@ "type": "tidelift" } ], - "time": "2023-10-31T08:09:35+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -784,7 +788,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": [ { @@ -800,29 +804,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.3.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e" + "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/adb01fe097a4ee930db9258a3cc906b5beb5cf2e", - "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e", + "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", @@ -835,9 +838,13 @@ "symfony/error-handler": "^5.4|^6.0", "symfony/expression-language": "^5.4|^6.0", "symfony/http-foundation": "^5.4|^6.0", - "symfony/service-contracts": "^2.5|^3", + "symfony/service-contracts": "^1.1|^2|^3", "symfony/stopwatch": "^5.4|^6.0" }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, "type": "library", "autoload": { "psr-4": { @@ -864,7 +871,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.3.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" }, "funding": [ { @@ -880,30 +887,33 @@ "type": "tidelift" } ], - "time": "2023-07-06T06:56:43+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", + "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "psr/event-dispatcher": "^1" }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -940,7 +950,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": [ { @@ -956,24 +966,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/filesystem", - "version": "v6.3.1", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", + "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" }, @@ -1003,7 +1013,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.3.1" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -1019,27 +1029,24 @@ "type": "tidelift" } ], - "time": "2023-06-01T08:30:39+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/finder", - "version": "v6.3.5", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4" + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4", - "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4", + "url": "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11", + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11", "shasum": "" }, "require": { - "php": ">=8.1" - }, - "require-dev": { - "symfony/filesystem": "^6.0" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -1067,7 +1074,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.3.5" + "source": "https://github.com/symfony/finder/tree/v6.0.19" }, "funding": [ { @@ -1083,25 +1090,25 @@ "type": "tidelift" } ], - "time": "2023-09-26T12:56:25+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.3.0", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd" + "reference": "6a180d1c45e0d9797470ca9eb46215692de00fa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a10f19f5198d589d5c33333cffe98dc9820332dd", - "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd", + "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": { @@ -1134,7 +1141,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.3.0" + "source": "https://github.com/symfony/options-resolver/tree/v6.0.19" }, "funding": [ { @@ -1150,7 +1157,7 @@ "type": "tidelift" } ], - "time": "2023-05-12T14:21:09+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1646,20 +1653,20 @@ }, { "name": "symfony/process", - "version": "v6.3.4", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/0b5c29118f2e980d455d2e34a5659f4579847c54", - "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -1687,7 +1694,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.3.4" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -1703,33 +1710,36 @@ "type": "tidelift" } ], - "time": "2023-08-07T10:39:22+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.0.2", "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" }, + "suggest": { + "symfony/service-implementation": "" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -1739,10 +1749,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1769,7 +1776,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -1785,25 +1792,25 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.3.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": { @@ -1831,7 +1838,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.3.0" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" }, "funding": [ { @@ -1847,37 +1854,36 @@ "type": "tidelift" } ], - "time": "2023-02-16T10:14:28+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/string", - "version": "v6.3.8", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "13880a87790c76ef994c91e87efb96134522577a" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/13880a87790c76ef994c91e87efb96134522577a", - "reference": "13880a87790c76ef994c91e87efb96134522577a", + "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", "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.5|^3.0", + "symfony/translation-contracts": "^2.0|^3.0", "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", @@ -1917,7 +1923,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.8" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -1933,7 +1939,7 @@ "type": "tidelift" } ], - "time": "2023-11-09T08:28:21+00:00" + "time": "2023-01-01T08:36:10+00:00" } ], "packages-dev": [ @@ -2103,6 +2109,97 @@ ], "time": "2021-03-30T17:13:30+00:00" }, + { + "name": "colinodell/json5", + "version": "v2.3.0", + "source": { + "type": "git", + "url": "https://github.com/colinodell/json5.git", + "reference": "15b063f8cb5e6deb15f0cd39123264ec0d19c710" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/colinodell/json5/zipball/15b063f8cb5e6deb15f0cd39123264ec0d19c710", + "reference": "15b063f8cb5e6deb15f0cd39123264ec0d19c710", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^7.1.3|^8.0" + }, + "conflict": { + "scrutinizer/ocular": "1.7.*" + }, + "require-dev": { + "mikehaertl/php-shellcommand": "^1.2.5", + "phpstan/phpstan": "^1.4", + "scrutinizer/ocular": "^1.6", + "squizlabs/php_codesniffer": "^2.3 || ^3.0", + "symfony/finder": "^4.4|^5.4|^6.0", + "symfony/phpunit-bridge": "^5.4|^6.0" + }, + "bin": [ + "bin/json5" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "files": [ + "src/global.php" + ], + "psr-4": { + "ColinODell\\Json5\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Developer" + } + ], + "description": "UTF-8 compatible JSON5 parser for PHP", + "homepage": "https://github.com/colinodell/json5", + "keywords": [ + "JSON5", + "json", + "json5_decode", + "json_decode" + ], + "support": { + "issues": "https://github.com/colinodell/json5/issues", + "source": "https://github.com/colinodell/json5/tree/v2.3.0" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://www.patreon.com/colinodell", + "type": "patreon" + } + ], + "time": "2022-12-27T16:44:40+00:00" + }, { "name": "composer/package-versions-deprecated", "version": "1.11.99.5", @@ -2320,42 +2417,111 @@ }, "time": "2023-09-27T20:04:15+00:00" }, + { + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" + }, { "name": "ergebnis/composer-normalize", - "version": "2.39.0", + "version": "2.31.0", "source": { "type": "git", "url": "https://github.com/ergebnis/composer-normalize.git", - "reference": "a878360bc8cb5cb440b9381f72b0aaa125f937c7" + "reference": "da1d18bcc2ca02111359c2c76fd938a907ba0a16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/a878360bc8cb5cb440b9381f72b0aaa125f937c7", - "reference": "a878360bc8cb5cb440b9381f72b0aaa125f937c7", + "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/da1d18bcc2ca02111359c2c76fd938a907ba0a16", + "reference": "da1d18bcc2ca02111359c2c76fd938a907ba0a16", "shasum": "" }, "require": { "composer-plugin-api": "^2.0.0", - "ergebnis/json": "^1.1.0", - "ergebnis/json-normalizer": "^4.3.0", - "ergebnis/json-printer": "^3.4.0", + "ergebnis/json": "^1.0.1", + "ergebnis/json-normalizer": "^4.1.0", + "ergebnis/json-printer": "^3.3.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", "localheinz/diff": "^1.1.1", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "require-dev": { - "composer/composer": "^2.6.5", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "composer/composer": "^2.5.5", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.5.2", + "fakerphp/faker": "^1.21.0", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.7", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", + "rector/rector": "~0.15.25", "symfony/filesystem": "^6.0.13", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.9.0" }, "type": "composer-plugin", "extra": { @@ -2378,8 +2544,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a composer plugin for normalizing composer.json.", @@ -2395,36 +2560,33 @@ "security": "https://github.com/ergebnis/composer-normalize/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/composer-normalize" }, - "time": "2023-10-10T15:43:27+00:00" + "time": "2023-05-02T14:10:33+00:00" }, { "name": "ergebnis/data-provider", - "version": "3.1.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/ergebnis/data-provider.git", - "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6" + "reference": "867236c752235bdf1a675b1fc9e5768f4300f871" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/af9e67ac1be167f43be9315bf8bcd3240d351ae6", - "reference": "af9e67ac1be167f43be9315bf8bcd3240d351ae6", + "url": "https://api.github.com/repos/ergebnis/data-provider/zipball/867236c752235bdf1a675b1fc9e5768f4300f871", + "reference": "867236c752235bdf1a675b1fc9e5768f4300f871", "shasum": "" }, "require": { - "fakerphp/faker": "^1.21.0", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "fakerphp/faker": "^1.20.0", + "php": "^8.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.11.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", - "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.10", - "vimeo/psalm": "^5.16.0" + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30" }, "type": "library", "extra": { @@ -2445,8 +2607,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides generic data providers for use with phpunit/phpunit.", @@ -2459,37 +2620,36 @@ "issues": "https://github.com/ergebnis/data-provider/issues", "source": "https://github.com/ergebnis/data-provider" }, - "time": "2023-11-27T14:54:42+00:00" + "time": "2022-11-28T17:18:36+00:00" }, { "name": "ergebnis/json", - "version": "1.1.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/ergebnis/json.git", - "reference": "9f2b9086c43b189d7044a5b6215a931fb6e9125d" + "reference": "d66ea30060856d0729a4aa319a02752519ca63a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json/zipball/9f2b9086c43b189d7044a5b6215a931fb6e9125d", - "reference": "9f2b9086c43b189d7044a5b6215a931fb6e9125d", + "url": "https://api.github.com/repos/ergebnis/json/zipball/d66ea30060856d0729a4aa319a02752519ca63a0", + "reference": "d66ea30060856d0729a4aa319a02752519ca63a0", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.29.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "ergebnis/phpstan-rules": "^1.0.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.16", + "phpunit/phpunit": "^9.5.27", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.1.0" }, "type": "library", "extra": { @@ -2510,8 +2670,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a Json value object for representing a valid JSON string.", @@ -2521,48 +2680,46 @@ ], "support": { "issues": "https://github.com/ergebnis/json/issues", - "security": "https://github.com/ergebnis/json/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json" }, - "time": "2023-10-10T07:57:48+00:00" + "time": "2022-12-10T22:38:50+00:00" }, { "name": "ergebnis/json-normalizer", - "version": "4.3.0", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-normalizer.git", - "reference": "716fa0a5dcc75fbcb2c1c2e0542b2f56732460bd" + "reference": "e38f8b27f908686b200e3bd68e1b7bdfb5d53061" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/716fa0a5dcc75fbcb2c1c2e0542b2f56732460bd", - "reference": "716fa0a5dcc75fbcb2c1c2e0542b2f56732460bd", + "url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/e38f8b27f908686b200e3bd68e1b7bdfb5d53061", + "reference": "e38f8b27f908686b200e3bd68e1b7bdfb5d53061", "shasum": "" }, "require": { - "ergebnis/json": "^1.1.0", + "ergebnis/json": "^1.0.1", "ergebnis/json-pointer": "^3.2.0", - "ergebnis/json-printer": "^3.4.0", - "ergebnis/json-schema-validator": "^4.1.0", + "ergebnis/json-printer": "^3.3.0", + "ergebnis/json-schema-validator": "^4.0.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "require-dev": { - "composer/semver": "^3.4.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "composer/semver": "^3.2.1", + "ergebnis/data-provider": "^1.3.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.5.2", + "fakerphp/faker": "^1.21.0", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.7", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "symfony/filesystem": "^6.3.1", - "symfony/finder": "^6.3.5", - "vimeo/psalm": "^5.15.0" + "rector/rector": "~0.15.25", + "symfony/filesystem": "^6.0.19", + "symfony/finder": "^6.0.19", + "vimeo/psalm": "^5.9.0" }, "suggest": { "composer/semver": "If you want to use ComposerJsonNormalizer or VersionConstraintNormalizer" @@ -2580,8 +2737,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides generic and vendor-specific normalizers for normalizing JSON documents.", @@ -2592,40 +2748,37 @@ ], "support": { "issues": "https://github.com/ergebnis/json-normalizer/issues", - "security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-normalizer" }, - "time": "2023-10-10T15:15:03+00:00" + "time": "2023-05-02T11:08:03+00:00" }, { "name": "ergebnis/json-pointer", - "version": "3.3.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-pointer.git", - "reference": "8e517faefc06b7c761eaa041febef51a9375819a" + "reference": "861516ff5afa1aa8905fdf3361315909523a1bf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/8e517faefc06b7c761eaa041febef51a9375819a", - "reference": "8e517faefc06b7c761eaa041febef51a9375819a", + "url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/861516ff5afa1aa8905fdf3361315909523a1bf8", + "reference": "861516ff5afa1aa8905fdf3361315909523a1bf8", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.29.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.7.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.16", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30" }, "type": "library", "extra": { @@ -2646,8 +2799,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides JSON pointer as a value object.", @@ -2659,40 +2811,37 @@ ], "support": { "issues": "https://github.com/ergebnis/json-pointer/issues", - "security": "https://github.com/ergebnis/json-pointer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-pointer" }, - "time": "2023-10-10T14:41:06+00:00" + "time": "2022-11-28T17:03:31+00:00" }, { "name": "ergebnis/json-printer", - "version": "3.4.0", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-printer.git", - "reference": "05841593d72499de4f7ce4034a237c77e470558f" + "reference": "18920367473b099633f644f0ca6dc8794345148f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/05841593d72499de4f7ce4034a237c77e470558f", - "reference": "05841593d72499de4f7ce4034a237c77e470558f", + "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/18920367473b099633f644f0ca6dc8794345148f", + "reference": "18920367473b099633f644f0ca6dc8794345148f", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.3", - "phpunit/phpunit": "^10.4.1", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "ergebnis/license": "^2.0.0", + "ergebnis/php-cs-fixer-config": "^4.11.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30.0" }, "type": "library", "autoload": { @@ -2707,8 +2856,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a JSON printer, allowing for flexible indentation.", @@ -2720,44 +2868,41 @@ ], "support": { "issues": "https://github.com/ergebnis/json-printer/issues", - "security": "https://github.com/ergebnis/json-printer/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-printer" }, - "time": "2023-10-10T07:42:48+00:00" + "time": "2022-11-28T10:27:43+00:00" }, { "name": "ergebnis/json-schema-validator", - "version": "4.1.0", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-schema-validator.git", - "reference": "d568ed85d1cdc2e49d650c2fc234dc2516f3f25b" + "reference": "a6166272ac5691a9bc791f185841e5f92a6d4723" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/d568ed85d1cdc2e49d650c2fc234dc2516f3f25b", - "reference": "d568ed85d1cdc2e49d650c2fc234dc2516f3f25b", + "url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/a6166272ac5691a9bc791f185841e5f92a6d4723", + "reference": "a6166272ac5691a9bc791f185841e5f92a6d4723", "shasum": "" }, "require": { - "ergebnis/json": "^1.0.1", + "ergebnis/json": "^1.0.0", "ergebnis/json-pointer": "^3.2.0", "ext-json": "*", "justinrainbow/json-schema": "^5.2.12", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.21.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "~6.6.0", - "ergebnis/phpunit-slow-test-detector": "^2.3.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.4", - "phpunit/phpunit": "^10.4.1", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "~5.0.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.16", + "phpunit/phpunit": "~9.5.27", "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.5", - "vimeo/psalm": "^5.15.0" + "vimeo/psalm": "^5.1.0" }, "type": "library", "extra": { @@ -2778,8 +2923,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides a JSON schema validator, building on top of justinrainbow/json-schema.", @@ -2791,41 +2935,38 @@ ], "support": { "issues": "https://github.com/ergebnis/json-schema-validator/issues", - "security": "https://github.com/ergebnis/json-schema-validator/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/json-schema-validator" }, - "time": "2023-10-10T14:16:57+00:00" + "time": "2022-12-10T14:50:15+00:00" }, { "name": "ergebnis/license", - "version": "2.3.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/ergebnis/license.git", - "reference": "896ebf196a4def609e17899ab04b13e5cbca4415" + "reference": "7a2c4a89ebf284eab2867cd660f54d50fd049368" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/license/zipball/896ebf196a4def609e17899ab04b13e5cbca4415", - "reference": "896ebf196a4def609e17899ab04b13e5cbca4415", + "url": "https://api.github.com/repos/ergebnis/license/zipball/7a2c4a89ebf284eab2867cd660f54d50fd049368", + "reference": "7a2c4a89ebf284eab2867cd660f54d50fd049368", "shasum": "" }, "require": { "ext-filter": "*", - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "^8.0" }, "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.1.0", - "ergebnis/php-cs-fixer-config": "~6.12.0", - "ergebnis/phpunit-slow-test-detector": "^2.4.0", - "fakerphp/faker": "^1.23.0", - "infection/infection": "~0.27.8", - "phpunit/phpunit": "^10.4.2", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.11", - "symfony/filesystem": "^6.3.1", - "vimeo/psalm": "^5.16.0" + "ergebnis/composer-normalize": "^2.28.3", + "ergebnis/data-provider": "^1.2.0", + "ergebnis/php-cs-fixer-config": "^4.11.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "symfony/filesystem": "^6.0.13", + "vimeo/psalm": "^4.29.0" }, "type": "library", "autoload": { @@ -2840,8 +2981,7 @@ "authors": [ { "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" + "email": "am@localheinz.com" } ], "description": "Provides an abstraction of an open-source license.", @@ -2851,80 +2991,9 @@ ], "support": { "issues": "https://github.com/ergebnis/license/issues", - "security": "https://github.com/ergebnis/license/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/license" }, - "time": "2023-11-27T16:14:21+00:00" - }, - { - "name": "ergebnis/phpunit-slow-test-detector", - "version": "2.4.0", - "source": { - "type": "git", - "url": "https://github.com/ergebnis/phpunit-slow-test-detector.git", - "reference": "119bfba6885111db1ac02e14bc45c904a627c86e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpunit-slow-test-detector/zipball/119bfba6885111db1ac02e14bc45c904a627c86e", - "reference": "119bfba6885111db1ac02e14bc45c904a627c86e", - "shasum": "" - }, - "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^9.6.0 || ^10.4.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.39.0", - "ergebnis/data-provider": "^3.0.0", - "ergebnis/license": "^2.2.0", - "ergebnis/php-cs-fixer-config": "^6.11.0", - "fakerphp/faker": "^1.23.0", - "psalm/plugin-phpunit": "~0.18.4", - "rector/rector": "~0.18.6", - "vimeo/psalm": "^5.15.0" - }, - "suggest": { - "phpunit/phpunit": "^10.0.1" - }, - "type": "library", - "extra": { - "composer-normalize": { - "indent-size": 2, - "indent-style": "space" - } - }, - "autoload": { - "psr-4": { - "Ergebnis\\PHPUnit\\SlowTestDetector\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Andreas Möller", - "email": "am@localheinz.com", - "homepage": "https://localheinz.com" - } - ], - "description": "Provides facilities for detecting slow tests in phpunit/phpunit.", - "homepage": "https://github.com/ergebnis/phpunit-slow-test-detector", - "keywords": [ - "detector", - "extension", - "phpunit", - "slow", - "test" - ], - "support": { - "issues": "https://github.com/ergebnis/phpunit-slow-test-detector/issues", - "security": "https://github.com/ergebnis/phpunit-slow-test-detector/blob/main/.github/SECURITY.md", - "source": "https://github.com/ergebnis/phpunit-slow-test-detector" - }, - "time": "2023-11-07T15:41:23+00:00" + "time": "2022-11-28T10:46:05+00:00" }, { "name": "ergebnis/rector-rules", @@ -3160,16 +3229,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.5.1", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", "shasum": "" }, "require": { @@ -3209,7 +3278,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" }, "funding": [ { @@ -3217,53 +3286,358 @@ "type": "github" } ], - "time": "2022-12-24T12:35:10+00:00" + "time": "2022-12-16T22:01:02+00:00" }, { - "name": "justinrainbow/json-schema", - "version": "v5.2.13", + "name": "infection/abstract-testframework-adapter", + "version": "0.5.0", "source": { "type": "git", - "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" + "url": "https://github.com/infection/abstract-testframework-adapter.git", + "reference": "18925e20d15d1a5995bb85c9dc09e8751e1e069b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", - "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", + "url": "https://api.github.com/repos/infection/abstract-testframework-adapter/zipball/18925e20d15d1a5995bb85c9dc09e8751e1e069b", + "reference": "18925e20d15d1a5995bb85c9dc09e8751e1e069b", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.4 || ^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", - "json-schema/json-schema-test-suite": "1.2.0", - "phpunit/phpunit": "^4.8.35" + "ergebnis/composer-normalize": "^2.8", + "friendsofphp/php-cs-fixer": "^2.17", + "phpunit/phpunit": "^9.5" }, - "bin": [ - "bin/validate-json" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, "autoload": { "psr-4": { - "JsonSchema\\": "src/JsonSchema/" + "Infection\\AbstractTestFramework\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Bruno Prieto Reis", - "email": "bruno.p.reis@gmail.com" - }, + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com" + } + ], + "description": "Abstract Test Framework Adapter for Infection", + "support": { + "issues": "https://github.com/infection/abstract-testframework-adapter/issues", + "source": "https://github.com/infection/abstract-testframework-adapter/tree/0.5.0" + }, + "funding": [ + { + "url": "https://github.com/infection", + "type": "github" + }, + { + "url": "https://opencollective.com/infection", + "type": "open_collective" + } + ], + "time": "2021-08-17T18:49:12+00:00" + }, + { + "name": "infection/extension-installer", + "version": "0.1.2", + "source": { + "type": "git", + "url": "https://github.com/infection/extension-installer.git", + "reference": "9b351d2910b9a23ab4815542e93d541e0ca0cdcf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/infection/extension-installer/zipball/9b351d2910b9a23ab4815542e93d541e0ca0cdcf", + "reference": "9b351d2910b9a23ab4815542e93d541e0ca0cdcf", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1 || ^2.0" + }, + "require-dev": { + "composer/composer": "^1.9 || ^2.0", + "friendsofphp/php-cs-fixer": "^2.18, <2.19", + "infection/infection": "^0.15.2", + "php-coveralls/php-coveralls": "^2.4", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.10", + "phpstan/phpstan-phpunit": "^0.12.6", + "phpstan/phpstan-strict-rules": "^0.12.2", + "phpstan/phpstan-webmozart-assert": "^0.12.2", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.8" + }, + "type": "composer-plugin", + "extra": { + "class": "Infection\\ExtensionInstaller\\Plugin" + }, + "autoload": { + "psr-4": { + "Infection\\ExtensionInstaller\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com" + } + ], + "description": "Infection Extension Installer", + "support": { + "issues": "https://github.com/infection/extension-installer/issues", + "source": "https://github.com/infection/extension-installer/tree/0.1.2" + }, + "funding": [ + { + "url": "https://github.com/infection", + "type": "github" + }, + { + "url": "https://opencollective.com/infection", + "type": "open_collective" + } + ], + "time": "2021-10-20T22:08:34+00:00" + }, + { + "name": "infection/include-interceptor", + "version": "0.2.5", + "source": { + "type": "git", + "url": "https://github.com/infection/include-interceptor.git", + "reference": "0cc76d95a79d9832d74e74492b0a30139904bdf7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/infection/include-interceptor/zipball/0cc76d95a79d9832d74e74492b0a30139904bdf7", + "reference": "0cc76d95a79d9832d74e74492b0a30139904bdf7", + "shasum": "" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.16", + "infection/infection": "^0.15.0", + "phan/phan": "^2.4 || ^3", + "php-coveralls/php-coveralls": "^2.2", + "phpstan/phpstan": "^0.12.8", + "phpunit/phpunit": "^8.5", + "vimeo/psalm": "^3.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Infection\\StreamWrapper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com" + } + ], + "description": "Stream Wrapper: Include Interceptor. Allows to replace included (autoloaded) file with another one.", + "support": { + "issues": "https://github.com/infection/include-interceptor/issues", + "source": "https://github.com/infection/include-interceptor/tree/0.2.5" + }, + "funding": [ + { + "url": "https://github.com/infection", + "type": "github" + }, + { + "url": "https://opencollective.com/infection", + "type": "open_collective" + } + ], + "time": "2021-08-09T10:03:57+00:00" + }, + { + "name": "infection/infection", + "version": "0.26.19", + "source": { + "type": "git", + "url": "https://github.com/infection/infection.git", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "shasum": "" + }, + "require": { + "colinodell/json5": "^2.2", + "composer-runtime-api": "^2.0", + "composer/xdebug-handler": "^2.0 || ^3.0", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "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.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", + "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": { + "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.3", + "ext-simplexml": "*", + "fidry/makefile": "^0.2.0", + "helmich/phpunit-json-assert": "^3.0", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.1.0", + "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.5.5", + "symfony/phpunit-bridge": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0", + "thecodingmachine/phpstan-safe-rule": "^1.2.0" + }, + "bin": [ + "bin/infection" + ], + "type": "library", + "autoload": { + "psr-4": { + "Infection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com", + "homepage": "https://twitter.com/maks_rafalko" + }, + { + "name": "Oleg Zhulnev", + "homepage": "https://github.com/sidz" + }, + { + "name": "Gert de Pagter", + "homepage": "https://github.com/BackEndTea" + }, + { + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com", + "homepage": "https://twitter.com/tfidry" + }, + { + "name": "Alexey Kopytko", + "email": "alexey@kopytko.com", + "homepage": "https://www.alexeykopytko.com" + }, + { + "name": "Andreas Möller", + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" + } + ], + "description": "Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.", + "keywords": [ + "coverage", + "mutant", + "mutation framework", + "mutation testing", + "testing", + "unit testing" + ], + "support": { + "issues": "https://github.com/infection/infection/issues", + "source": "https://github.com/infection/infection/tree/0.26.19" + }, + "funding": [ + { + "url": "https://github.com/infection", + "type": "github" + }, + { + "url": "https://opencollective.com/infection", + "type": "open_collective" + } + ], + "time": "2023-02-05T21:47:26+00:00" + }, + { + "name": "justinrainbow/json-schema", + "version": "v5.2.13", + "source": { + "type": "git", + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", + "json-schema/json-schema-test-suite": "1.2.0", + "phpunit/phpunit": "^4.8.35" + }, + "bin": [ + "bin/validate-json" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "JsonSchema\\": "src/JsonSchema/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" + }, { "name": "Justin Rainbow", "email": "justin.rainbow@gmail.com" @@ -3601,6 +3975,84 @@ }, "time": "2023-08-13T19:53:39+00:00" }, + { + "name": "ondram/ci-detector", + "version": "4.1.0", + "source": { + "type": "git", + "url": "https://github.com/OndraM/ci-detector.git", + "reference": "8a4b664e916df82ff26a44709942dfd593fa6f30" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/OndraM/ci-detector/zipball/8a4b664e916df82ff26a44709942dfd593fa6f30", + "reference": "8a4b664e916df82ff26a44709942dfd593fa6f30", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.2", + "lmc/coding-standard": "^1.3 || ^2.1", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0.5", + "phpstan/phpstan": "^0.12.58", + "phpstan/phpstan-phpunit": "^0.12.16", + "phpunit/phpunit": "^7.1 || ^8.0 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "OndraM\\CiDetector\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ondřej Machulda", + "email": "ondrej.machulda@gmail.com" + } + ], + "description": "Detect continuous integration environment and provide unified access to properties of current build", + "keywords": [ + "CircleCI", + "Codeship", + "Wercker", + "adapter", + "appveyor", + "aws", + "aws codebuild", + "azure", + "azure devops", + "azure pipelines", + "bamboo", + "bitbucket", + "buddy", + "ci-info", + "codebuild", + "continuous integration", + "continuousphp", + "devops", + "drone", + "github", + "gitlab", + "interface", + "jenkins", + "pipelines", + "sourcehut", + "teamcity", + "travis" + ], + "support": { + "issues": "https://github.com/OndraM/ci-detector/issues", + "source": "https://github.com/OndraM/ci-detector/tree/4.1.0" + }, + "time": "2021-04-14T09:16:52+00:00" + }, { "name": "phar-io/manifest", "version": "2.0.3", @@ -3882,16 +4334,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.3", + "version": "1.24.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083" + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/12f01d214f1c73b9c91fdb3b1c415e4c70652083", - "reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", "shasum": "" }, "require": { @@ -3923,9 +4375,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.3" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" }, - "time": "2023-11-18T20:15:32+00:00" + "time": "2023-11-26T18:29:22+00:00" }, { "name": "phpstan/phpstan", @@ -3991,16 +4443,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.7", + "version": "9.2.29", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "355324ca4980b8916c18b9db29f3ef484078f26e" + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e", - "reference": "355324ca4980b8916c18b9db29f3ef484078f26e", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", "shasum": "" }, "require": { @@ -4008,18 +4460,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.15", - "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -4028,7 +4480,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -4057,7 +4509,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.7" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" }, "funding": [ { @@ -4065,32 +4517,32 @@ "type": "github" } ], - "time": "2023-10-04T15:34:17+00:00" + "time": "2023-09-19T04:57:46+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -4117,8 +4569,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": [ { @@ -4126,28 +4577,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": "*" @@ -4155,7 +4606,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -4181,7 +4632,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": [ { @@ -4189,32 +4640,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": { @@ -4240,8 +4691,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": [ { @@ -4249,32 +4699,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": { @@ -4300,7 +4750,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": [ { @@ -4308,23 +4758,24 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "10.4.2", + "version": "9.6.13", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", - "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -4334,26 +4785,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" @@ -4361,7 +4813,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.4-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -4393,7 +4845,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" }, "funding": [ { @@ -4409,7 +4861,7 @@ "type": "tidelift" } ], - "time": "2023-10-26T07:21:45+00:00" + "time": "2023-09-19T05:39:22+00:00" }, { "name": "psalm/plugin-phpunit", @@ -4527,30 +4979,159 @@ ], "time": "2023-11-27T13:27:43+00:00" }, + { + "name": "sanmai/later", + "version": "0.1.4", + "source": { + "type": "git", + "url": "https://github.com/sanmai/later.git", + "reference": "e24c4304a4b1349c2a83151a692cec0c10579f60" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sanmai/later/zipball/e24c4304a4b1349c2a83151a692cec0c10579f60", + "reference": "e24c4304a4b1349c2a83151a692cec0c10579f60", + "shasum": "" + }, + "require": { + "php": ">=7.4" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.8", + "friendsofphp/php-cs-fixer": "^3.35.1", + "infection/infection": ">=0.27.6", + "phan/phan": ">=2", + "php-coveralls/php-coveralls": "^2.0", + "phpstan/phpstan": ">=1.4.5", + "phpunit/phpunit": ">=9.5 <10", + "vimeo/psalm": ">=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Later\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Alexey Kopytko", + "email": "alexey@kopytko.com" + } + ], + "description": "Later: deferred wrapper object", + "support": { + "issues": "https://github.com/sanmai/later/issues", + "source": "https://github.com/sanmai/later/tree/0.1.4" + }, + "funding": [ + { + "url": "https://github.com/sanmai", + "type": "github" + } + ], + "time": "2023-10-24T00:25:28+00:00" + }, + { + "name": "sanmai/pipeline", + "version": "v6.9", + "source": { + "type": "git", + "url": "https://github.com/sanmai/pipeline.git", + "reference": "c48f45c22c3ce4140d071f7658fb151df1cc08ea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sanmai/pipeline/zipball/c48f45c22c3ce4140d071f7658fb151df1cc08ea", + "reference": "c48f45c22c3ce4140d071f7658fb151df1cc08ea", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.8", + "friendsofphp/php-cs-fixer": "^3.17", + "infection/infection": ">=0.10.5", + "league/pipeline": "^0.3 || ^1.0", + "phan/phan": ">=1.1", + "php-coveralls/php-coveralls": "^2.4.1", + "phpstan/phpstan": ">=0.10", + "phpunit/phpunit": ">=9.4", + "vimeo/psalm": ">=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "v6.x-dev" + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Pipeline\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Alexey Kopytko", + "email": "alexey@kopytko.com" + } + ], + "description": "General-purpose collections pipeline", + "support": { + "issues": "https://github.com/sanmai/pipeline/issues", + "source": "https://github.com/sanmai/pipeline/tree/v6.9" + }, + "funding": [ + { + "url": "https://github.com/sanmai", + "type": "github" + } + ], + "time": "2023-10-08T11:56:54+00:00" + }, { "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": { @@ -4573,7 +5154,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": [ { @@ -4581,32 +5162,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": { @@ -4629,7 +5210,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": [ { @@ -4637,32 +5218,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": { @@ -4684,7 +5265,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": [ { @@ -4692,36 +5273,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": { @@ -4760,8 +5339,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": [ { @@ -4769,33 +5347,33 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", - "version": "3.1.0", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68cfb347a44871f01e33ab0ef8215966432f6957" + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68cfb347a44871f01e33ab0ef8215966432f6957", - "reference": "68cfb347a44871f01e33ab0ef8215966432f6957", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", - "php": ">=8.1" + "nikic/php-parser": "^4.7", + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -4818,8 +5396,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.1.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" }, "funding": [ { @@ -4827,27 +5404,27 @@ "type": "github" } ], - "time": "2023-09-28T11:50:59+00:00" + "time": "2020-10-26T15:52:27+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": "*" @@ -4855,7 +5432,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -4874,7 +5451,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", @@ -4882,8 +5459,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": [ { @@ -4891,34 +5467,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": { @@ -4960,8 +5536,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": [ { @@ -4969,35 +5544,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": { @@ -5022,8 +5600,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": [ { @@ -5031,33 +5608,33 @@ "type": "github" } ], - "time": "2023-07-19T07:19:23+00:00" + "time": "2023-08-02T09:26:13+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d" + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/649e40d279e243d985aa8fb6e74dd5bb28dc185d", - "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", - "php": ">=8.1" + "nikic/php-parser": "^4.6", + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -5080,8 +5657,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.1" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" }, "funding": [ { @@ -5089,34 +5665,34 @@ "type": "github" } ], - "time": "2023-08-31T09:25:50+00:00" + "time": "2020-11-28T06:42:11+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5138,7 +5714,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": [ { @@ -5146,32 +5722,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": { @@ -5193,7 +5769,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": [ { @@ -5201,32 +5777,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": { @@ -5256,7 +5832,62 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" }, "funding": [ { @@ -5264,32 +5895,32 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { "name": "sebastian/type", - "version": "4.0.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -5312,7 +5943,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -5320,29 +5951,29 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", - "version": "4.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -5365,7 +5996,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, "funding": [ { @@ -5373,7 +6004,7 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "spatie/array-to-xml", @@ -5521,18 +6152,157 @@ ], "time": "2021-10-02T16:05:23+00:00" }, + { + "name": "thecodingmachine/safe", + "version": "v2.5.0", + "source": { + "type": "git", + "url": "https://github.com/thecodingmachine/safe.git", + "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/3115ecd6b4391662b4931daac4eba6b07a2ac1f0", + "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^3.2", + "thecodingmachine/phpstan-strict-rules": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "files": [ + "deprecated/apc.php", + "deprecated/array.php", + "deprecated/datetime.php", + "deprecated/libevent.php", + "deprecated/misc.php", + "deprecated/password.php", + "deprecated/mssql.php", + "deprecated/stats.php", + "deprecated/strings.php", + "lib/special_cases.php", + "deprecated/mysqli.php", + "generated/apache.php", + "generated/apcu.php", + "generated/array.php", + "generated/bzip2.php", + "generated/calendar.php", + "generated/classobj.php", + "generated/com.php", + "generated/cubrid.php", + "generated/curl.php", + "generated/datetime.php", + "generated/dir.php", + "generated/eio.php", + "generated/errorfunc.php", + "generated/exec.php", + "generated/fileinfo.php", + "generated/filesystem.php", + "generated/filter.php", + "generated/fpm.php", + "generated/ftp.php", + "generated/funchand.php", + "generated/gettext.php", + "generated/gmp.php", + "generated/gnupg.php", + "generated/hash.php", + "generated/ibase.php", + "generated/ibmDb2.php", + "generated/iconv.php", + "generated/image.php", + "generated/imap.php", + "generated/info.php", + "generated/inotify.php", + "generated/json.php", + "generated/ldap.php", + "generated/libxml.php", + "generated/lzf.php", + "generated/mailparse.php", + "generated/mbstring.php", + "generated/misc.php", + "generated/mysql.php", + "generated/network.php", + "generated/oci8.php", + "generated/opcache.php", + "generated/openssl.php", + "generated/outcontrol.php", + "generated/pcntl.php", + "generated/pcre.php", + "generated/pgsql.php", + "generated/posix.php", + "generated/ps.php", + "generated/pspell.php", + "generated/readline.php", + "generated/rpminfo.php", + "generated/rrd.php", + "generated/sem.php", + "generated/session.php", + "generated/shmop.php", + "generated/sockets.php", + "generated/sodium.php", + "generated/solr.php", + "generated/spl.php", + "generated/sqlsrv.php", + "generated/ssdeep.php", + "generated/ssh2.php", + "generated/stream.php", + "generated/strings.php", + "generated/swoole.php", + "generated/uodbc.php", + "generated/uopz.php", + "generated/url.php", + "generated/var.php", + "generated/xdiff.php", + "generated/xml.php", + "generated/xmlrpc.php", + "generated/yaml.php", + "generated/yaz.php", + "generated/zip.php", + "generated/zlib.php" + ], + "classmap": [ + "lib/DateTime.php", + "lib/DateTimeImmutable.php", + "lib/Exceptions/", + "deprecated/Exceptions/", + "generated/Exceptions/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHP core functions that throw exceptions instead of returning FALSE on error", + "support": { + "issues": "https://github.com/thecodingmachine/safe/issues", + "source": "https://github.com/thecodingmachine/safe/tree/v2.5.0" + }, + "time": "2023-04-05T11:54:14+00:00" + }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -5561,7 +6331,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -5569,7 +6339,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" }, { "name": "vimeo/psalm", @@ -5746,7 +6516,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-filter": "*" }, "platform-dev": [], diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 358dc73d..6f1ecafa 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -87,28 +87,11 @@ Command\FixCommandExitStatusCalculator::EXIT_STATUS_FLAG_HAS_INVALID_CONFIG - - - provideTargetPhpVersionLessThanOrEqualToCurrentPhpVersion - - $value - - - provideValidValue - provideValueGreaterThanNinetyNine - - - - - provideValidValue - provideValueGreaterThanNinetyNine - - new FixerFactory() @@ -128,7 +111,7 @@ return !$fixer instanceof Fixer\DeprecatedFixerInterface; } - static function (string $nameOfRule) use ($fixersThatAreRegistered): bool { if (\str_starts_with($nameOfRule, '@')) { return true; } @@ -137,14 +120,14 @@ $nameOfRule, $fixersThatAreRegistered, ); - }]]> + } - static function (string $nameOfRule): bool { return !\str_starts_with($nameOfRule, '@'); - }]]> + } @@ -212,9 +195,4 @@ new PhpCsFixer\Whitespace\LineBreakAfterStatementsFixer() - - - provideValidHeader - - diff --git a/rector.php b/rector.php index 7667b2bf..98b4293c 100644 --- a/rector.php +++ b/rector.php @@ -14,7 +14,6 @@ use Ergebnis\Rector\Rules; use Rector\Config; use Rector\Core; -use Rector\Php81; use Rector\PHPUnit; return static function (Config\RectorConfig $rectorConfig): void { @@ -27,14 +26,13 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_81); + $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_80); $rectorConfig->rules([ - Php81\Rector\Property\ReadOnlyPropertyRector::class, Rules\Arrays\SortAssociativeArrayByKeyRector::class, ]); $rectorConfig->sets([ - PHPUnit\Set\PHPUnitSetList::PHPUNIT_100, + PHPUnit\Set\PHPUnitSetList::PHPUNIT_90, ]); }; diff --git a/src/Fixers.php b/src/Fixers.php index 41faa3b2..417c3a56 100644 --- a/src/Fixers.php +++ b/src/Fixers.php @@ -20,7 +20,7 @@ final class Fixers /** * @var list */ - private readonly array $value; + private array $value; private function __construct(Fixer\FixerInterface ...$value) { diff --git a/src/Name.php b/src/Name.php index b6074301..d475a34d 100644 --- a/src/Name.php +++ b/src/Name.php @@ -15,7 +15,7 @@ final class Name { - private readonly string $value; + private string $value; private function __construct(string $value) { diff --git a/src/PhpVersion.php b/src/PhpVersion.php index 0f3bea01..3f4d9a20 100644 --- a/src/PhpVersion.php +++ b/src/PhpVersion.php @@ -15,9 +15,9 @@ final class PhpVersion { - private readonly PhpVersion\Major $major; - private readonly PhpVersion\Minor $minor; - private readonly PhpVersion\Patch $patch; + private PhpVersion\Major $major; + private PhpVersion\Minor $minor; + private PhpVersion\Patch $patch; private function __construct( PhpVersion\Major $major, diff --git a/src/PhpVersion/Major.php b/src/PhpVersion/Major.php index 365ee479..e7ed764a 100644 --- a/src/PhpVersion/Major.php +++ b/src/PhpVersion/Major.php @@ -15,7 +15,7 @@ final class Major { - private readonly int $value; + private int $value; private function __construct(int $value) { diff --git a/src/PhpVersion/Minor.php b/src/PhpVersion/Minor.php index 6e9e5d92..b3c5d693 100644 --- a/src/PhpVersion/Minor.php +++ b/src/PhpVersion/Minor.php @@ -15,7 +15,7 @@ final class Minor { - private readonly int $value; + private int $value; private function __construct(int $value) { diff --git a/src/PhpVersion/Patch.php b/src/PhpVersion/Patch.php index 735fdfab..80d1ed62 100644 --- a/src/PhpVersion/Patch.php +++ b/src/PhpVersion/Patch.php @@ -15,7 +15,7 @@ final class Patch { - private readonly int $value; + private int $value; private function __construct(int $value) { diff --git a/src/RuleSet.php b/src/RuleSet.php index 940a22da..a307c00d 100644 --- a/src/RuleSet.php +++ b/src/RuleSet.php @@ -16,10 +16,10 @@ final class RuleSet { private function __construct( - private readonly Fixers $customFixers, - private readonly Name $name, - private readonly PhpVersion $phpVersion, - private readonly Rules $rules, + private Fixers $customFixers, + private Name $name, + private PhpVersion $phpVersion, + private Rules $rules, ) { } diff --git a/src/Rules.php b/src/Rules.php index 38b3687f..09bbc7b8 100644 --- a/src/Rules.php +++ b/src/Rules.php @@ -15,7 +15,7 @@ final class Rules { - private readonly array $value; + private array $value; /** * @param array|bool> $value diff --git a/test/EndToEnd/RuleSet/Php53Test.php b/test/EndToEnd/RuleSet/Php53Test.php index 932065e2..63332a56 100644 --- a/test/EndToEnd/RuleSet/Php53Test.php +++ b/test/EndToEnd/RuleSet/Php53Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php53Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php54Test.php b/test/EndToEnd/RuleSet/Php54Test.php index b69e00c7..6cbab604 100644 --- a/test/EndToEnd/RuleSet/Php54Test.php +++ b/test/EndToEnd/RuleSet/Php54Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php54Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php55Test.php b/test/EndToEnd/RuleSet/Php55Test.php index 601a0f86..1b670ddc 100644 --- a/test/EndToEnd/RuleSet/Php55Test.php +++ b/test/EndToEnd/RuleSet/Php55Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php55Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php56Test.php b/test/EndToEnd/RuleSet/Php56Test.php index d1ef8c5f..e0b8f635 100644 --- a/test/EndToEnd/RuleSet/Php56Test.php +++ b/test/EndToEnd/RuleSet/Php56Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php56Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php70Test.php b/test/EndToEnd/RuleSet/Php70Test.php index a548b153..faffd260 100644 --- a/test/EndToEnd/RuleSet/Php70Test.php +++ b/test/EndToEnd/RuleSet/Php70Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php70Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php71Test.php b/test/EndToEnd/RuleSet/Php71Test.php index 36212393..b5eb2d48 100644 --- a/test/EndToEnd/RuleSet/Php71Test.php +++ b/test/EndToEnd/RuleSet/Php71Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php71Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php72Test.php b/test/EndToEnd/RuleSet/Php72Test.php index 98eb187b..b851bca9 100644 --- a/test/EndToEnd/RuleSet/Php72Test.php +++ b/test/EndToEnd/RuleSet/Php72Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php72Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php73Test.php b/test/EndToEnd/RuleSet/Php73Test.php index c2ede934..ae4966dc 100644 --- a/test/EndToEnd/RuleSet/Php73Test.php +++ b/test/EndToEnd/RuleSet/Php73Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php73Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php74Test.php b/test/EndToEnd/RuleSet/Php74Test.php index 4ec26a06..ddc104e4 100644 --- a/test/EndToEnd/RuleSet/Php74Test.php +++ b/test/EndToEnd/RuleSet/Php74Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php74Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php80Test.php b/test/EndToEnd/RuleSet/Php80Test.php index 226fab1e..bd1def4e 100644 --- a/test/EndToEnd/RuleSet/Php80Test.php +++ b/test/EndToEnd/RuleSet/Php80Test.php @@ -13,9 +13,9 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + */ final class Php80Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php81Test.php b/test/EndToEnd/RuleSet/Php81Test.php index 71a3c8e9..5b87f77c 100644 --- a/test/EndToEnd/RuleSet/Php81Test.php +++ b/test/EndToEnd/RuleSet/Php81Test.php @@ -13,9 +13,11 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] +/** + * @coversNothing + * + * @requires PHP 8.1 + */ final class Php81Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php82Test.php b/test/EndToEnd/RuleSet/Php82Test.php index 0dce6649..f4f7de50 100644 --- a/test/EndToEnd/RuleSet/Php82Test.php +++ b/test/EndToEnd/RuleSet/Php82Test.php @@ -13,10 +13,11 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] -#[Framework\Attributes\RequiresPhp('8.2')] +/** + * @coversNothing + * + * @requires PHP 8.2 + */ final class Php82Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/RuleSet/Php83Test.php b/test/EndToEnd/RuleSet/Php83Test.php index 8f3944d2..f14ab618 100644 --- a/test/EndToEnd/RuleSet/Php83Test.php +++ b/test/EndToEnd/RuleSet/Php83Test.php @@ -13,10 +13,11 @@ namespace Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet; -use PHPUnit\Framework; - -#[Framework\Attributes\CoversNothing()] -#[Framework\Attributes\RequiresPhp('8.3')] +/** + * @coversNothing + * + * @requires PHP 8.3 + */ final class Php83Test extends AbstractRuleSetTestCase { } diff --git a/test/EndToEnd/phpunit.xml b/test/EndToEnd/phpunit.xml index 356a008f..1025343c 100644 --- a/test/EndToEnd/phpunit.xml +++ b/test/EndToEnd/phpunit.xml @@ -1,33 +1,29 @@ - - - - - + . diff --git a/test/Unit/FactoryTest.php b/test/Unit/FactoryTest.php index c4bf6ac7..67bfe579 100644 --- a/test/Unit/FactoryTest.php +++ b/test/Unit/FactoryTest.php @@ -23,15 +23,18 @@ use PhpCsFixer\Fixer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\Factory + * + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class FactoryTest extends Framework\TestCase { use Test\Util\Helper; @@ -61,7 +64,9 @@ public function testFromRuleSetThrowsRuntimeExceptionWhenCurrentPhpVersionIsLess Factory::fromRuleSet($ruleSet); } - #[Framework\Attributes\DataProvider('provideTargetPhpVersionLessThanOrEqualToCurrentPhpVersion')] + /** + * @dataProvider provideTargetPhpVersionLessThanOrEqualToCurrentPhpVersion + */ public function testFromRuleSetCreatesConfigWhenCurrentPhpVersionIsEqualToOrGreaterThanTargetPhpVersion(PhpVersion $targetPhpVersion): void { $customFixers = Fixers::fromFixers( @@ -95,7 +100,7 @@ public function testFromRuleSetCreatesConfigWhenCurrentPhpVersionIsEqualToOrGrea /** * @return \Generator */ - public static function provideTargetPhpVersionLessThanOrEqualToCurrentPhpVersion(): \Generator + public static function provideTargetPhpVersionLessThanOrEqualToCurrentPhpVersion(): iterable { $values = [ PhpVersion::fromInt(\PHP_VERSION_ID - 1), diff --git a/test/Unit/FixersTest.php b/test/Unit/FixersTest.php index 39b4a3a3..2c4497ba 100644 --- a/test/Unit/FixersTest.php +++ b/test/Unit/FixersTest.php @@ -15,7 +15,9 @@ use PhpCsFixer\Fixer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Fixers::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\Fixers + */ final class FixersTest extends Framework\TestCase { public function testEmptyReturnsFixers(): void diff --git a/test/Unit/NameTest.php b/test/Unit/NameTest.php index 69601251..a8718dd7 100644 --- a/test/Unit/NameTest.php +++ b/test/Unit/NameTest.php @@ -13,21 +13,25 @@ use Ergebnis\DataProvider; use Ergebnis\PhpCsFixer\Config\Name; -use Ergebnis\PhpCsFixer\Config\PhpVersion; use Ergebnis\PhpCsFixer\Config\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\Name + * + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + */ final class NameTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'blank')] - #[Framework\Attributes\DataProviderExternal(DataProvider\StringProvider::class, 'empty')] + /** + * @dataProvider \Ergebnis\DataProvider\StringProvider::blank + * @dataProvider \Ergebnis\DataProvider\StringProvider::empty + */ public function testFromStringRejectsBlankOrEmptyString(string $value): void { $this->expectException(\InvalidArgumentException::class); diff --git a/test/Unit/PhpVersion/MajorTest.php b/test/Unit/PhpVersion/MajorTest.php index f97ebb36..b25cf686 100644 --- a/test/Unit/PhpVersion/MajorTest.php +++ b/test/Unit/PhpVersion/MajorTest.php @@ -17,10 +17,14 @@ use Ergebnis\PhpCsFixer\Config\PhpVersion; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(PhpVersion\Major::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + */ final class MajorTest extends Framework\TestCase { - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsInvalidValue(int $value): void { $this->expectException(\InvalidArgumentException::class); @@ -32,8 +36,10 @@ public function testFromIntRejectsInvalidValue(int $value): void PhpVersion\Major::fromInt($value); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testFromIntReturnsMajor(int $value): void { $major = PhpVersion\Major::fromInt($value); diff --git a/test/Unit/PhpVersion/MinorTest.php b/test/Unit/PhpVersion/MinorTest.php index 6f36dc99..f96a29ea 100644 --- a/test/Unit/PhpVersion/MinorTest.php +++ b/test/Unit/PhpVersion/MinorTest.php @@ -18,12 +18,16 @@ use Ergebnis\PhpCsFixer\Config\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(PhpVersion\Minor::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + */ final class MinorTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsValueLessThanZero(int $value): void { $this->expectException(\InvalidArgumentException::class); @@ -35,7 +39,9 @@ public function testFromIntRejectsValueLessThanZero(int $value): void PhpVersion\Minor::fromInt($value); } - #[Framework\Attributes\DataProvider('provideValueGreaterThanNinetyNine')] + /** + * @dataProvider provideValueGreaterThanNinetyNine + */ public function testFromIntRejectsValueGreaterThanNinetyNine(int $value): void { $this->expectException(\InvalidArgumentException::class); @@ -50,7 +56,7 @@ public function testFromIntRejectsValueGreaterThanNinetyNine(int $value): void /** * @return \Generator */ - public static function provideValueGreaterThanNinetyNine(): \Generator + public static function provideValueGreaterThanNinetyNine(): iterable { $values = [ 'int-one-hundred' => 100, @@ -64,7 +70,9 @@ public static function provideValueGreaterThanNinetyNine(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromIntReturnsMinor(int $value): void { $minor = PhpVersion\Minor::fromInt($value); @@ -75,7 +83,7 @@ public function testFromIntReturnsMinor(int $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { $values = [ 'int-zero' => 0, diff --git a/test/Unit/PhpVersion/PatchTest.php b/test/Unit/PhpVersion/PatchTest.php index ba9d79e4..1cebd4a0 100644 --- a/test/Unit/PhpVersion/PatchTest.php +++ b/test/Unit/PhpVersion/PatchTest.php @@ -18,12 +18,16 @@ use Ergebnis\PhpCsFixer\Config\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(PhpVersion\Patch::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + */ final class PatchTest extends Framework\TestCase { use Test\Util\Helper; - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsValueLessThanZero(int $value): void { $this->expectException(\InvalidArgumentException::class); @@ -35,7 +39,9 @@ public function testFromIntRejectsValueLessThanZero(int $value): void PhpVersion\Patch::fromInt($value); } - #[Framework\Attributes\DataProvider('provideValueGreaterThanNinetyNine')] + /** + * @dataProvider provideValueGreaterThanNinetyNine + */ public function testFromIntRejectsValueGreaterThanNinetyNine(int $value): void { $this->expectException(\InvalidArgumentException::class); @@ -50,7 +56,7 @@ public function testFromIntRejectsValueGreaterThanNinetyNine(int $value): void /** * @return \Generator */ - public static function provideValueGreaterThanNinetyNine(): \Generator + public static function provideValueGreaterThanNinetyNine(): iterable { $values = [ 'int-one-hundred' => 100, @@ -64,7 +70,9 @@ public static function provideValueGreaterThanNinetyNine(): \Generator } } - #[Framework\Attributes\DataProvider('provideValidValue')] + /** + * @dataProvider provideValidValue + */ public function testFromIntReturnsPatch(int $value): void { $patch = PhpVersion\Patch::fromInt($value); @@ -75,7 +83,7 @@ public function testFromIntReturnsPatch(int $value): void /** * @return \Generator */ - public static function provideValidValue(): \Generator + public static function provideValidValue(): iterable { $values = [ 'int-zero' => 0, diff --git a/test/Unit/PhpVersionTest.php b/test/Unit/PhpVersionTest.php index da663c0d..4db40956 100644 --- a/test/Unit/PhpVersionTest.php +++ b/test/Unit/PhpVersionTest.php @@ -16,10 +16,13 @@ use Ergebnis\PhpCsFixer\Config\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\PhpVersion + * + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + */ final class PhpVersionTest extends Framework\TestCase { use Test\Util\Helper; @@ -52,7 +55,9 @@ public function testCreateReturnsPhpVersion(): void self::assertSame($expected, $phpVersion->toString()); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'lessThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::lessThanZero + */ public function testFromIntRejectsInvalidValue(int $value): void { $this->expectException(\InvalidArgumentException::class); @@ -64,8 +69,10 @@ public function testFromIntRejectsInvalidValue(int $value): void PhpVersion::fromInt($value); } - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')] - #[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')] + /** + * @dataProvider \Ergebnis\DataProvider\IntProvider::greaterThanZero + * @dataProvider \Ergebnis\DataProvider\IntProvider::zero + */ public function testFromIntReturnsPhpVersion(int $value): void { $phpVersion = PhpVersion::fromInt($value); diff --git a/test/Unit/RuleSet/Php53Test.php b/test/Unit/RuleSet/Php53Test.php index 38a73ab4..dc847d1e 100644 --- a/test/Unit/RuleSet/Php53Test.php +++ b/test/Unit/RuleSet/Php53Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php53::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php53 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php53Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php54Test.php b/test/Unit/RuleSet/Php54Test.php index 0eeaa56a..7427e6f7 100644 --- a/test/Unit/RuleSet/Php54Test.php +++ b/test/Unit/RuleSet/Php54Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php54::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php54 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php54Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php55Test.php b/test/Unit/RuleSet/Php55Test.php index 15ffea7f..d66e9bac 100644 --- a/test/Unit/RuleSet/Php55Test.php +++ b/test/Unit/RuleSet/Php55Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php55::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php55 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php55Test extends ExplicitRuleSetTestCase { protected function expectedCustomFixers(): Fixers diff --git a/test/Unit/RuleSet/Php56Test.php b/test/Unit/RuleSet/Php56Test.php index 740af25e..30750178 100644 --- a/test/Unit/RuleSet/Php56Test.php +++ b/test/Unit/RuleSet/Php56Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php56::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php56 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php56Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php70Test.php b/test/Unit/RuleSet/Php70Test.php index 2615e971..4f137764 100644 --- a/test/Unit/RuleSet/Php70Test.php +++ b/test/Unit/RuleSet/Php70Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php70::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php70 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php70Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index 9def3e50..44ee6482 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php71::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php71 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php71Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php72Test.php b/test/Unit/RuleSet/Php72Test.php index b82077de..5b9e178c 100644 --- a/test/Unit/RuleSet/Php72Test.php +++ b/test/Unit/RuleSet/Php72Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php72::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php72 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php72Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index 1d37b83a..8d7fff1f 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php73::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php73 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php73Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index ad499ca7..3c08c660 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php74::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php74 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php74Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index f6c81167..6c7aeb42 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php80::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php80 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php80Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 2b0a0529..cb7cfff3 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php81::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php81 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php81Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php82Test.php b/test/Unit/RuleSet/Php82Test.php index b985107d..f190ca31 100644 --- a/test/Unit/RuleSet/Php82Test.php +++ b/test/Unit/RuleSet/Php82Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php82::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php82 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php82Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSet/Php83Test.php b/test/Unit/RuleSet/Php83Test.php index 76335b81..f169f896 100644 --- a/test/Unit/RuleSet/Php83Test.php +++ b/test/Unit/RuleSet/Php83Test.php @@ -13,7 +13,6 @@ namespace Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet; -use Ergebnis\PhpCsFixer\Config\Factory; use Ergebnis\PhpCsFixer\Config\Fixers; use Ergebnis\PhpCsFixer\Config\Name; use Ergebnis\PhpCsFixer\Config\PhpVersion; @@ -21,18 +20,20 @@ use Ergebnis\PhpCsFixer\Config\RuleSet; use ErickSkrauch\PhpCsFixer; use PhpCsFixerCustomFixers\Fixer; -use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet\Php83::class)] -#[Framework\Attributes\UsesClass(Factory::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] -#[Framework\Attributes\UsesClass(RuleSet::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet\Php83 + * + * @uses \Ergebnis\PhpCsFixer\Config\Factory + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + * @uses \Ergebnis\PhpCsFixer\Config\RuleSet + */ final class Php83Test extends ExplicitRuleSetTestCase { protected static function createRuleSet(): RuleSet diff --git a/test/Unit/RuleSetTest.php b/test/Unit/RuleSetTest.php index 781f0549..a308cadb 100644 --- a/test/Unit/RuleSetTest.php +++ b/test/Unit/RuleSetTest.php @@ -20,14 +20,17 @@ use PhpCsFixer\Fixer; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(RuleSet::class)] -#[Framework\Attributes\UsesClass(Name::class)] -#[Framework\Attributes\UsesClass(Fixers::class)] -#[Framework\Attributes\UsesClass(PhpVersion::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Major::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Minor::class)] -#[Framework\Attributes\UsesClass(PhpVersion\Patch::class)] -#[Framework\Attributes\UsesClass(Rules::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\RuleSet + * + * @uses \Ergebnis\PhpCsFixer\Config\Fixers + * @uses \Ergebnis\PhpCsFixer\Config\Name + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Major + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Minor + * @uses \Ergebnis\PhpCsFixer\Config\PhpVersion\Patch + * @uses \Ergebnis\PhpCsFixer\Config\Rules + */ final class RuleSetTest extends Framework\TestCase { use Test\Util\Helper; @@ -143,7 +146,9 @@ public function testWithRulesReturnsRuleSetWithMergedRules(): void self::assertEquals($expected, $mutated->rules()); } - #[Framework\Attributes\DataProvider('provideValidHeader')] + /** + * @dataProvider provideValidHeader + */ public function testWithHeaderReturnsRuleSetWithEnabledHeaderCommentFixer(string $header): void { $faker = self::faker(); @@ -190,7 +195,7 @@ public function testWithHeaderReturnsRuleSetWithEnabledHeaderCommentFixer(string /** * @return \Generator */ - public static function provideValidHeader(): Generator + public static function provideValidHeader(): iterable { $values = [ 'string-empty' => '', diff --git a/test/Unit/RulesTest.php b/test/Unit/RulesTest.php index 7e85da03..4aec83f1 100644 --- a/test/Unit/RulesTest.php +++ b/test/Unit/RulesTest.php @@ -15,7 +15,9 @@ use Ergebnis\PhpCsFixer\Config\Test; use PHPUnit\Framework; -#[Framework\Attributes\CoversClass(Rules::class)] +/** + * @covers \Ergebnis\PhpCsFixer\Config\Rules + */ final class RulesTest extends Framework\TestCase { use Test\Util\Helper; diff --git a/test/Unit/phpunit.xml b/test/Unit/phpunit.xml index f61186b8..8e6341e0 100644 --- a/test/Unit/phpunit.xml +++ b/test/Unit/phpunit.xml @@ -1,38 +1,32 @@ - - - - - - + ../../src/ - + .