From 82c16e3b81891af2972e89380c729245cb542a38 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 16 Mar 2023 17:04:34 +0100 Subject: [PATCH 1/4] Split github actions, Add a phpstan lvl 6, validate cs-fixer, validate phpstan lvl3, add rector action, upgrade php 8.2 with rector, update infection --- .github/workflows/infection.yaml | 16 +- .github/workflows/phpstan-5.yaml | 12 +- .github/workflows/phpstan-6.yaml | 24 + .github/workflows/phpstan-7.yaml | 14 +- .github/workflows/phpstan-8.yaml | 14 +- .github/workflows/quality.yaml | 31 +- .github/workflows/rector.yaml | 35 + .gitignore | 3 + README.md | 7 + composer.json | 25 +- composer.lock | 2697 +++++++++-------- infection.json.dist | 1 - phpunit.xml | 61 +- rector.php | 27 + src/Builder/Capacity/All.php | 11 +- src/Builder/Capacity/Create.php | 15 +- src/Builder/Capacity/ListPerPage.php | 11 +- src/Builder/Capacity/Upsert.php | 23 +- src/Builder/Client.php | 33 +- src/Builder/Extractor.php | 19 +- src/Builder/Loader.php | 19 +- src/Builder/Search.php | 2 +- src/Capacity/All.php | 11 +- src/Capacity/Create.php | 4 +- src/Capacity/ListPerPage.php | 11 +- src/Capacity/Upsert.php | 4 +- src/Configuration.php | 2 +- src/Configuration/Client.php | 7 +- src/Configuration/Extractor.php | 9 +- src/Configuration/Loader.php | 4 +- src/Configuration/Search.php | 5 +- src/Factory/Client.php | 11 +- src/Factory/Extractor.php | 2 +- src/Factory/Loader.php | 2 +- src/Factory/Repository/Client.php | 2 +- src/Factory/Repository/Extractor.php | 2 +- src/Factory/Repository/Loader.php | 2 +- src/Factory/Repository/Search.php | 2 +- src/Factory/Search.php | 2 +- src/Service.php | 7 +- tests/functional/Builder/Capacity/AllTest.php | 19 +- .../Builder/Capacity/CreateTest.php | 25 +- .../Builder/Capacity/ListPerPageTest.php | 19 +- .../Builder/Capacity/UpsertTest.php | 25 +- tests/functional/Builder/ClientTest.php | 17 +- .../Builder/Extractor/ExtractorTest.php | 189 +- .../Builder/Extractor/get-all-products.php | 4 +- .../Builder/Extractor/get-product.php | 4 +- .../functional/Builder/Loader/LoaderTest.php | 47 +- .../Builder/Loader/post-product.php | 4 +- tests/functional/Builder/Loader/product.php | 80 +- tests/functional/Builder/Loader/products.php | 82 +- tests/functional/Builder/token.php | 4 +- tests/functional/Configuration/ClientTest.php | 43 +- .../Configuration/ExtractorTest.php | 41 +- tests/functional/Configuration/LoaderTest.php | 22 +- tests/functional/ExpressionLanguage/Env.php | 4 +- .../ExpressionLanguage/ExpressionLanguage.php | 4 +- tests/functional/ExpressionLanguage/File.php | 4 +- .../ExpressionLanguage/Provider.php | 6 +- tests/functional/Factory/ClientTest.php | 33 +- tests/functional/Factory/ExtractorTest.php | 45 +- tests/functional/Factory/LoaderTest.php | 45 +- .../Factory/Repository/ClientTest.php | 34 +- .../Factory/Repository/ExtractorTest.php | 38 +- .../Factory/Repository/LoaderTest.php | 38 +- .../Factory/Repository/SearchTest.php | 34 +- tests/functional/ServiceTest.php | 61 +- 68 files changed, 2252 insertions(+), 1908 deletions(-) create mode 100644 .github/workflows/phpstan-6.yaml create mode 100644 .github/workflows/rector.yaml create mode 100644 rector.php diff --git a/.github/workflows/infection.yaml b/.github/workflows/infection.yaml index e79fa41..c5adb1e 100644 --- a/.github/workflows/infection.yaml +++ b/.github/workflows/infection.yaml @@ -4,31 +4,31 @@ jobs: infection: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' tools: composer:v2 coverage: pcov - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: '**/vendor' key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-composer- - - uses: php-actions/composer@v5 + - uses: php-actions/composer@v6 with: args: --prefer-dist - php_version: 8.1 + php_version: '8.2' - name: Infection run: | - wget -q https://github.com/infection/infection/releases/download/0.26.10/infection.phar - wget -q https://github.com/infection/infection/releases/download/0.26.10/infection.phar.asc + wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar + wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar.asc chmod +x infection.phar ./infection.phar - name: Store infection log - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: infection.log diff --git a/.github/workflows/phpstan-5.yaml b/.github/workflows/phpstan-5.yaml index b7ffe0b..65ec586 100644 --- a/.github/workflows/phpstan-5.yaml +++ b/.github/workflows/phpstan-5.yaml @@ -4,21 +4,21 @@ jobs: phpstan-5: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: '**/vendor' key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-composer- - - uses: php-actions/composer@v5 + - uses: php-actions/composer@v6 with: args: --prefer-dist - php_version: 8.1 + php_version: '8.2' - name: PHPStan uses: php-actions/phpstan@v2 with: path: src/ - args: --level=5 - php_version: 8.1 + level: 5 + php_version: '8.2' diff --git a/.github/workflows/phpstan-6.yaml b/.github/workflows/phpstan-6.yaml new file mode 100644 index 0000000..bac5b15 --- /dev/null +++ b/.github/workflows/phpstan-6.yaml @@ -0,0 +1,24 @@ +name: PHPStan level 6 +on: push +jobs: + phpstan-5: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: '**/vendor' + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- + - uses: php-actions/composer@v6 + with: + args: --prefer-dist + php_version: '8.2' + + - name: PHPStan + uses: php-actions/phpstan@v2 + with: + path: src/ + level: 6 + php_version: '8.2' diff --git a/.github/workflows/phpstan-7.yaml b/.github/workflows/phpstan-7.yaml index f050d9e..2f82550 100644 --- a/.github/workflows/phpstan-7.yaml +++ b/.github/workflows/phpstan-7.yaml @@ -4,21 +4,21 @@ jobs: phpstan-7: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: '**/vendor' key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-composer- - - uses: php-actions/composer@v5 + - uses: php-actions/composer@v6 with: args: --prefer-dist - php_version: 8.1 + php_version: '8.2' - name: PHPStan - uses: php-actions/phpstan@v2 + uses: php-actions/phpstan@v3 with: path: src/ - args: --level=7 - php_version: 8.1 + level: 7 + php_version: '8.2' diff --git a/.github/workflows/phpstan-8.yaml b/.github/workflows/phpstan-8.yaml index 9e8454a..0f56481 100644 --- a/.github/workflows/phpstan-8.yaml +++ b/.github/workflows/phpstan-8.yaml @@ -4,21 +4,21 @@ jobs: phpstan-8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: '**/vendor' key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-composer- - - uses: php-actions/composer@v5 + - uses: php-actions/composer@v6 with: args: --prefer-dist - php_version: 8.1 + php_version: '8.2' - name: PHPStan - uses: php-actions/phpstan@v2 + uses: php-actions/phpstan@v3 with: path: src/ - args: --level=8 - php_version: 8.1 + level: 8 + php_version: '8.2' diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 10dc85e..6ec2870 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -5,6 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' - name: Cs-Fixer run: | wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer @@ -14,49 +17,49 @@ jobs: phpunit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' tools: composer:v2 coverage: pcov - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: '**/vendor' key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-composer- - - uses: php-actions/composer@v5 + - uses: php-actions/composer@v6 with: args: --prefer-dist - php_version: 8.1 + php_version: '8.2' - name: Run tests & generate Coverage - run: bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage --whitelist=src + run: bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage - name: Store coverage files - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: var/coverage phpstan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: '**/vendor' key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-composer- - - uses: php-actions/composer@v5 + - uses: php-actions/composer@v6 with: args: --prefer-dist - php_version: 8.1 + php_version: '8.2' - name: PHPStan - uses: php-actions/phpstan@v2 + uses: php-actions/phpstan@v3 with: path: src/ - args: --level=4 - php_version: 8.1 + level: 4 + php_version: '8.2' diff --git a/.github/workflows/rector.yaml b/.github/workflows/rector.yaml new file mode 100644 index 0000000..6ac96c4 --- /dev/null +++ b/.github/workflows/rector.yaml @@ -0,0 +1,35 @@ +# github action that checks code with Rector +name: Rector + +on: + pull_request: null + +jobs: + rector: + runs-on: ubuntu-latest + if: github.event.pull_request.head.repo.full_name == 'php-etl/sylius-plugin' + steps: + - + if: github.event.pull_request.head.repo.full_name == github.repository + uses: actions/checkout@v3 + with: + # Must be used to trigger workflow after push + token: ${{ secrets.ACCESS_TOKEN }} + + - + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + coverage: none + + - uses: "ramsey/composer-install@v2" + + - run: bin/rector --ansi + + - + # commit only to core contributors who have repository access + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: '[rector] Rector fixes' + commit_author: 'GitHub Action ' + commit_user_email: 'action@github.com' diff --git a/.gitignore b/.gitignore index 57872d0..22a3c76 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /vendor/ +bin/ +.php-cs-fixer.cache +.phpunit.cache/ diff --git a/README.md b/README.md index fc2a082..3d9baf8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ Sylius Data Flows === +[![Mutations](https://github.com/php-etl/sylius-plugin/actions/workflows/infection.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/infection.yaml) +[![Quality](https://github.com/php-etl/sylius-plugin/actions/workflows/quality.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/quality.yaml) +[![PHPStan level 5](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-5.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-5.yaml) +[![PHPStan level 6](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-6.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-6.yaml) +[![PHPStan level 7](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-7.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-7.yaml) +[![PHPStan level 8](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-8.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-8.yaml) + Goal --- diff --git a/composer.json b/composer.json index 942d3c2..f7d7362 100644 --- a/composer.json +++ b/composer.json @@ -12,29 +12,31 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*", "nikic/php-parser": "^4.10", "symfony/config": "^5.2", - "php-etl/configurator-contracts": "^0.5.0", - "php-etl/packaging-contracts": "^0.1.0", - "php-etl/fast-map-plugin": "^0.7.0", - "php-etl/satellite-toolbox": "^0.3.0" + "php-etl/configurator-contracts": "^0.6@dev", + "php-etl/packaging-contracts": "^0.2@dev", + "php-etl/fast-map-plugin": "^0.8@dev", + "php-etl/satellite-toolbox": "^0.4@dev" }, "require-dev": { "php-http/mock-client": "^1.4@dev", "symfony/yaml": "^5.2", - "php-etl/bucket-contracts": "^0.1.0", - "phpunit/phpunit": "^9.0", + "php-etl/bucket-contracts": "^0.2@dev", + "phpunit/phpunit": "^9.5 || ^10.0", "laminas/laminas-diactoros": "^2.6", "johnkary/phpunit-speedtrap": "*", "mybuilder/phpunit-accelerator": "*", "phpunit/php-invoker": "*", "php-etl/sylius-api-php-client": "^2.0", "friendsofphp/php-cs-fixer": "^3.0", - "infection/infection": "^0.26.10", - "php-etl/phpunit-extension": "0.4.x-dev", - "php-etl/bucket": "^0.2.0" + "infection/infection": "^0.26.18", + "rector/rector": "^0.15", + "php-etl/phpunit-extension": "^0.5@dev", + "php-etl/bucket": "^0.3@dev", + "symfony/http-client": "^6.2" }, "autoload": { "psr-4": { @@ -57,7 +59,8 @@ "config": { "bin-dir": "bin", "allow-plugins": { - "infection/extension-installer": true + "infection/extension-installer": true, + "php-http/discovery": true } } } diff --git a/composer.lock b/composer.lock index 422a171..90afe77 100644 --- a/composer.lock +++ b/composer.lock @@ -4,38 +4,34 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9527205e9cba1445d03b2390ca151fbc", + "content-hash": "189655986a5ed426ffdb218948696930", "packages": [ { "name": "doctrine/inflector", - "version": "2.0.3", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210" + "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210", - "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", + "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^7.0", - "phpstan/phpstan": "^0.11", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-strict-rules": "^0.11", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" @@ -83,7 +79,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.x" + "source": "https://github.com/doctrine/inflector/tree/2.0.6" }, "funding": [ { @@ -99,20 +95,20 @@ "type": "tidelift" } ], - "time": "2020-05-29T15:13:26+00:00" + "time": "2022-10-20T09:10:12+00:00" }, { "name": "nikic/php-parser", - "version": "v4.14.0", + "version": "v4.15.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290", "shasum": "" }, "require": { @@ -153,37 +149,44 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4" }, - "time": "2022-05-31T20:59:12+00:00" + "time": "2023-03-05T19:49:14+00:00" }, { "name": "php-etl/configurator-contracts", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/configurator-contracts.git", - "reference": "5d4e2fe0ec058c548a465da28ba65e403fef03ad" + "reference": "f6f8eca44e7c5c46ffd36455853b6bf3a926b659" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/configurator-contracts/zipball/5d4e2fe0ec058c548a465da28ba65e403fef03ad", - "reference": "5d4e2fe0ec058c548a465da28ba65e403fef03ad", + "url": "https://api.github.com/repos/php-etl/configurator-contracts/zipball/f6f8eca44e7c5c46ffd36455853b6bf3a926b659", + "reference": "f6f8eca44e7c5c46ffd36455853b6bf3a926b659", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", - "php": "^8.0", - "php-etl/packaging-contracts": "^0.1.0", - "psr/log": "^1.0", - "symfony/config": "^5.2", + "php": "^8.2", + "php-etl/packaging-contracts": "^0.2@dev", + "psr/log": "^1.0||^2.0||^3.0", + "symfony/config": "^5.2 || ^6.0", "symfony/expression-language": "^5.2" }, - "default-branch": true, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.0", + "rector/rector": "^0.15" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.5.x-dev" + "dev-main": "0.6.x-dev", + "dev-feature/qualityflow-improvments": "0.6.x-dev" } }, "autoload": { @@ -208,32 +211,32 @@ "description": "This library describes contracts for defining configuration formats and building optimized code from it", "support": { "issues": "https://github.com/php-etl/configurator-contracts/issues", - "source": "https://github.com/php-etl/configurator-contracts/tree/main" + "source": "https://github.com/php-etl/configurator-contracts/tree/feature/qualityflow-improvments" }, - "time": "2022-05-25T14:10:02+00:00" + "time": "2023-03-21T13:39:01+00:00" }, { "name": "php-etl/fast-map", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/fast-map.git", - "reference": "30903f07f39211ab9eafec021dcf7005b8bd0099" + "reference": "8420a9ee22a4fd9e82b6375dd486e0b4a7ce54b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/fast-map/zipball/30903f07f39211ab9eafec021dcf7005b8bd0099", - "reference": "30903f07f39211ab9eafec021dcf7005b8bd0099", + "url": "https://api.github.com/repos/php-etl/fast-map/zipball/8420a9ee22a4fd9e82b6375dd486e0b4a7ce54b4", + "reference": "8420a9ee22a4fd9e82b6375dd486e0b4a7ce54b4", "shasum": "" }, "require": { "doctrine/inflector": "^2.0", "nikic/php-parser": "^4.10", - "php": "^8.0", - "php-etl/mapping-contracts": "^0.2.0", - "php-etl/metadata": "^0.2.0", - "php-etl/metadata-contracts": "^0.1.0", - "php-etl/satellite-toolbox": "^0.3.0", + "php": "^8.2", + "php-etl/mapping-contracts": "^0.3@dev", + "php-etl/metadata": "^0.3@dev", + "php-etl/metadata-contracts": "^0.2", + "php-etl/satellite-toolbox": "^0.4@dev", "symfony/cache": "^5.2", "symfony/expression-language": "^5.2", "symfony/property-access": "^5.2" @@ -241,18 +244,21 @@ "require-dev": { "adlawson/vfs": "dev-develop", "friends-of-phpspec/phpspec-code-coverage": "*", + "friendsofphp/php-cs-fixer": "^3.0", "johnkary/phpunit-speedtrap": "*", "mybuilder/phpunit-accelerator": "*", "php-etl/phpspec-extension": "*", "phpspec/phpspec": "^7.0", + "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.0 || ^10.0", + "rector/rector": "^0.15" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.3.x-dev" + "dev-main": "0.4.x-dev", + "dev-feature/qualityflow-improvments": "0.4.x-dev" } }, "autoload": { @@ -277,43 +283,46 @@ "description": "This library implements a compiled data mapping library", "support": { "issues": "https://github.com/php-etl/fast-map/issues", - "source": "https://github.com/php-etl/fast-map/tree/main" + "source": "https://github.com/php-etl/fast-map/tree/feature/qualityflow-improvments" }, - "time": "2022-05-27T08:57:42+00:00" + "time": "2023-03-21T13:36:19+00:00" }, { "name": "php-etl/fast-map-config", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/fast-map-config.git", - "reference": "80967e7a83d4ff68a0e6e2ba5612d3e7a16dad18" + "reference": "18e12dd849510be78c9dec0ca9b237396a7c09dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/fast-map-config/zipball/80967e7a83d4ff68a0e6e2ba5612d3e7a16dad18", - "reference": "80967e7a83d4ff68a0e6e2ba5612d3e7a16dad18", + "url": "https://api.github.com/repos/php-etl/fast-map-config/zipball/18e12dd849510be78c9dec0ca9b237396a7c09dd", + "reference": "18e12dd849510be78c9dec0ca9b237396a7c09dd", "shasum": "" }, "require": { - "php": "^8.0", - "php-etl/fast-map": "^0.3.0", - "php-etl/mapping-contracts": "^0.2.0", - "php-etl/metadata": "^0.2.0", + "php": "^8.2", + "php-etl/fast-map": "^0.4@dev", + "php-etl/mapping-contracts": "^0.3@dev", + "php-etl/metadata": "^0.3@dev", "symfony/expression-language": "^5.2", "symfony/property-access": "^5.2" }, "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", "johnkary/phpunit-speedtrap": "*", "mybuilder/phpunit-accelerator": "*", + "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^10.0", + "rector/rector": "^0.15" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.4.x-dev" + "dev-main": "0.5.x-dev", + "dev-feature/qualityflow-improvments": "0.5.x-dev" } }, "autoload": { @@ -338,32 +347,32 @@ "description": "This library implements the Extract-Transform-Load pattern asynchronously in PHP with the help of iterators and generators", "support": { "issues": "https://github.com/php-etl/fast-map-config/issues", - "source": "https://github.com/php-etl/fast-map-config/tree/main" + "source": "https://github.com/php-etl/fast-map-config/tree/feature/qualityflow-improvments" }, - "time": "2022-05-27T08:59:39+00:00" + "time": "2023-03-21T13:36:09+00:00" }, { "name": "php-etl/fast-map-plugin", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/fast-map-plugin.git", - "reference": "21834b666dc42506ae540305aea23addcc443fcf" + "reference": "97f29183c87c38fc5f102220373aec1fcd5c4d06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/fast-map-plugin/zipball/21834b666dc42506ae540305aea23addcc443fcf", - "reference": "21834b666dc42506ae540305aea23addcc443fcf", + "url": "https://api.github.com/repos/php-etl/fast-map-plugin/zipball/97f29183c87c38fc5f102220373aec1fcd5c4d06", + "reference": "97f29183c87c38fc5f102220373aec1fcd5c4d06", "shasum": "" }, "require": { "ext-json": "*", "nikic/php-parser": "^4.10", - "php": "^8.0", - "php-etl/configurator-contracts": "^0.5.0", - "php-etl/fast-map-config": "^0.4.0", - "php-etl/packaging-contracts": "^0.1.1", - "php-etl/satellite-toolbox": "^0.3.0", + "php": "^8.2", + "php-etl/configurator-contracts": "^0.6@dev", + "php-etl/fast-map-config": "^0.5@dev", + "php-etl/packaging-contracts": "^0.2@dev", + "php-etl/satellite-toolbox": "^0.4@dev", "symfony/config": "^5.2" }, "require-dev": { @@ -372,17 +381,19 @@ "friendsofphp/php-cs-fixer": "^3.0", "johnkary/phpunit-speedtrap": "*", "mybuilder/phpunit-accelerator": "*", - "php-etl/bucket": "0.2.x-dev", - "php-etl/phpunit-extension": "^0.2.0", + "php-etl/bucket": "^0.3@dev", + "php-etl/phpunit-extension": "^0.5@dev", "phpspec/phpspec": "^7.0", + "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.5 || ^10.0", + "rector/rector": "^0.15" }, - "default-branch": true, "type": "gyroscops-plugin", "extra": { "branch-alias": { - "dev-main": "0.7.x-dev" + "dev-main": "0.8.x-dev", + "dev-feature/qualityflow-improvments": "0.8.x-dev" }, "gyroscops": { "plugins": [ @@ -408,34 +419,40 @@ "description": "Adapters for the Fast Map mapping library", "support": { "issues": "https://github.com/php-etl/fast-map-plugin/issues", - "source": "https://github.com/php-etl/fast-map-plugin/tree/main" + "source": "https://github.com/php-etl/fast-map-plugin/tree/feature/qualityflow-improvments" }, - "time": "2022-05-27T09:11:19+00:00" + "time": "2023-03-21T13:44:23+00:00" }, { "name": "php-etl/mapping-contracts", - "version": "v0.2.0", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/mapping-contracts.git", - "reference": "6d69ed77a969278b6e5ca13209d7a5c0ca447844" + "reference": "3036809ea422ae0007014a6345cf37506176223f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/mapping-contracts/zipball/6d69ed77a969278b6e5ca13209d7a5c0ca447844", - "reference": "6d69ed77a969278b6e5ca13209d7a5c0ca447844", + "url": "https://api.github.com/repos/php-etl/mapping-contracts/zipball/3036809ea422ae0007014a6345cf37506176223f", + "reference": "3036809ea422ae0007014a6345cf37506176223f", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", - "php": "^8.0", - "php-etl/metadata-contracts": "^0.1.0", + "php": "^8.2", + "php-etl/metadata-contracts": "^0.2@dev", "symfony/property-access": "^5.2" }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "phpstan/phpstan": "^1.10", + "rector/rector": "^0.15" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.2.x-dev" + "dev-main": "0.3.x-dev", + "dev-feature/qualityflow-improvments": "0.3.x-dev" } }, "autoload": { @@ -460,44 +477,46 @@ "description": "Contracts for building compiled data mappers", "support": { "issues": "https://github.com/php-etl/mapping-contracts/issues", - "source": "https://github.com/php-etl/mapping-contracts/tree/v0.2.0" + "source": "https://github.com/php-etl/mapping-contracts/tree/feature/qualityflow-improvments" }, - "time": "2021-09-26T20:04:54+00:00" + "time": "2023-03-20T09:57:29+00:00" }, { "name": "php-etl/metadata", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/metadata.git", - "reference": "2240d8ea1eb53152a715d7f35a2259ca866e0c2f" + "reference": "6fa5581fb298ce8ca0af5963bc09a86c337c8941" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/metadata/zipball/2240d8ea1eb53152a715d7f35a2259ca866e0c2f", - "reference": "2240d8ea1eb53152a715d7f35a2259ca866e0c2f", + "url": "https://api.github.com/repos/php-etl/metadata/zipball/6fa5581fb298ce8ca0af5963bc09a86c337c8941", + "reference": "6fa5581fb298ce8ca0af5963bc09a86c337c8941", "shasum": "" }, "require": { "doctrine/inflector": "^2.0", "nikic/php-parser": "^4.9@dev", - "php": "^8.0", - "php-etl/metadata-contracts": "0.1.x-dev", + "php": "^8.2", + "php-etl/metadata-contracts": "^0.2", "phpactor/docblock": "^0.3.0@dev" }, "require-dev": { "friends-of-phpspec/phpspec-code-coverage": "^6.0", + "friendsofphp/php-cs-fixer": "^3.0", "johnkary/phpunit-speedtrap": "*", "mybuilder/phpunit-accelerator": "*", - "php-etl/phpspec-extension": "0.2.x-dev", + "php-etl/phpspec-extension": "^0.3@dev", "phpspec/phpspec": "^7.0", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.5 || ^10.0", + "rector/rector": "^0.15" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.2.x-dev" + "dev-main": "0.3.x-dev", + "dev-feature/qualityflow-improvments": "0.3.x-dev" } }, "autoload": { @@ -522,32 +541,34 @@ "description": "Describe data structures, to auto-configure and handle data transformation and data manipulation.", "support": { "issues": "https://github.com/php-etl/metadata/issues", - "source": "https://github.com/php-etl/metadata/tree/main" + "source": "https://github.com/php-etl/metadata/tree/feature/qualityflow-improvments" }, - "time": "2022-05-16T19:37:26+00:00" + "time": "2023-03-21T13:27:16+00:00" }, { "name": "php-etl/metadata-contracts", - "version": "dev-main", + "version": "v0.2.0", "source": { "type": "git", "url": "https://github.com/php-etl/metadata-contracts.git", - "reference": "1f15158446f02e6397a0f95c728f377a3dcbb49f" + "reference": "aa0196e8ea6d0372c4abe58f2d950bd65f834a27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/metadata-contracts/zipball/1f15158446f02e6397a0f95c728f377a3dcbb49f", - "reference": "1f15158446f02e6397a0f95c728f377a3dcbb49f", + "url": "https://api.github.com/repos/php-etl/metadata-contracts/zipball/aa0196e8ea6d0372c4abe58f2d950bd65f834a27", + "reference": "aa0196e8ea6d0372c4abe58f2d950bd65f834a27", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.2" + }, + "require-dev": { + "rector/rector": "^0.15" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.1.x-dev" + "dev-main": "0.2.x-dev" } }, "autoload": { @@ -562,7 +583,7 @@ "authors": [ { "name": "Kiboko SAS", - "homepage": "http://kiboko.fr" + "homepage": "https://kiboko.fr" }, { "name": "Grégory Planchat", @@ -572,32 +593,40 @@ "description": "Interfaces for the Metadata package whose role is to describe data structures.", "support": { "issues": "https://github.com/php-etl/metadata-contracts/issues", - "source": "https://github.com/php-etl/metadata-contracts/tree/main" + "source": "https://github.com/php-etl/metadata-contracts/tree/v0.2.0" }, - "time": "2022-05-16T19:37:24+00:00" + "time": "2023-03-02T21:55:04+00:00" }, { "name": "php-etl/packaging-contracts", - "version": "v0.1.1", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/packaging-contracts.git", - "reference": "1cea04542b05a721ec1433d4425247c2aaa47f0b" + "reference": "76a009ae6792f346694a67bf5794ba941612332e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/packaging-contracts/zipball/1cea04542b05a721ec1433d4425247c2aaa47f0b", - "reference": "1cea04542b05a721ec1433d4425247c2aaa47f0b", + "url": "https://api.github.com/repos/php-etl/packaging-contracts/zipball/76a009ae6792f346694a67bf5794ba941612332e", + "reference": "76a009ae6792f346694a67bf5794ba941612332e", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", - "php": "^8.0" + "php": "^8.2" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5 || ^10.0", + "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.1.x-dev" + "dev-main": "0.2.x-dev", + "dev-feature/qualityflow-improvments": "0.2.x-dev" } }, "autoload": { @@ -622,43 +651,47 @@ "description": "This library aims at providing contracts for building TAR archives, using PHP resources and streams", "support": { "issues": "https://github.com/php-etl/packaging-contracts/issues", - "source": "https://github.com/php-etl/packaging-contracts/tree/v0.1.1" + "source": "https://github.com/php-etl/packaging-contracts/tree/feature/qualityflow-improvments" }, - "time": "2021-09-26T19:38:57+00:00" + "time": "2023-03-21T13:26:59+00:00" }, { "name": "php-etl/satellite-toolbox", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/satellite-toolbox.git", - "reference": "df511d63c05116c6b576e99d697941d8c6505841" + "reference": "f275f485dcb0fa8b79e5ce7d4912981769d5e4fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/satellite-toolbox/zipball/df511d63c05116c6b576e99d697941d8c6505841", - "reference": "df511d63c05116c6b576e99d697941d8c6505841", + "url": "https://api.github.com/repos/php-etl/satellite-toolbox/zipball/f275f485dcb0fa8b79e5ce7d4912981769d5e4fa", + "reference": "f275f485dcb0fa8b79e5ce7d4912981769d5e4fa", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", - "php": "^8.0", - "php-etl/configurator-contracts": "^0.5.0", - "symfony/expression-language": "^5.2" + "php": "^8.2", + "php-etl/configurator-contracts": "^0.6@dev", + "symfony/expression-language": "^5.2||^6.0" }, "require-dev": { - "adlawson/vfs": "dev-develop", + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", "johnkary/phpunit-speedtrap": "*", + "mikey179/vfsstream": "^1.6", "mybuilder/phpunit-accelerator": "*", - "php-etl/phpunit-extension": "^0.2.0@dev", + "php-etl/phpunit-extension": "^0.5@dev", + "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.5 || ^10.0", + "rector/rector": "^0.15" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.3.x-dev" + "dev-main": "0.4.x-dev", + "dev-feature/qualityflow-improvments": "0.4.x-dev" } }, "autoload": { @@ -687,22 +720,22 @@ "description": "This library aims at building and running lambda PHP functions", "support": { "issues": "https://github.com/php-etl/satellite-toolbox/issues", - "source": "https://github.com/php-etl/satellite-toolbox/tree/main" + "source": "https://github.com/php-etl/satellite-toolbox/tree/feature/qualityflow-improvments" }, - "time": "2022-05-27T07:12:54+00:00" + "time": "2023-03-21T13:26:08+00:00" }, { "name": "phpactor/docblock", - "version": "0.3.4", + "version": "0.3.6", "source": { "type": "git", "url": "https://github.com/phpactor/docblock.git", - "reference": "a82cde09f49e388bb7a505465135aeff68c51647" + "reference": "a5567feab7b36938d6a1018a60efc5a7c4fd696c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpactor/docblock/zipball/a82cde09f49e388bb7a505465135aeff68c51647", - "reference": "a82cde09f49e388bb7a505465135aeff68c51647", + "url": "https://api.github.com/repos/phpactor/docblock/zipball/a5567feab7b36938d6a1018a60efc5a7c4fd696c", + "reference": "a5567feab7b36938d6a1018a60efc5a7c4fd696c", "shasum": "" }, "require": { @@ -739,9 +772,10 @@ "description": "Simple Docblock Parser", "support": { "issues": "https://github.com/phpactor/docblock/issues", - "source": "https://github.com/phpactor/docblock/tree/0.3.4" + "source": "https://github.com/phpactor/docblock/tree/0.3.6" }, - "time": "2021-02-06T14:38:53+00:00" + "abandoned": true, + "time": "2022-03-08T11:46:42+00:00" }, { "name": "psr/cache", @@ -847,30 +881,30 @@ }, { "name": "psr/log", - "version": "1.1.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "3.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Psr\\Log\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -891,22 +925,22 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" + "source": "https://github.com/php-fig/log/tree/3.0.0" }, - "time": "2021-05-03T11:20:27+00:00" + "time": "2021-07-14T16:46:02+00:00" }, { "name": "symfony/cache", - "version": "v5.4.9", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "a50b7249bea81ddd6d3b799ce40c5521c2f72f0b" + "reference": "32cab695bf99c63aff7d27ac67919944c00530ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/a50b7249bea81ddd6d3b799ce40c5521c2f72f0b", - "reference": "a50b7249bea81ddd6d3b799ce40c5521c2f72f0b", + "url": "https://api.github.com/repos/symfony/cache/zipball/32cab695bf99c63aff7d27ac67919944c00530ed", + "reference": "32cab695bf99c63aff7d27ac67919944c00530ed", "shasum": "" }, "require": { @@ -967,14 +1001,14 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides an extended PSR-6, PSR-16 (and tags) implementation", + "description": "Provides extended PSR-6, PSR-16 (and tags) implementations", "homepage": "https://symfony.com", "keywords": [ "caching", "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.4.9" + "source": "https://github.com/symfony/cache/tree/v5.4.21" }, "funding": [ { @@ -990,11 +1024,11 @@ "type": "tidelift" } ], - "time": "2022-05-21T10:24:18+00:00" + "time": "2023-02-21T12:11:13+00:00" }, { "name": "symfony/cache-contracts", - "version": "v2.5.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", @@ -1053,7 +1087,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/cache-contracts/tree/v2.5.2" }, "funding": [ { @@ -1073,22 +1107,22 @@ }, { "name": "symfony/config", - "version": "v5.3.4", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "4268f3059c904c61636275182707f81645517a37" + "reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/4268f3059c904c61636275182707f81645517a37", - "reference": "4268f3059c904c61636275182707f81645517a37", + "url": "https://api.github.com/repos/symfony/config/zipball/2a6b1111d038adfa15d52c0871e540f3b352d1e4", + "reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/filesystem": "^4.4|^5.0", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/filesystem": "^4.4|^5.0|^6.0", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-php80": "^1.16", "symfony/polyfill-php81": "^1.22" @@ -1097,11 +1131,11 @@ "symfony/finder": "<4.4" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/yaml": "^4.4|^5.0" + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/messenger": "^4.4|^5.0|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/yaml": "^4.4|^5.0|^6.0" }, "suggest": { "symfony/yaml": "To use the yaml reference dumper" @@ -1132,7 +1166,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.3.4" + "source": "https://github.com/symfony/config/tree/v5.4.21" }, "funding": [ { @@ -1148,29 +1182,29 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:40:44+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.1", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -1199,7 +1233,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1" }, "funding": [ { @@ -1215,20 +1249,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2023-03-01T10:25:55+00:00" }, { "name": "symfony/expression-language", - "version": "v5.4.8", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", - "reference": "9d186e1eecf9e3461c6adbdf1acf614b8da9def9" + "reference": "501589522b844b8eecf012c133f0404f0eef77ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/9d186e1eecf9e3461c6adbdf1acf614b8da9def9", - "reference": "9d186e1eecf9e3461c6adbdf1acf614b8da9def9", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/501589522b844b8eecf012c133f0404f0eef77ac", + "reference": "501589522b844b8eecf012c133f0404f0eef77ac", "shasum": "" }, "require": { @@ -1262,7 +1296,7 @@ "description": "Provides an engine that can compile and evaluate expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/expression-language/tree/v5.4.8" + "source": "https://github.com/symfony/expression-language/tree/v5.4.21" }, "funding": [ { @@ -1278,27 +1312,26 @@ "type": "tidelift" } ], - "time": "2022-04-08T05:07:18+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.9", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba" + "reference": "82b6c62b959f642d000456f08c6d219d749215b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/36a017fa4cce1eff1b8e8129ff53513abcef05ba", - "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/82b6c62b959f642d000456f08c6d219d749215b3", + "reference": "82b6c62b959f642d000456f08c6d219d749215b3", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", "autoload": { @@ -1326,7 +1359,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.9" + "source": "https://github.com/symfony/filesystem/tree/v6.2.7" }, "funding": [ { @@ -1342,20 +1375,20 @@ "type": "tidelift" } ], - "time": "2022-05-20T13:55:35+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, "require": { @@ -1370,7 +1403,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1408,7 +1441,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, "funding": [ { @@ -1424,20 +1457,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "433d05519ce6990bf3530fba6957499d327395c2" + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", - "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, "require": { @@ -1449,7 +1482,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1489,7 +1522,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" }, "funding": [ { @@ -1505,20 +1538,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, "require": { @@ -1530,7 +1563,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1573,7 +1606,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" }, "funding": [ { @@ -1589,20 +1622,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, "require": { @@ -1617,7 +1650,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1656,7 +1689,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" }, "funding": [ { @@ -1672,20 +1705,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "shasum": "" }, "require": { @@ -1694,7 +1727,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1735,7 +1768,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" }, "funding": [ { @@ -1751,20 +1784,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, "require": { @@ -1773,7 +1806,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1818,7 +1851,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { @@ -1834,20 +1867,20 @@ "type": "tidelift" } ], - "time": "2022-05-10T07:21:04+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.23.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "e66119f3de95efc359483f810c4c3e6436279436" + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/e66119f3de95efc359483f810c4c3e6436279436", - "reference": "e66119f3de95efc359483f810c4c3e6436279436", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, "require": { @@ -1856,7 +1889,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1864,12 +1897,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -1897,7 +1930,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" }, "funding": [ { @@ -1913,30 +1946,30 @@ "type": "tidelift" } ], - "time": "2021-05-21T13:25:03+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/property-access", - "version": "v5.3.8", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66" + "reference": "bbd4442bfbdf3992550772539ba743d6d834534f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66", - "reference": "2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66", + "url": "https://api.github.com/repos/symfony/property-access/zipball/bbd4442bfbdf3992550772539ba743d6d834534f", + "reference": "bbd4442bfbdf3992550772539ba743d6d834534f", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16", - "symfony/property-info": "^5.2" + "symfony/property-info": "^5.2|^6.0" }, "require-dev": { - "symfony/cache": "^4.4|^5.0" + "symfony/cache": "^4.4|^5.0|^6.0" }, "suggest": { "psr/cache-implementation": "To cache access methods." @@ -1978,7 +2011,7 @@ "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v5.3.8" + "source": "https://github.com/symfony/property-access/tree/v5.4.21" }, "funding": [ { @@ -1994,39 +2027,38 @@ "type": "tidelift" } ], - "time": "2021-09-10T11:55:24+00:00" + "time": "2023-02-16T09:33:00+00:00" }, { "name": "symfony/property-info", - "version": "v5.3.8", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "39de5bed8c036f76ec0457ec52908e45d5497947" + "reference": "5cf906918ea0f74032ffc5c0b85def246ce409df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/39de5bed8c036f76ec0457ec52908e45d5497947", - "reference": "39de5bed8c036f76ec0457ec52908e45d5497947", + "url": "https://api.github.com/repos/symfony/property-info/zipball/5cf906918ea0f74032ffc5c0b85def246ce409df", + "reference": "5cf906918ea0f74032ffc5c0b85def246ce409df", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php80": "^1.16", - "symfony/string": "^5.1" + "php": ">=8.1", + "symfony/string": "^5.4|^6.0" }, "conflict": { - "phpdocumentor/reflection-docblock": "<3.2.2", - "phpdocumentor/type-resolver": "<1.4.0", - "symfony/dependency-injection": "<4.4" + "phpdocumentor/reflection-docblock": "<5.2", + "phpdocumentor/type-resolver": "<1.5.1", + "symfony/dependency-injection": "<5.4" }, "require-dev": { - "doctrine/annotations": "^1.10.4", - "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/cache": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/serializer": "^4.4|^5.0" + "doctrine/annotations": "^1.10.4|^2", + "phpdocumentor/reflection-docblock": "^5.2", + "phpstan/phpdoc-parser": "^1.0", + "symfony/cache": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0" }, "suggest": { "phpdocumentor/reflection-docblock": "To use the PHPDoc", @@ -2068,7 +2100,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v5.3.8" + "source": "https://github.com/symfony/property-info/tree/v6.2.7" }, "funding": [ { @@ -2084,20 +2116,20 @@ "type": "tidelift" } ], - "time": "2021-09-07T07:41:40+00:00" + "time": "2023-02-14T08:53:37+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.1.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d66cd8ab656780f62c4215b903a420eb86358957" + "reference": "a8c9cedf55f314f3a186041d19537303766df09a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d66cd8ab656780f62c4215b903a420eb86358957", - "reference": "d66cd8ab656780f62c4215b903a420eb86358957", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a", + "reference": "a8c9cedf55f314f3a186041d19537303766df09a", "shasum": "" }, "require": { @@ -2113,7 +2145,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -2153,7 +2185,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.2.1" }, "funding": [ { @@ -2169,38 +2201,38 @@ "type": "tidelift" } ], - "time": "2022-05-07T08:07:09+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/string", - "version": "v5.4.9", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" + "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", - "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", + "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": ">=3.0" + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -2239,7 +2271,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.9" + "source": "https://github.com/symfony/string/tree/v6.2.7" }, "funding": [ { @@ -2255,20 +2287,20 @@ "type": "tidelift" } ], - "time": "2022-04-19T10:40:37+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { "name": "symfony/var-exporter", - "version": "v6.1.1", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "ce1452317b1210ddfe18d143fa8a09c18f034b89" + "reference": "86062dd0103530e151588c8f60f5b85a139f1442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/ce1452317b1210ddfe18d143fa8a09c18f034b89", - "reference": "ce1452317b1210ddfe18d143fa8a09c18f034b89", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/86062dd0103530e151588c8f60f5b85a139f1442", + "reference": "86062dd0103530e151588c8f60f5b85a139f1442", "shasum": "" }, "require": { @@ -2308,10 +2340,12 @@ "export", "hydrate", "instantiate", + "lazy loading", + "proxy", "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.1.1" + "source": "https://github.com/symfony/var-exporter/tree/v6.2.7" }, "funding": [ { @@ -2327,7 +2361,7 @@ "type": "tidelift" } ], - "time": "2022-05-27T12:58:07+00:00" + "time": "2023-02-24T10:42:00+00:00" } ], "packages-dev": [ @@ -2397,32 +2431,123 @@ ], "time": "2022-02-21T13:15:14+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/pcre", - "version": "1.0.1", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560" + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/67a32d7d6f9f560b726ab25a061b38ff3a80c560", - "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "phpstan/phpstan": "^1.3", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^4.2 || ^5" + "symfony/phpunit-bridge": "^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -2450,7 +2575,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/1.0.1" + "source": "https://github.com/composer/pcre/tree/3.1.0" }, "funding": [ { @@ -2466,7 +2591,7 @@ "type": "tidelift" } ], - "time": "2022-01-21T20:24:37+00:00" + "time": "2022-11-17T09:50:14+00:00" }, { "name": "composer/semver", @@ -2551,27 +2676,27 @@ }, { "name": "composer/xdebug-handler", - "version": "2.0.5", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "9e36aeed4616366d2b690bdce11f71e9178c579a" + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/9e36aeed4616366d2b690bdce11f71e9178c579a", - "reference": "9e36aeed4616366d2b690bdce11f71e9178c579a", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "composer/pcre": "^1", - "php": "^5.3.2 || ^7.0 || ^8.0", + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", "psr/log": "^1 || ^2 || ^3" }, "require-dev": { "phpstan/phpstan": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0" + "symfony/phpunit-bridge": "^6.0" }, "type": "library", "autoload": { @@ -2597,7 +2722,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.5" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" }, "funding": [ { @@ -2613,34 +2738,38 @@ "type": "tidelift" } ], - "time": "2022-02-24T20:20:32+00:00" + "time": "2022-02-25T21:32:43+00:00" }, { "name": "doctrine/annotations", - "version": "1.13.2", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08" + "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f", + "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f", "shasum": "" }, "require": { - "doctrine/lexer": "1.*", + "doctrine/lexer": "^2 || ^3", "ext-tokenizer": "*", - "php": "^7.1 || ^8.0", + "php": "^7.2 || ^8.0", "psr/cache": "^1 || ^2 || ^3" }, "require-dev": { - "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^6.0 || ^8.1", - "phpstan/phpstan": "^0.12.20", - "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", - "symfony/cache": "^4.4 || ^5.2" + "doctrine/cache": "^2.0", + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "symfony/cache": "^5.4 || ^6", + "vimeo/psalm": "^4.10" + }, + "suggest": { + "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" }, "type": "library", "autoload": { @@ -2683,106 +2812,38 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.2" - }, - "time": "2021-08-05T19:00:23+00:00" - }, - { - "name": "doctrine/instantiator", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^8.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "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.4.0" + "source": "https://github.com/doctrine/annotations/tree/2.0.1" }, - "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": "2020-11-10T18:47:58+00:00" + "time": "2023-02-02T22:02:53+00:00" }, { "name": "doctrine/lexer", - "version": "1.2.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + "reference": "84a527db05647743d50373e0ec53a152f2cde568" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", + "reference": "84a527db05647743d50373e0ec53a152f2cde568", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.11" + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.0" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + "Doctrine\\Common\\Lexer\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -2814,7 +2875,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.3" + "source": "https://github.com/doctrine/lexer/tree/3.0.0" }, "funding": [ { @@ -2830,24 +2891,24 @@ "type": "tidelift" } ], - "time": "2022-02-28T11:07:21+00:00" + "time": "2022-12-15T16:57:16+00:00" }, { "name": "fakerphp/faker", - "version": "v1.19.0", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75" + "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/d7f08a622b3346766325488aa32ddc93ccdecc75", - "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/92efad6a967f0b79c499705c69b662f738cc9e4d", + "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", + "php": "^7.4 || ^8.0", "psr/container": "^1.0 || ^2.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" }, @@ -2858,7 +2919,8 @@ "bamarni/composer-bin-plugin": "^1.4.1", "doctrine/persistence": "^1.3 || ^2.0", "ext-intl": "*", - "symfony/phpunit-bridge": "^4.4 || ^5.2" + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" }, "suggest": { "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", @@ -2870,7 +2932,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "v1.19-dev" + "dev-main": "v1.21-dev" } }, "autoload": { @@ -2895,58 +2957,120 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.19.0" + "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0" + }, + "time": "2022-12-13T13:54:32+00:00" + }, + { + "name": "fidry/cpu-core-counter", + "version": "0.4.1", + "source": { + "type": "git", + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/79261cc280aded96d098e1b0e0ba0c4881b432c2", + "reference": "79261cc280aded96d098e1b0e0ba0c4881b432c2", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "fidry/makefile": "^0.2.0", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-deprecation-rules": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", + "webmozarts/strict-phpunit": "^7.5" }, - "time": "2022-02-02T17:38:57+00:00" + "type": "library", + "autoload": { + "psr-4": { + "Fidry\\CpuCoreCounter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com" + } + ], + "description": "Tiny utility to get the number of CPU cores.", + "keywords": [ + "CPU", + "core" + ], + "support": { + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.4.1" + }, + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" + } + ], + "time": "2022-12-16T22:01:02+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.4.0", + "version": "v3.15.1", "source": { "type": "git", - "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "47177af1cfb9dab5d1cc4daf91b7179c2efe7fad" + "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", + "reference": "d48755372a113bddb99f749e34805d83f3acfe04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/47177af1cfb9dab5d1cc4daf91b7179c2efe7fad", - "reference": "47177af1cfb9dab5d1cc4daf91b7179c2efe7fad", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d48755372a113bddb99f749e34805d83f3acfe04", + "reference": "d48755372a113bddb99f749e34805d83f3acfe04", "shasum": "" }, "require": { - "composer/semver": "^3.2", - "composer/xdebug-handler": "^2.0", - "doctrine/annotations": "^1.12", + "composer/semver": "^3.3", + "composer/xdebug-handler": "^3.0.3", + "doctrine/annotations": "^2", + "doctrine/lexer": "^2 || ^3", "ext-json": "*", "ext-tokenizer": "*", - "php": "^7.2.5 || ^8.0", - "php-cs-fixer/diff": "^2.0", - "symfony/console": "^4.4.20 || ^5.1.3 || ^6.0", - "symfony/event-dispatcher": "^4.4.20 || ^5.0 || ^6.0", - "symfony/filesystem": "^4.4.20 || ^5.0 || ^6.0", - "symfony/finder": "^4.4.20 || ^5.0 || ^6.0", - "symfony/options-resolver": "^4.4.20 || ^5.0 || ^6.0", - "symfony/polyfill-mbstring": "^1.23", - "symfony/polyfill-php80": "^1.23", - "symfony/polyfill-php81": "^1.23", - "symfony/process": "^4.4.20 || ^5.0 || ^6.0", - "symfony/stopwatch": "^4.4.20 || ^5.0 || ^6.0" + "php": "^7.4 || ^8.0", + "sebastian/diff": "^4.0 || ^5.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/options-resolver": "^5.4 || ^6.0", + "symfony/polyfill-mbstring": "^1.27", + "symfony/polyfill-php80": "^1.27", + "symfony/polyfill-php81": "^1.27", + "symfony/process": "^5.4 || ^6.0", + "symfony/stopwatch": "^5.4 || ^6.0" }, "require-dev": { "justinrainbow/json-schema": "^5.2", - "keradus/cli-executor": "^1.5", - "mikey179/vfsstream": "^1.6.8", - "php-coveralls/php-coveralls": "^2.5.2", + "keradus/cli-executor": "^2.0", + "mikey179/vfsstream": "^1.6.11", + "php-coveralls/php-coveralls": "^2.5.3", "php-cs-fixer/accessible-object": "^1.1", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", - "phpspec/prophecy": "^1.15", - "phpspec/prophecy-phpunit": "^1.1 || ^2.0", - "phpunit/phpunit": "^8.5.21 || ^9.5", - "phpunitgoodpractices/polyfill": "^1.5", - "phpunitgoodpractices/traits": "^1.9.1", - "symfony/phpunit-bridge": "^5.2.4 || ^6.0", - "symfony/yaml": "^4.4.20 || ^5.0 || ^6.0" + "phpspec/prophecy": "^1.16", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "phpunitgoodpractices/polyfill": "^1.6", + "phpunitgoodpractices/traits": "^1.9.2", + "symfony/phpunit-bridge": "^6.2.3", + "symfony/yaml": "^5.4 || ^6.0" }, "suggest": { "ext-dom": "For handling output formats in XML", @@ -2976,9 +3100,15 @@ } ], "description": "A tool to automatically fix PHP code style", + "keywords": [ + "Static code analysis", + "fixer", + "standards", + "static analysis" + ], "support": { - "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.4.0" + "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.15.1" }, "funding": [ { @@ -2986,7 +3116,7 @@ "type": "github" } ], - "time": "2021-12-11T16:25:08+00:00" + "time": "2023-03-13T23:26:30+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -3167,50 +3297,52 @@ }, { "name": "infection/infection", - "version": "0.26.10", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "134853ce500c4669db7d6f9fe03ea5c8771a4540" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/134853ce500c4669db7d6f9fe03ea5c8771a4540", - "reference": "134853ce500c4669db7d6f9fe03ea5c8771a4540", + "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.13.2", + "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", - "seld/jsonlint": "^1.7", - "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/filesystem": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/finder": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/process": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", + "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/process": "^5.4 || ^6.0", "thecodingmachine/safe": "^2.1.2", - "webmozart/assert": "^1.3", - "webmozart/path-util": "^2.3" + "webmozart/assert": "^1.11" }, "conflict": { - "dg/bypass-finals": "*", - "phpunit/php-code-coverage": ">9 <9.1.4" + "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", @@ -3219,8 +3351,8 @@ "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", "phpunit/phpunit": "^9.5.5", - "symfony/phpunit-bridge": "^4.4.18 || ^5.1.10", - "symfony/yaml": "^5.0", + "symfony/phpunit-bridge": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0", "thecodingmachine/phpstan-safe-rule": "^1.2.0" }, "bin": [ @@ -3277,7 +3409,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.26.10" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -3289,35 +3421,35 @@ "type": "open_collective" } ], - "time": "2022-05-11T20:58:00+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "johnkary/phpunit-speedtrap", - "version": "v4.0.0", + "version": "v1.0.2", "source": { "type": "git", "url": "https://github.com/johnkary/phpunit-speedtrap.git", - "reference": "5f9b160eac87e975f1c6ca9faee5125f0616fba3" + "reference": "ad242a6e84b0d63d2e50832babad77d6d545bc0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/5f9b160eac87e975f1c6ca9faee5125f0616fba3", - "reference": "5f9b160eac87e975f1c6ca9faee5125f0616fba3", + "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/ad242a6e84b0d63d2e50832babad77d6d545bc0a", + "reference": "ad242a6e84b0d63d2e50832babad77d6d545bc0a", "shasum": "" }, "require": { - "php": ">=7.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, + "php": ">=5.6", + "phpunit/phpunit": ">=4.7" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { - "psr-4": { - "JohnKary\\PHPUnit\\Listener\\": "src/" + "psr-0": { + "JohnKary": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3330,7 +3462,7 @@ "email": "john@johnkary.net" } ], - "description": "Find and report on slow tests in your PHPUnit test suite", + "description": "Find slow tests in your PHPUnit test suite", "homepage": "https://github.com/johnkary/phpunit-speedtrap", "keywords": [ "phpunit", @@ -3339,9 +3471,9 @@ ], "support": { "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", - "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v4.0.0" + "source": "https://github.com/johnkary/phpunit-speedtrap/tree/master" }, - "time": "2021-05-03T02:37:05+00:00" + "time": "2017-02-13T15:22:35+00:00" }, { "name": "justinrainbow/json-schema", @@ -3415,25 +3547,24 @@ }, { "name": "laminas/laminas-diactoros", - "version": "2.8.0", + "version": "2.24.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-diactoros.git", - "reference": "0c26ef1d95b6d7e6e3943a243ba3dc0797227199" + "reference": "6028af6c3b5ced4d063a680d2483cce67578b902" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/0c26ef1d95b6d7e6e3943a243ba3dc0797227199", - "reference": "0c26ef1d95b6d7e6e3943a243ba3dc0797227199", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/6028af6c3b5ced4d063a680d2483cce67578b902", + "reference": "6028af6c3b5ced4d063a680d2483cce67578b902", "shasum": "" }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.0" }, "conflict": { - "phpspec/prophecy": "<1.9.0", "zendframework/zend-diactoros": "*" }, "provide": { @@ -3445,13 +3576,12 @@ "ext-dom": "*", "ext-gd": "*", "ext-libxml": "*", - "http-interop/http-factory-tests": "^0.8.0", - "laminas/laminas-coding-standard": "~1.0.0", - "php-http/psr7-integration-tests": "^1.1", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.1", - "psalm/plugin-phpunit": "^0.14.0", - "vimeo/psalm": "^4.3" + "http-interop/http-factory-tests": "^0.9.0", + "laminas/laminas-coding-standard": "^2.4.0", + "php-http/psr7-integration-tests": "^1.2", + "phpunit/phpunit": "^9.5.27", + "psalm/plugin-phpunit": "^0.18.4", + "vimeo/psalm": "^5.4" }, "type": "library", "extra": { @@ -3510,20 +3640,20 @@ "type": "community_bridge" } ], - "time": "2021-09-22T03:54:36+00:00" + "time": "2022-12-20T12:22:40+00:00" }, { "name": "mikey179/vfsstream", - "version": "v1.6.10", + "version": "v1.6.11", "source": { "type": "git", "url": "https://github.com/bovigo/vfsStream.git", - "reference": "250c0825537d501e327df879fb3d4cd751933b85" + "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/250c0825537d501e327df879fb3d4cd751933b85", - "reference": "250c0825537d501e327df879fb3d4cd751933b85", + "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", + "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", "shasum": "" }, "require": { @@ -3561,7 +3691,7 @@ "source": "https://github.com/bovigo/vfsStream/tree/master", "wiki": "https://github.com/bovigo/vfsStream/wiki" }, - "time": "2021-09-25T08:05:01+00:00" + "time": "2022-02-23T02:02:42+00:00" }, { "name": "mybuilder/phpunit-accelerator", @@ -3614,37 +3744,38 @@ }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3660,7 +3791,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -3668,7 +3799,7 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2023-03-08T13:26:56+00:00" }, { "name": "ondram/ci-detector", @@ -3810,16 +3941,16 @@ }, { "name": "phar-io/version", - "version": "3.1.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "bae7c545bef187884426f042434e561ab1ddb182" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", - "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -3855,92 +3986,45 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.0" - }, - "time": "2021-02-23T14:00:09+00:00" - }, - { - "name": "php-cs-fixer/diff", - "version": "v2.0.2", - "source": { - "type": "git", - "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/29dc0d507e838c4580d018bd8b5cb412474f7ec3", - "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", - "symfony/process": "^3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "sebastian/diff v3 backport support for PHP 5.6+", - "homepage": "https://github.com/PHP-CS-Fixer", - "keywords": [ - "diff" - ], - "support": { - "issues": "https://github.com/PHP-CS-Fixer/diff/issues", - "source": "https://github.com/PHP-CS-Fixer/diff/tree/v2.0.2" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2020-10-14T08:32:19+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "php-etl/bucket", - "version": "v0.2.0", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/bucket.git", - "reference": "a5a20ac8a33d9460f30b57ff92761031bc66a062" + "reference": "7d207325fb1d2bbdd6979ad89930fab856344b69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/bucket/zipball/a5a20ac8a33d9460f30b57ff92761031bc66a062", - "reference": "a5a20ac8a33d9460f30b57ff92761031bc66a062", + "url": "https://api.github.com/repos/php-etl/bucket/zipball/7d207325fb1d2bbdd6979ad89930fab856344b69", + "reference": "7d207325fb1d2bbdd6979ad89930fab856344b69", "shasum": "" }, "require": { - "php": "^8.0", - "php-etl/bucket-contracts": "^0.1.0" + "php": "^8.2", + "php-etl/bucket-contracts": "^0.2@dev" }, "require-dev": { "friends-of-phpspec/phpspec-code-coverage": "6.x-dev", + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", "johnkary/phpunit-speedtrap": "*", "mybuilder/phpunit-accelerator": "*", "phpspec/phpspec": "^7.0", + "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.5 || ^10.0", + "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.2.x-dev" + "dev-main": "0.3.x-dev", + "dev-feature/qualityflow-improvments": "0.3.x-dev" } }, "autoload": { @@ -3965,34 +4049,39 @@ "description": "This library implements the Extract-Transform-Load pattern asynchronously in PHP with the help of iterators and generators", "support": { "issues": "https://github.com/php-etl/bucket/issues", - "source": "https://github.com/php-etl/bucket/tree/v0.2.0" + "source": "https://github.com/php-etl/bucket/tree/feature/qualityflow-improvments" }, - "time": "2021-09-29T07:03:50+00:00" + "time": "2023-03-20T15:24:15+00:00" }, { "name": "php-etl/bucket-contracts", - "version": "v0.1.0", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/bucket-contracts.git", - "reference": "b5d682329b7f8ff66e0987f75fad190607c10ddf" + "reference": "81c029f14993fd246ec7f8b68c6ac95791dcd6ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/bucket-contracts/zipball/b5d682329b7f8ff66e0987f75fad190607c10ddf", - "reference": "b5d682329b7f8ff66e0987f75fad190607c10ddf", + "url": "https://api.github.com/repos/php-etl/bucket-contracts/zipball/81c029f14993fd246ec7f8b68c6ac95791dcd6ba", + "reference": "81c029f14993fd246ec7f8b68c6ac95791dcd6ba", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.2" }, "require-dev": { - "phpstan/phpstan": "0.12.x-dev" + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.0", + "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.1.x-dev" + "dev-main": "0.2.x-dev", + "dev-feature/qualityflow-improvments": "0.2.x-dev" } }, "autoload": { @@ -4017,22 +4106,22 @@ "description": "This library describes contracts for the data-interchange buckets.", "support": { "issues": "https://github.com/php-etl/bucket-contracts/issues", - "source": "https://github.com/php-etl/bucket-contracts/tree/v0.1.0" + "source": "https://github.com/php-etl/bucket-contracts/tree/feature/qualityflow-improvments" }, - "time": "2021-09-25T16:53:47+00:00" + "time": "2023-03-20T15:10:20+00:00" }, { "name": "php-etl/phpunit-extension", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/phpunit-extension.git", - "reference": "ea9fda4e1687284b45adbd3895f78acdc009c5b8" + "reference": "99da8b14f2bd65540ceb1751ce6d2abf0377dcd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/phpunit-extension/zipball/ea9fda4e1687284b45adbd3895f78acdc009c5b8", - "reference": "ea9fda4e1687284b45adbd3895f78acdc009c5b8", + "url": "https://api.github.com/repos/php-etl/phpunit-extension/zipball/99da8b14f2bd65540ceb1751ce6d2abf0377dcd2", + "reference": "99da8b14f2bd65540ceb1751ce6d2abf0377dcd2", "shasum": "" }, "require": { @@ -4040,17 +4129,23 @@ "laminas/laminas-diactoros": "^2.6", "mikey179/vfsstream": "^1.6", "nikic/php-parser": "^4.10", - "php": "^8.1", - "php-etl/pipeline-contracts": "^0.3.0", + "php": "^8.2", + "php-etl/pipeline-contracts": "^0.4@dev", "php-http/message": "^1.11", "php-http/mock-client": "^1.4@dev", - "phpunit/phpunit": "^9" + "phpunit/phpunit": "^9.5 || ^10.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", + "phpstan/phpstan": "^1.10", + "rector/rector": "^0.15" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.4.x-dev" + "dev-main": "0.5.x-dev", + "dev-feature/qualityflow-improvments": "0.5.x-dev" } }, "autoload": { @@ -4071,32 +4166,40 @@ "description": "Extension for testing FastMap and ETL components with PHPUnit testing framework", "support": { "issues": "https://github.com/php-etl/phpunit-extension/issues", - "source": "https://github.com/php-etl/phpunit-extension/tree/main" + "source": "https://github.com/php-etl/phpunit-extension/tree/feature/qualityflow-improvments" }, - "time": "2022-06-13T14:37:41+00:00" + "time": "2023-03-20T15:20:01+00:00" }, { "name": "php-etl/pipeline-contracts", - "version": "v0.3.3", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/pipeline-contracts.git", - "reference": "c89002bcc303194bbc9cf3efbff6da62c519ea70" + "reference": "59107fc3a4e7e5260624cb9b46d92ff9b0fa1ae8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/pipeline-contracts/zipball/c89002bcc303194bbc9cf3efbff6da62c519ea70", - "reference": "c89002bcc303194bbc9cf3efbff6da62c519ea70", + "url": "https://api.github.com/repos/php-etl/pipeline-contracts/zipball/59107fc3a4e7e5260624cb9b46d92ff9b0fa1ae8", + "reference": "59107fc3a4e7e5260624cb9b46d92ff9b0fa1ae8", "shasum": "" }, "require": { - "php": "^8.0", - "php-etl/bucket-contracts": "^0.1.0" + "php": "^8.2", + "php-etl/bucket-contracts": "^0.2@dev" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "infection/infection": "^0.26.18", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5 || ^10.0", + "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.3.x-dev" + "dev-main": "0.4.x-dev", + "dev-feature/qualityflow-improvments": "0.4.x-dev" } }, "autoload": { @@ -4121,9 +4224,9 @@ "description": "This library describes contracts for the Extract-Transform-Load pattern.", "support": { "issues": "https://github.com/php-etl/pipeline-contracts/issues", - "source": "https://github.com/php-etl/pipeline-contracts/tree/v0.3.3" + "source": "https://github.com/php-etl/pipeline-contracts/tree/feature/qualityflow-improvments" }, - "time": "2021-09-28T06:57:28+00:00" + "time": "2023-03-21T13:47:02+00:00" }, { "name": "php-etl/sylius-api-php-client", @@ -4131,12 +4234,12 @@ "source": { "type": "git", "url": "https://github.com/php-etl/sylius-api-php-client.git", - "reference": "7ff38bc2f2a666c56e1049fc3051c8e1e2cc59f9" + "reference": "1120f7c6f17693fe0ed993c62bec5280e5cc5e26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/sylius-api-php-client/zipball/7ff38bc2f2a666c56e1049fc3051c8e1e2cc59f9", - "reference": "7ff38bc2f2a666c56e1049fc3051c8e1e2cc59f9", + "url": "https://api.github.com/repos/php-etl/sylius-api-php-client/zipball/1120f7c6f17693fe0ed993c62bec5280e5cc5e26", + "reference": "1120f7c6f17693fe0ed993c62bec5280e5cc5e26", "shasum": "" }, "require": { @@ -4200,20 +4303,20 @@ "support": { "source": "https://github.com/php-etl/sylius-api-php-client/tree/main" }, - "time": "2022-06-13T13:59:33+00:00" + "time": "2022-08-01T07:41:49+00:00" }, { "name": "php-http/client-common", - "version": "2.4.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/php-http/client-common.git", - "reference": "29e0c60d982f04017069483e832b92074d0a90b2" + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/client-common/zipball/29e0c60d982f04017069483e832b92074d0a90b2", - "reference": "29e0c60d982f04017069483e832b92074d0a90b2", + "url": "https://api.github.com/repos/php-http/client-common/zipball/45db684cd4e186dcdc2b9c06b22970fe123796c0", + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0", "shasum": "" }, "require": { @@ -4224,14 +4327,14 @@ "psr/http-client": "^1.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.0", - "symfony/options-resolver": "^2.6 || ^3.4.20 || ~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0", + "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0", "symfony/polyfill-php80": "^1.17" }, "require-dev": { "doctrine/instantiator": "^1.1", "guzzlehttp/psr7": "^1.4", "nyholm/psr7": "^1.2", - "phpspec/phpspec": "^5.1 || ^6.0", + "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", "phpspec/prophecy": "^1.10.2", "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3" }, @@ -4273,44 +4376,50 @@ ], "support": { "issues": "https://github.com/php-http/client-common/issues", - "source": "https://github.com/php-http/client-common/tree/2.4.0" + "source": "https://github.com/php-http/client-common/tree/2.6.0" }, - "time": "2021-07-05T08:19:25+00:00" + "time": "2022-09-29T09:59:43+00:00" }, { "name": "php-http/discovery", - "version": "1.14.2", + "version": "1.15.2", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "c8d48852fbc052454af42f6de27635ddd916b959" + "reference": "5cc428320191ac1d0b6520034c2dc0698628ced5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/c8d48852fbc052454af42f6de27635ddd916b959", - "reference": "c8d48852fbc052454af42f6de27635ddd916b959", + "url": "https://api.github.com/repos/php-http/discovery/zipball/5cc428320191ac1d0b6520034c2dc0698628ced5", + "reference": "5cc428320191ac1d0b6520034c2dc0698628ced5", "shasum": "" }, "require": { + "composer-plugin-api": "^1.0|^2.0", "php": "^7.1 || ^8.0" }, "conflict": { "nyholm/psr7": "<1.0" }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "*", + "psr/http-factory-implementation": "*", + "psr/http-message-implementation": "*" + }, "require-dev": { + "composer/composer": "^1.0.2|^2.0", "graham-campbell/phpspec-skip-example-extension": "^5.0", "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1" - }, - "suggest": { - "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" + "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", + "symfony/phpunit-bridge": "^6.2" }, - "type": "library", + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } + "class": "Http\\Discovery\\Composer\\Plugin", + "plugin-optional": true }, "autoload": { "psr-4": { @@ -4327,7 +4436,7 @@ "email": "mark.sagikazar@gmail.com" } ], - "description": "Finds installed HTTPlug implementations and PSR-7 message factories", + "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", "homepage": "http://php-http.org", "keywords": [ "adapter", @@ -4336,13 +4445,14 @@ "factory", "http", "message", + "psr17", "psr7" ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.2" + "source": "https://github.com/php-http/discovery/tree/1.15.2" }, - "time": "2022-05-25T07:26:05+00:00" + "time": "2023-02-11T08:28:41+00:00" }, { "name": "php-http/httplug", @@ -4722,271 +4832,107 @@ "time": "2020-07-07T09:29:14+00:00" }, { - "name": "phpdocumentor/reflection-common", - "version": "2.2.0", + "name": "phpstan/phpstan", + "version": "1.10.7", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + "url": "https://github.com/phpstan/phpstan.git", + "reference": "b10ceb526d9607903c5b2673f1fc8775dbe48975" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b10ceb526d9607903c5b2673f1fc8775dbe48975", + "reference": "b10ceb526d9607903c5b2673f1fc8775dbe48975", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.2|^8.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev" - } + "conflict": { + "phpstan/phpstan-shim": "*" }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src/" - } + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", + "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", + "dev", "static analysis" ], "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, - "time": "2020-06-27T09:03:43+00:00" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", - "shasum": "" - }, - "require": { - "ext-filter": "*", - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", - "webmozart/assert": "^1.9.1" - }, - "require-dev": { - "mockery/mockery": "~1.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "funding": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "url": "https://github.com/ondrejmirtes", + "type": "github" }, { - "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" - }, - "time": "2020-09-03T19:13:55+00:00" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "1.5.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30f38bffc6f24293dadd1823936372dfa9e86e2f", - "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" - }, - "require-dev": { - "ext-tokenizer": "*", - "psalm/phar": "^4.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", - "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.0" - }, - "time": "2021-09-17T15:28:14+00:00" - }, - { - "name": "phpspec/prophecy", - "version": "1.14.0", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", - "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.2", - "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0", - "sebastian/recursion-context": "^3.0 || ^4.0" - }, - "require-dev": { - "phpspec/phpspec": "^6.0 || ^7.0", - "phpunit/phpunit": "^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" + "url": "https://github.com/phpstan", + "type": "github" }, { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" } ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.14.0" - }, - "time": "2021-09-10T09:02:12+00:00" + "time": "2023-03-16T15:24:20+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.7", + "version": "10.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" + "reference": "20800e84296ea4732f9a125e08ce86b4004ae3e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/20800e84296ea4732f9a125e08ce86b4004ae3e4", + "reference": "20800e84296ea4732f9a125e08ce86b4004ae3e4", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.12.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", + "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", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "10.0-dev" } }, "autoload": { @@ -5014,7 +4960,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.2" }, "funding": [ { @@ -5022,32 +4968,32 @@ "type": "github" } ], - "time": "2021-09-17T05:39:03+00:00" + "time": "2023-03-06T13:00:19+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.5", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8" + "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/fd9329ab3368f59fe1fe808a189c51086bd4b6bd", + "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -5074,7 +5020,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1" }, "funding": [ { @@ -5082,28 +5028,28 @@ "type": "github" } ], - "time": "2020-09-28T05:57:25+00:00" + "time": "2023-02-10T16:53:14+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcntl": "*" @@ -5111,7 +5057,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -5137,7 +5083,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -5145,32 +5091,32 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/9f3d3709577a527025f55bcf0f7ab8052c8bb37d", + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -5196,7 +5142,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0" }, "funding": [ { @@ -5204,32 +5150,32 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2023-02-03T06:56:46+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -5255,7 +5201,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -5263,24 +5209,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { "name": "phpunit/phpunit", - "version": "9.5.10", + "version": "10.0.17", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a" + "reference": "b75eddcabca052312ae38c8a2bc69ff1a7b89b77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c814a05837f2edb0d1471d6e3f4ab3501ca3899a", - "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b75eddcabca052312ae38c8a2bc69ff1a7b89b77", + "reference": "b75eddcabca052312ae38c8a2bc69ff1a7b89b77", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -5290,32 +5235,26 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.7", - "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.5", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.3", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^2.3.4", - "sebastian/version": "^3.0.2" - }, - "require-dev": { - "ext-pdo": "*", - "phpspec/prophecy-phpunit": "^2.0.1" + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.0", + "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.0", + "sebastian/global-state": "^6.0", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ "phpunit" @@ -5323,15 +5262,15 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-main": "10.0-dev" } }, "autoload": { - "classmap": [ - "src/" - ], "files": [ "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5354,19 +5293,24 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.10" + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.17" }, "funding": [ { - "url": "https://phpunit.de/donate.html", + "url": "https://phpunit.de/sponsors.html", "type": "custom" }, { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2021-09-25T07:38:51+00:00" + "time": "2023-03-20T14:42:33+00:00" }, { "name": "psr/event-dispatcher", @@ -5579,47 +5523,108 @@ "time": "2016-08-06T14:39:51+00:00" }, { - "name": "sanmai/later", - "version": "0.1.2", + "name": "rector/rector", + "version": "0.15.21", "source": { "type": "git", - "url": "https://github.com/sanmai/later.git", - "reference": "9b659fecef2030193fd02402955bc39629d5606f" + "url": "https://github.com/rectorphp/rector.git", + "reference": "1cee8cc5d6d836e1bf9a3006d7b062adde3a6022" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/later/zipball/9b659fecef2030193fd02402955bc39629d5606f", - "reference": "9b659fecef2030193fd02402955bc39629d5606f", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/1cee8cc5d6d836e1bf9a3006d7b062adde3a6022", + "reference": "1cee8cc5d6d836e1bf9a3006d7b062adde3a6022", "shasum": "" }, "require": { - "php": ">=7.1" + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.10.1" }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.13", - "infection/infection": ">=0.10.5", - "phan/phan": ">=2", - "php-coveralls/php-coveralls": "^2.0", - "phpstan/phpstan": ">=0.10", - "phpunit/phpunit": ">=7.4", - "vimeo/psalm": ">=2" + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" }, + "bin": [ + "bin/rector" + ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.15-dev" + } + }, "autoload": { "files": [ - "src/functions.php" - ], - "psr-4": { - "Later\\": "src/" - } + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], - "authors": [ - { - "name": "Alexey Kopytko", + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/0.15.21" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-03-06T11:44:29+00:00" + }, + { + "name": "sanmai/later", + "version": "0.1.2", + "source": { + "type": "git", + "url": "https://github.com/sanmai/later.git", + "reference": "9b659fecef2030193fd02402955bc39629d5606f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sanmai/later/zipball/9b659fecef2030193fd02402955bc39629d5606f", + "reference": "9b659fecef2030193fd02402955bc39629d5606f", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.13", + "infection/infection": ">=0.10.5", + "phan/phan": ">=2", + "php-coveralls/php-coveralls": "^2.0", + "phpstan/phpstan": ">=0.10", + "phpunit/phpunit": ">=7.4", + "vimeo/psalm": ">=2" + }, + "type": "library", + "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" } ], @@ -5638,16 +5643,16 @@ }, { "name": "sanmai/pipeline", - "version": "v6.1", + "version": "v6.3", "source": { "type": "git", "url": "https://github.com/sanmai/pipeline.git", - "reference": "3a88f2617237e18d5cd2aa38ca3d4b22770306c2" + "reference": "929b115ca58d62b6b2574702df1ebde4562c7c43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/pipeline/zipball/3a88f2617237e18d5cd2aa38ca3d4b22770306c2", - "reference": "3a88f2617237e18d5cd2aa38ca3d4b22770306c2", + "url": "https://api.github.com/repos/sanmai/pipeline/zipball/929b115ca58d62b6b2574702df1ebde4562c7c43", + "reference": "929b115ca58d62b6b2574702df1ebde4562c7c43", "shasum": "" }, "require": { @@ -5691,7 +5696,7 @@ "description": "General-purpose collections pipeline", "support": { "issues": "https://github.com/sanmai/pipeline/issues", - "source": "https://github.com/sanmai/pipeline/tree/v6.1" + "source": "https://github.com/sanmai/pipeline/tree/v6.3" }, "funding": [ { @@ -5699,32 +5704,32 @@ "type": "github" } ], - "time": "2022-01-30T08:15:59+00:00" + "time": "2022-11-30T06:07:06+00:00" }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -5747,7 +5752,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/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" }, "funding": [ { @@ -5755,32 +5760,32 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2023-02-03T06:58:15+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -5803,7 +5808,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/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -5811,32 +5816,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -5858,7 +5863,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/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -5866,34 +5871,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.6", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/72f01e6586e0caf6af81297897bd112eb7e9627c", + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -5932,7 +5939,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0" }, "funding": [ { @@ -5940,33 +5947,33 @@ "type": "github" } ], - "time": "2020-10-26T15:49:45+00:00" + "time": "2023-02-03T07:07:16+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/e67d240970c9dc7ea7b2123a6d520e334dd61dc6", + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -5989,7 +5996,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/3.0.0" }, "funding": [ { @@ -5997,33 +6004,33 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-02-03T06:59:47+00:00" }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "70dd1b20bc198da394ad542e988381b44e64e39f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/70dd1b20bc198da394ad542e988381b44e64e39f", + "reference": "70dd1b20bc198da394ad542e988381b44e64e39f", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^10.0", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -6055,7 +6062,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0" }, "funding": [ { @@ -6063,27 +6070,27 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-02-03T07:00:31+00:00" }, { "name": "sebastian/environment", - "version": "5.1.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac" + "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b6f3694c6386c7959915a0037652e0c40f6f69cc", + "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -6091,7 +6098,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -6110,7 +6117,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -6118,7 +6125,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0" }, "funding": [ { @@ -6126,34 +6133,34 @@ "type": "github" } ], - "time": "2020-09-28T05:52:38+00:00" + "time": "2023-02-03T07:03:04+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -6188,14 +6195,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0" }, "funding": [ { @@ -6203,38 +6210,35 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2023-02-03T07:06:49+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" + "reference": "aab257c712de87b90194febd52e4d184551c2d44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/aab257c712de87b90194febd52e4d184551c2d44", + "reference": "aab257c712de87b90194febd52e4d184551c2d44", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -6259,7 +6263,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0" }, "funding": [ { @@ -6267,33 +6271,33 @@ "type": "github" } ], - "time": "2021-06-11T13:31:12+00:00" + "time": "2023-02-03T07:07:38+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/17c4d940ecafb3d15d2cf916f4108f664e28b130", + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -6316,7 +6320,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.0" }, "funding": [ { @@ -6324,34 +6328,34 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-02-03T07:08:02+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -6373,7 +6377,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/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -6381,32 +6385,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -6428,7 +6432,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/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -6436,32 +6440,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -6488,10 +6492,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, "funding": [ { @@ -6499,87 +6503,32 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2023-02-03T07:05:40+00:00" }, { "name": "sebastian/type", - "version": "2.3.4", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -6602,7 +6551,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -6610,29 +6559,29 @@ "type": "github" } ], - "time": "2021-06-15T12:49:02+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { "name": "sebastian/version", - "version": "3.0.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -6655,7 +6604,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -6663,84 +6612,20 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" - }, - { - "name": "seld/jsonlint", - "version": "1.9.0", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "4211420d25eba80712bff236a98960ef68b866b7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/4211420d25eba80712bff236a98960ef68b866b7", - "reference": "4211420d25eba80712bff236a98960ef68b866b7", - "shasum": "" - }, - "require": { - "php": "^5.3 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" - }, - "bin": [ - "bin/jsonlint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Seld\\JsonLint\\": "src/Seld/JsonLint/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "JSON Linter", - "keywords": [ - "json", - "linter", - "parser", - "validator" - ], - "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.9.0" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" - } - ], - "time": "2022-04-01T13:37:23+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "symfony/console", - "version": "v6.1.0", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c9646197ef43b0e2ff44af61e7f0571526fd4170" + "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c9646197ef43b0e2ff44af61e7f0571526fd4170", - "reference": "c9646197ef43b0e2ff44af61e7f0571526fd4170", + "url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45", + "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45", "shasum": "" }, "require": { @@ -6807,7 +6692,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.1.0" + "source": "https://github.com/symfony/console/tree/v6.2.7" }, "funding": [ { @@ -6823,24 +6708,24 @@ "type": "tidelift" } ], - "time": "2022-05-27T06:34:22+00:00" + "time": "2023-02-25T17:00:03+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.0.3", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "6472ea2dd415e925b90ca82be64b8bc6157f3934" + "reference": "404b307de426c1c488e5afad64403e5f145e82a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/6472ea2dd415e925b90ca82be64b8bc6157f3934", - "reference": "6472ea2dd415e925b90ca82be64b8bc6157f3934", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/404b307de426c1c488e5afad64403e5f145e82a5", + "reference": "404b307de426c1c488e5afad64403e5f145e82a5", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/event-dispatcher-contracts": "^2|^3" }, "conflict": { @@ -6890,7 +6775,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.0.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.7" }, "funding": [ { @@ -6906,20 +6791,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.1.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "02ff5eea2f453731cfbc6bc215e456b781480448" + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448", - "reference": "02ff5eea2f453731cfbc6bc215e456b781480448", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", "shasum": "" }, "require": { @@ -6932,7 +6817,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -6969,7 +6854,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1" }, "funding": [ { @@ -6985,20 +6870,20 @@ "type": "tidelift" } ], - "time": "2022-02-25T11:15:52+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/finder", - "version": "v6.1.0", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "45b8beb69d6eb3b05a65689ebfd4222326773f8f" + "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/45b8beb69d6eb3b05a65689ebfd4222326773f8f", - "reference": "45b8beb69d6eb3b05a65689ebfd4222326773f8f", + "url": "https://api.github.com/repos/symfony/finder/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb", + "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb", "shasum": "" }, "require": { @@ -7033,7 +6918,173 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.1.0" + "source": "https://github.com/symfony/finder/tree/v6.2.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-02-16T09:57:23+00:00" + }, + { + "name": "symfony/http-client", + "version": "v6.2.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client.git", + "reference": "0a5be6cbc570ae23b51b49d67341f378629d78e4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client/zipball/0a5be6cbc570ae23b51b49d67341f378629d78e4", + "reference": "0a5be6cbc570ae23b51b49d67341f378629d78e4", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/http-client-contracts": "^3", + "symfony/service-contracts": "^1.0|^2|^3" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "1.0", + "symfony/http-client-implementation": "3.0" + }, + "require-dev": { + "amphp/amp": "^2.5", + "amphp/http-client": "^4.2.1", + "amphp/http-tunnel": "^1.0", + "amphp/socket": "^1.1", + "guzzlehttp/promises": "^1.4", + "nyholm/psr7": "^1.0", + "php-http/httplug": "^1.0|^2.0", + "psr/http-client": "^1.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/stopwatch": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-client/tree/v6.2.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-02-21T10:54:55+00:00" + }, + { + "name": "symfony/http-client-contracts", + "version": "v3.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "df2ecd6cb70e73c1080e6478aea85f5f4da2c48b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/df2ecd6cb70e73c1080e6478aea85f5f4da2c48b", + "reference": "df2ecd6cb70e73c1080e6478aea85f5f4da2c48b", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "suggest": { + "symfony/http-client-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to HTTP clients", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/http-client-contracts/tree/v3.2.1" }, "funding": [ { @@ -7049,27 +7100,25 @@ "type": "tidelift" } ], - "time": "2022-04-15T08:08:08+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.3.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "4b78e55b179003a42523a362cc0e8327f7a69b5e" + "reference": "aa0e85b53bbb2b4951960efd61d295907eacd629" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/4b78e55b179003a42523a362cc0e8327f7a69b5e", - "reference": "4b78e55b179003a42523a362cc0e8327f7a69b5e", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/aa0e85b53bbb2b4951960efd61d295907eacd629", + "reference": "aa0e85b53bbb2b4951960efd61d295907eacd629", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php73": "~1.0", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3" }, "type": "library", "autoload": { @@ -7102,7 +7151,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.3.7" + "source": "https://github.com/symfony/options-resolver/tree/v6.2.7" }, "funding": [ { @@ -7118,20 +7167,20 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:20:46+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/process", - "version": "v6.1.0", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "318718453c2be58266f1a9e74063d13cb8dd4165" + "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/318718453c2be58266f1a9e74063d13cb8dd4165", - "reference": "318718453c2be58266f1a9e74063d13cb8dd4165", + "url": "https://api.github.com/repos/symfony/process/zipball/680e8a2ea6b3f87aecc07a6a65a203ae573d1902", + "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902", "shasum": "" }, "require": { @@ -7163,7 +7212,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.1.0" + "source": "https://github.com/symfony/process/tree/v6.2.7" }, "funding": [ { @@ -7179,24 +7228,24 @@ "type": "tidelift" } ], - "time": "2022-05-11T12:12:29+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.0.5", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "f2c1780607ec6502f2121d9729fd8150a655d337" + "reference": "f3adc98c1061875dd2edcd45e5b04e63d0e29f8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f2c1780607ec6502f2121d9729fd8150a655d337", - "reference": "f2c1780607ec6502f2121d9729fd8150a655d337", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f3adc98c1061875dd2edcd45e5b04e63d0e29f8f", + "reference": "f3adc98c1061875dd2edcd45e5b04e63d0e29f8f", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/service-contracts": "^1|^2|^3" }, "type": "library", @@ -7225,7 +7274,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.0.5" + "source": "https://github.com/symfony/stopwatch/tree/v6.2.7" }, "funding": [ { @@ -7241,32 +7290,32 @@ "type": "tidelift" } ], - "time": "2022-02-21T17:15:17+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/yaml", - "version": "v5.3.6", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7" + "reference": "3713e20d93e46e681e51605d213027e48dab3469" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", - "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", + "url": "https://api.github.com/repos/symfony/yaml/zipball/3713e20d93e46e681e51605d213027e48dab3469", + "reference": "3713e20d93e46e681e51605d213027e48dab3469", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<4.4" + "symfony/console": "<5.3" }, "require-dev": { - "symfony/console": "^4.4|^5.0" + "symfony/console": "^5.3|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -7300,7 +7349,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.3.6" + "source": "https://github.com/symfony/yaml/tree/v5.4.21" }, "funding": [ { @@ -7316,20 +7365,20 @@ "type": "tidelift" } ], - "time": "2021-07-29T06:20:01+00:00" + "time": "2023-02-21T19:46:44+00:00" }, { "name": "thecodingmachine/safe", - "version": "v2.2.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "5570fbf82d3d27dfaff59db2bd1c9000838d66d9" + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/5570fbf82d3d27dfaff59db2bd1c9000838d66d9", - "reference": "5570fbf82d3d27dfaff59db2bd1c9000838d66d9", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/e788f3d09dcd36f806350aedb77eac348fafadd3", + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3", "shasum": "" }, "require": { @@ -7353,6 +7402,7 @@ "deprecated/array.php", "deprecated/datetime.php", "deprecated/libevent.php", + "deprecated/misc.php", "deprecated/password.php", "deprecated/mssql.php", "deprecated/stats.php", @@ -7452,9 +7502,9 @@ "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.2.0" + "source": "https://github.com/thecodingmachine/safe/tree/v2.4.0" }, - "time": "2022-05-25T13:37:55+00:00" + "time": "2022-10-07T14:02:17+00:00" }, { "name": "theseer/tokenizer", @@ -7563,71 +7613,26 @@ "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, "time": "2022-06-03T18:03:27+00:00" - }, - { - "name": "webmozart/path-util", - "version": "2.3.0", - "source": { - "type": "git", - "url": "https://github.com/webmozart/path-util.git", - "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725", - "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "webmozart/assert": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\PathUtil\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", - "support": { - "issues": "https://github.com/webmozart/path-util/issues", - "source": "https://github.com/webmozart/path-util/tree/2.3.0" - }, - "abandoned": "symfony/filesystem", - "time": "2015-12-17T08:42:14+00:00" } ], "aliases": [], "minimum-stability": "dev", "stability-flags": { + "php-etl/configurator-contracts": 20, + "php-etl/packaging-contracts": 20, + "php-etl/fast-map-plugin": 20, + "php-etl/satellite-toolbox": 20, "php-http/mock-client": 20, - "php-etl/phpunit-extension": 20 + "php-etl/bucket-contracts": 20, + "php-etl/phpunit-extension": 20, + "php-etl/bucket": 20 }, "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/infection.json.dist b/infection.json.dist index dca463f..da6f522 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -18,7 +18,6 @@ "@default": true }, "testFramework":"phpunit", - "initialTestsPhpOptions": "-d zend_extension=xdebug -d xdebug.mode=coverage", "minMsi": 60, "minCoveredMsi": 70 } diff --git a/phpunit.xml b/phpunit.xml index 704ff2e..eadaa79 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,49 +1,32 @@ - - - + - - - vendor - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" + backupGlobals="true" + colors="false" + processIsolation="false" + stopOnError="false" + stopOnFailure="false" + stopOnIncomplete="false" + stopOnSkipped="false" + stopOnRisky="false" + timeoutForSmallTests="1" + timeoutForMediumTests="10" + timeoutForLargeTests="60" + cacheDirectory=".phpunit.cache" + backupStaticProperties="false" + requireCoverageMetadata="false"> tests/functional/ + + + src + + - - - - - - 1000 - - - - - diff --git a/rector.php b/rector.php new file mode 100644 index 0000000..2db375a --- /dev/null +++ b/rector.php @@ -0,0 +1,27 @@ +paths([ + __DIR__ . '/src', + __DIR__ . '/tests', + ]); + + // register a single rule + $rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class); + + // define sets of rules + + $rectorConfig->sets([ + LevelSetList::UP_TO_PHP_82, + PHPUnitLevelSetList::UP_TO_PHPUNIT_100, + SymfonyLevelSetList::UP_TO_SYMFONY_60, + ]); +}; diff --git a/src/Builder/Capacity/All.php b/src/Builder/Capacity/All.php index ec5c4f5..471066a 100644 --- a/src/Builder/Capacity/All.php +++ b/src/Builder/Capacity/All.php @@ -10,15 +10,12 @@ final class All implements Builder { - private null|Node\Expr|Node\Identifier $endpoint; - private null|Node\Expr $search; - private null|Node\Expr $code; + private null|Node\Expr|Node\Identifier $endpoint = null; + private null|Node\Expr $search = null; + private null|Node\Expr $code = null; public function __construct() { - $this->endpoint = null; - $this->search = null; - $this->code = null; } public function withEndpoint(Node\Expr|Node\Identifier $endpoint): self @@ -51,7 +48,7 @@ public function getNode(): Node return new Node\Stmt\Expression( expr: new Node\Expr\Yield_( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), + class: new Node\Name\FullyQualified(name: \Kiboko\Component\Bucket\AcceptanceResultBucket::class), args: [ new Node\Arg( value: new Node\Expr\MethodCall( diff --git a/src/Builder/Capacity/Create.php b/src/Builder/Capacity/Create.php index 827b5a3..61eaefc 100644 --- a/src/Builder/Capacity/Create.php +++ b/src/Builder/Capacity/Create.php @@ -11,15 +11,12 @@ final class Create implements Builder { - private null|Node\Expr|Node\Identifier $endpoint; - private null|Node\Expr $code; - private null|Node\Expr $data; + private null|Node\Expr|Node\Identifier $endpoint = null; + private null|Node\Expr $code = null; + private null|Node\Expr $data = null; public function __construct() { - $this->endpoint = null; - $this->code = null; - $this->data = null; } public function withEndpoint(Node\Expr|Node\Identifier $endpoint): self @@ -81,7 +78,7 @@ public function getNode(): Node var: new Node\Expr\Variable('line'), expr: new Node\Expr\Yield_( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), + class: new Node\Name\FullyQualified(name: \Kiboko\Component\Bucket\AcceptanceResultBucket::class), args: [ new Node\Arg( value: new Node\Expr\Variable('line'), @@ -96,7 +93,7 @@ class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\Acceptance new Node\Stmt\Catch_( types: [ new Node\Name\FullyQualified( - name: 'Diglin\\Sylius\\ApiClient\\Exception\\HttpException', + name: \Diglin\Sylius\ApiClient\Exception\HttpException::class, ), ], var: new Node\Expr\Variable('exception'), @@ -165,7 +162,7 @@ class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\Acceptance expr: new Node\Expr\Yield_( value: new Node\Expr\New_( class: new Node\Name\FullyQualified( - name: 'Kiboko\\Component\\Bucket\\RejectionResultBucket' + name: \Kiboko\Component\Bucket\RejectionResultBucket::class ), args: [ new Node\Arg( diff --git a/src/Builder/Capacity/ListPerPage.php b/src/Builder/Capacity/ListPerPage.php index c2b9660..68484e6 100644 --- a/src/Builder/Capacity/ListPerPage.php +++ b/src/Builder/Capacity/ListPerPage.php @@ -10,15 +10,12 @@ final class ListPerPage implements Builder { - private null|Node\Expr|Node\Identifier $endpoint; - private null|Node\Expr $search; - private null|Node\Expr $code; + private null|Node\Expr|Node\Identifier $endpoint = null; + private null|Node\Expr $search = null; + private null|Node\Expr $code = null; public function __construct() { - $this->endpoint = null; - $this->search = null; - $this->code = null; } public function withEndpoint(Node\Expr|Node\Identifier $endpoint): self @@ -51,7 +48,7 @@ public function getNode(): Node return new Node\Stmt\Expression( expr: new Node\Expr\Yield_( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), + class: new Node\Name\FullyQualified(name: \Kiboko\Component\Bucket\AcceptanceResultBucket::class), args: [ new Node\Arg( value: new Node\Expr\MethodCall( diff --git a/src/Builder/Capacity/Upsert.php b/src/Builder/Capacity/Upsert.php index 3beb61d..cfecc63 100644 --- a/src/Builder/Capacity/Upsert.php +++ b/src/Builder/Capacity/Upsert.php @@ -11,15 +11,12 @@ final class Upsert implements Builder { - private null|Node\Expr|Node\Identifier $endpoint; - private null|Node\Expr $code; - private null|Node\Expr $data; + private null|Node\Expr|Node\Identifier $endpoint = null; + private null|Node\Expr $code = null; + private null|Node\Expr $data = null; public function __construct() { - $this->endpoint = null; - $this->code = null; - $this->data = null; } public function withEndpoint(Node\Expr|Node\Identifier $endpoint): self @@ -83,7 +80,7 @@ public function getNode(): Node new Node\Stmt\Catch_( types: [ new Node\Name\FullyQualified( - name: 'Diglin\\Sylius\\ApiClient\\Exception\\NotFoundHttpException', + name: \Diglin\Sylius\ApiClient\Exception\NotFoundHttpException::class, ), ], var: new Node\Expr\Variable('exception'), @@ -113,7 +110,7 @@ public function getNode(): Node var: new Node\Expr\Variable('line'), expr: new Node\Expr\Yield_( value: new Node\Expr\New_( - class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\AcceptanceResultBucket'), + class: new Node\Name\FullyQualified(name: \Kiboko\Component\Bucket\AcceptanceResultBucket::class), args: [ new Node\Arg( value: new Node\Expr\Variable('line'), @@ -128,10 +125,10 @@ class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\Acceptance new Node\Stmt\Catch_( types: [ new Node\Name\FullyQualified( - name: 'Diglin\\Sylius\\ApiClient\\Exception\\UnauthorizedHttpException', + name: \Diglin\Sylius\ApiClient\Exception\UnauthorizedHttpException::class, ), new Node\Name\FullyQualified( - name: 'Diglin\\Sylius\\ApiClient\\Exception\\BadRequestHttpException', + name: \Diglin\Sylius\ApiClient\Exception\BadRequestHttpException::class, ), ], var: new Node\Expr\Variable('exception'), @@ -200,7 +197,7 @@ class: new Node\Name\FullyQualified(name: 'Kiboko\\Component\\Bucket\\Acceptance expr: new Node\Expr\Yield_( value: new Node\Expr\New_( class: new Node\Name\FullyQualified( - name: 'Kiboko\\Component\\Bucket\\RejectionResultBucket' + name: \Kiboko\Component\Bucket\RejectionResultBucket::class ), args: [ new Node\Arg( @@ -219,7 +216,7 @@ class: new Node\Name\FullyQualified( new Node\Stmt\Catch_( types: [ new Node\Name\FullyQualified( - name: 'Diglin\\Sylius\\ApiClient\\Exception\\HttpException', + name: \Diglin\Sylius\ApiClient\Exception\HttpException::class, ), ], var: new Node\Expr\Variable('exception'), @@ -288,7 +285,7 @@ class: new Node\Name\FullyQualified( expr: new Node\Expr\Yield_( value: new Node\Expr\New_( class: new Node\Name\FullyQualified( - name: 'Kiboko\\Component\\Bucket\\RejectionResultBucket' + name: \Kiboko\Component\Bucket\RejectionResultBucket::class ), args: [ new Node\Arg( diff --git a/src/Builder/Client.php b/src/Builder/Client.php index 579fe8c..3af1458 100644 --- a/src/Builder/Client.php +++ b/src/Builder/Client.php @@ -10,28 +10,17 @@ final class Client implements Builder { - private ?Node\Expr $username; - private ?Node\Expr $password; - private ?Node\Expr $token; - private ?Node\Expr $refreshToken; - private ?Node\Expr $httpClient; - private ?Node\Expr $httpRequestFactory; - private ?Node\Expr $httpStreamFactory; - private ?Node\Expr $fileSystem; - - public function __construct( - private Node\Expr $baseUrl, - private Node\Expr $clientId, - private Node\Expr $secret - ) { - $this->username = null; - $this->password = null; - $this->token = null; - $this->refreshToken = null; - $this->httpClient = null; - $this->httpRequestFactory = null; - $this->httpStreamFactory = null; - $this->fileSystem = null; + private ?Node\Expr $username = null; + private ?Node\Expr $password = null; + private ?Node\Expr $token = null; + private ?Node\Expr $refreshToken = null; + private ?Node\Expr $httpClient = null; + private ?Node\Expr $httpRequestFactory = null; + private ?Node\Expr $httpStreamFactory = null; + private ?Node\Expr $fileSystem = null; + + public function __construct(private readonly Node\Expr $baseUrl, private readonly Node\Expr $clientId, private readonly Node\Expr $secret) + { } public function withToken(Node\Expr $token, Node\Expr $refreshToken): self diff --git a/src/Builder/Extractor.php b/src/Builder/Extractor.php index 9c30886..cfe674f 100644 --- a/src/Builder/Extractor.php +++ b/src/Builder/Extractor.php @@ -10,14 +10,11 @@ final class Extractor implements StepBuilderInterface { - private ?Node\Expr $logger; - private ?Node\Expr $client; + private ?Node\Expr $logger = null; + private ?Node\Expr $client = null; - public function __construct( - private Builder $capacity, - ) { - $this->logger = null; - $this->client = null; + public function __construct(private readonly Builder $capacity) + { } public function withClient(Node\Expr $client): self @@ -51,7 +48,7 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(name: 'Kiboko\\Contract\\Pipeline\\ExtractorInterface'), + new Node\Name\FullyQualified(name: \Kiboko\Contract\Pipeline\ExtractorInterface::class), ], 'stmts' => [ new Node\Stmt\ClassMethod( @@ -61,12 +58,12 @@ class: new Node\Stmt\Class_( 'params' => [ new Node\Param( var: new Node\Expr\Variable('client'), - type: new Node\Name\FullyQualified(name: 'Diglin\\Sylius\\ApiClient\\SyliusLegacyClientInterface'), + type: new Node\Name\FullyQualified(name: \Diglin\Sylius\ApiClient\SyliusLegacyClientInterface::class), flags: Node\Stmt\Class_::MODIFIER_PUBLIC, ), new Node\Param( var: new Node\Expr\Variable('logger'), - type: new Node\Name\FullyQualified(name: 'Psr\\Log\\LoggerInterface'), + type: new Node\Name\FullyQualified(name: \Psr\Log\LoggerInterface::class), flags: Node\Stmt\Class_::MODIFIER_PUBLIC, ), ], @@ -132,7 +129,7 @@ class: new Node\Stmt\Class_( ), args: [ new Node\Arg(value: $this->client), - new Node\Arg(value: $this->logger ?? new Node\Expr\New_(new Node\Name\FullyQualified('Psr\\Log\\NullLogger'))), + new Node\Arg(value: $this->logger ?? new Node\Expr\New_(new Node\Name\FullyQualified(\Psr\Log\NullLogger::class))), ], ); } diff --git a/src/Builder/Loader.php b/src/Builder/Loader.php index 5c1f3f9..d5c4f57 100644 --- a/src/Builder/Loader.php +++ b/src/Builder/Loader.php @@ -10,14 +10,11 @@ final class Loader implements StepBuilderInterface { - private ?Node\Expr $logger; - private ?Node\Expr $client; + private ?Node\Expr $logger = null; + private ?Node\Expr $client = null; - public function __construct( - private Builder $capacity, - ) { - $this->logger = null; - $this->client = null; + public function __construct(private readonly Builder $capacity) + { } public function withClient(Node\Expr $client): self @@ -51,7 +48,7 @@ class: new Node\Stmt\Class_( name: null, subNodes: [ 'implements' => [ - new Node\Name\FullyQualified(name: 'Kiboko\\Contract\\Pipeline\\LoaderInterface'), + new Node\Name\FullyQualified(name: \Kiboko\Contract\Pipeline\LoaderInterface::class), ], 'stmts' => [ new Node\Stmt\ClassMethod( @@ -61,12 +58,12 @@ class: new Node\Stmt\Class_( 'params' => [ new Node\Param( var: new Node\Expr\Variable('client'), - type: new Node\Name\FullyQualified(name: 'Diglin\\Sylius\\ApiClient\\SyliusLegacyClientInterface'), + type: new Node\Name\FullyQualified(name: \Diglin\Sylius\ApiClient\SyliusLegacyClientInterface::class), flags: Node\Stmt\Class_::MODIFIER_PRIVATE, ), new Node\Param( var: new Node\Expr\Variable('logger'), - type: new Node\Name\FullyQualified(name: 'Psr\\Log\\LoggerInterface'), + type: new Node\Name\FullyQualified(name: \Psr\Log\LoggerInterface::class), flags: Node\Stmt\Class_::MODIFIER_PRIVATE, ), ], @@ -138,7 +135,7 @@ class: new Node\Stmt\Class_( ), args: [ new Node\Arg(value: $this->client), - new Node\Arg(value: $this->logger ?? new Node\Expr\New_(new Node\Name\FullyQualified('Psr\\Log\\NullLogger'))), + new Node\Arg(value: $this->logger ?? new Node\Expr\New_(new Node\Name\FullyQualified(\Psr\Log\NullLogger::class))), ], ); } diff --git a/src/Builder/Search.php b/src/Builder/Search.php index a8f3f00..fe16ec9 100644 --- a/src/Builder/Search.php +++ b/src/Builder/Search.php @@ -63,7 +63,7 @@ public function addFilter( public function getNode(): Node { $instance = new Node\Expr\New_( - class: new Node\Name\FullyQualified('Diglin\\Sylius\\ApiClient\\Search\\SearchBuilder') + class: new Node\Name\FullyQualified(\Diglin\Sylius\ApiClient\Search\SearchBuilder::class) ); foreach ($this->filters as $filterSpec) { diff --git a/src/Capacity/All.php b/src/Capacity/All.php index c5a14c1..61593ca 100644 --- a/src/Capacity/All.php +++ b/src/Capacity/All.php @@ -4,15 +4,16 @@ namespace Kiboko\Plugin\Sylius\Capacity; -use function Kiboko\Component\SatelliteToolbox\Configuration\compileValue; use Kiboko\Plugin\Sylius; use PhpParser\Builder; use PhpParser\Node; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; +use function Kiboko\Component\SatelliteToolbox\Configuration\compileValue; + final class All implements CapacityInterface { - private static $endpoints = [ + private static array $endpoints = [ // Simple resources Endpoints 'channels', 'countries', @@ -40,14 +41,14 @@ final class All implements CapacityInterface 'zones', ]; - private static $doubleEndpoints = [ + private static array $doubleEndpoints = [ // Double resources Endpoints 'productReviews', 'productVariants', 'promotionCoupons', ]; - public function __construct(private ExpressionLanguage $interpreter) + public function __construct(private readonly ExpressionLanguage $interpreter) { } @@ -78,7 +79,7 @@ private function compileFilters(array ...$filters): Node public function getBuilder(array $config): Builder { $builder = (new Sylius\Builder\Capacity\All()) - ->withEndpoint(new Node\Identifier(sprintf('get%sApi', ucfirst($config['type'])))) + ->withEndpoint(new Node\Identifier(sprintf('get%sApi', ucfirst((string) $config['type'])))) ; if (isset($config['search']) && \is_array($config['search'])) { diff --git a/src/Capacity/Create.php b/src/Capacity/Create.php index 14dfd74..0b02a08 100644 --- a/src/Capacity/Create.php +++ b/src/Capacity/Create.php @@ -10,7 +10,7 @@ final class Create implements CapacityInterface { - private static $endpoints = [ + private static array $endpoints = [ // Core Endpoints 'channels', 'countries', @@ -51,7 +51,7 @@ public function applies(array $config): bool public function getBuilder(array $config): Builder { return (new Sylius\Builder\Capacity\Create()) - ->withEndpoint(endpoint: new Node\Identifier(sprintf('get%sApi', ucfirst($config['type'])))) + ->withEndpoint(endpoint: new Node\Identifier(sprintf('get%sApi', ucfirst((string) $config['type'])))) ->withCode(code: new Node\Expr\ArrayDimFetch( var: new Node\Expr\Variable('line'), dim: new Node\Scalar\String_('code') diff --git a/src/Capacity/ListPerPage.php b/src/Capacity/ListPerPage.php index f8bd3cd..fef12ef 100644 --- a/src/Capacity/ListPerPage.php +++ b/src/Capacity/ListPerPage.php @@ -4,15 +4,16 @@ namespace Kiboko\Plugin\Sylius\Capacity; -use function Kiboko\Component\SatelliteToolbox\Configuration\compileValue; use Kiboko\Plugin\Sylius; use PhpParser\Builder; use PhpParser\Node; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; +use function Kiboko\Component\SatelliteToolbox\Configuration\compileValue; + final class ListPerPage implements CapacityInterface { - private static $endpoints = [ + private static array $endpoints = [ // Simple resources Endpoints 'channels', 'countries', @@ -40,14 +41,14 @@ final class ListPerPage implements CapacityInterface 'zones', ]; - private static $doubleEndpoints = [ + private static array $doubleEndpoints = [ // Double resources Endpoints 'productReviews', 'productVariants', 'promotionCoupons', ]; - public function __construct(private ExpressionLanguage $interpreter) + public function __construct(private readonly ExpressionLanguage $interpreter) { } @@ -78,7 +79,7 @@ private function compileFilters(array ...$filters): Node public function getBuilder(array $config): Builder { $builder = (new Sylius\Builder\Capacity\ListPerPage()) - ->withEndpoint(new Node\Identifier(sprintf('get%sApi', ucfirst($config['type'])))) + ->withEndpoint(new Node\Identifier(sprintf('get%sApi', ucfirst((string) $config['type'])))) ; if (isset($config['search']) && \is_array($config['search'])) { diff --git a/src/Capacity/Upsert.php b/src/Capacity/Upsert.php index 8e04979..83b7079 100644 --- a/src/Capacity/Upsert.php +++ b/src/Capacity/Upsert.php @@ -10,7 +10,7 @@ final class Upsert implements CapacityInterface { - private static $endpoints = [ + private static array $endpoints = [ // Core Endpoints 'carts', 'channels', @@ -53,7 +53,7 @@ public function applies(array $config): bool public function getBuilder(array $config): Builder { return (new Sylius\Builder\Capacity\Upsert()) - ->withEndpoint(endpoint: new Node\Identifier(sprintf('get%sApi', ucfirst($config['type'])))) + ->withEndpoint(endpoint: new Node\Identifier(sprintf('get%sApi', ucfirst((string) $config['type'])))) ->withCode(code: new Node\Expr\ArrayDimFetch( var: new Node\Expr\Variable('line'), dim: new Node\Scalar\String_('code') diff --git a/src/Configuration.php b/src/Configuration.php index 8483e5a..a0b0315 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -9,7 +9,7 @@ final class Configuration implements PluginConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $client = new Configuration\Client(); $extractor = new Configuration\Extractor(); diff --git a/src/Configuration/Client.php b/src/Configuration/Client.php index 4d619b5..bd4840f 100644 --- a/src/Configuration/Client.php +++ b/src/Configuration/Client.php @@ -4,13 +4,14 @@ namespace Kiboko\Plugin\Sylius\Configuration; +use Symfony\Component\Config; + use function Kiboko\Component\SatelliteToolbox\Configuration\asExpression; use function Kiboko\Component\SatelliteToolbox\Configuration\isExpression; -use Symfony\Component\Config; final class Client implements Config\Definition\ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $builder = new Config\Definition\Builder\TreeBuilder('client'); @@ -26,7 +27,7 @@ public function getConfigTreeBuilder() throw new Config\Definition\Exception\InvalidConfigurationException('The configuration option "refreshToken" should be defined if you use the token authentication method for Sylius API.'); } if (isset($value['username'], $value['token']) || (!isset($value['username']) && !isset($value['token'])) - ) { + ) { throw new Config\Definition\Exception\InvalidConfigurationException('You must choose between "username" and "token" as authentication method for Sylius API, both are mutually exclusive.'); } diff --git a/src/Configuration/Extractor.php b/src/Configuration/Extractor.php index 53c77f4..cf91ae9 100644 --- a/src/Configuration/Extractor.php +++ b/src/Configuration/Extractor.php @@ -4,9 +4,10 @@ namespace Kiboko\Plugin\Sylius\Configuration; +use Symfony\Component\Config; + use function Kiboko\Component\SatelliteToolbox\Configuration\asExpression; use function Kiboko\Component\SatelliteToolbox\Configuration\isExpression; -use Symfony\Component\Config; final class Extractor implements Config\Definition\ConfigurationInterface { @@ -124,14 +125,14 @@ final class Extractor implements Config\Definition\ConfigurationInterface ], ]; - private static $doubleEndpoints = [ + private static array $doubleEndpoints = [ // Double resources Endpoints 'productReviews', 'productVariants', 'promotionCoupons', ]; - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $filters = new Search(); @@ -147,7 +148,7 @@ public function getConfigTreeBuilder() && !\in_array($item['method'], self::$endpoints[$item['type']]) && !\in_array($item['type'], self::$doubleEndpoints) ) { - throw new \InvalidArgumentException(sprintf('The value should be one of [%s], got %s.', implode(', ', self::$endpoints[$item['type']]), json_encode($item['method']))); + throw new \InvalidArgumentException(sprintf('The value should be one of [%s], got %s.', implode(', ', self::$endpoints[$item['type']]), json_encode($item['method'], \JSON_THROW_ON_ERROR))); } return $item; diff --git a/src/Configuration/Loader.php b/src/Configuration/Loader.php index ee38153..a62d237 100644 --- a/src/Configuration/Loader.php +++ b/src/Configuration/Loader.php @@ -101,7 +101,7 @@ final class Loader implements Config\Definition\ConfigurationInterface ], ]; - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $builder = new Config\Definition\Builder\TreeBuilder('loader'); @@ -111,7 +111,7 @@ public function getConfigTreeBuilder() ->ifArray() ->then(function (array $item) { if (!\in_array($item['method'], self::$endpoints[$item['type']])) { - throw new \InvalidArgumentException(sprintf('the value should be one of [%s], got %s', implode(', ', self::$endpoints[$item['type']]), json_encode($item['method']))); + throw new \InvalidArgumentException(sprintf('the value should be one of [%s], got %s', implode(', ', self::$endpoints[$item['type']]), json_encode($item['method'], \JSON_THROW_ON_ERROR))); } return $item; diff --git a/src/Configuration/Search.php b/src/Configuration/Search.php index b41bf37..3b454b0 100644 --- a/src/Configuration/Search.php +++ b/src/Configuration/Search.php @@ -4,13 +4,14 @@ namespace Kiboko\Plugin\Sylius\Configuration; +use Symfony\Component\Config; + use function Kiboko\Component\SatelliteToolbox\Configuration\asExpression; use function Kiboko\Component\SatelliteToolbox\Configuration\isExpression; -use Symfony\Component\Config; final class Search implements Config\Definition\ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $builder = new Config\Definition\Builder\TreeBuilder('search'); diff --git a/src/Factory/Client.php b/src/Factory/Client.php index 42387ad..5c61386 100644 --- a/src/Factory/Client.php +++ b/src/Factory/Client.php @@ -4,7 +4,6 @@ namespace Kiboko\Plugin\Sylius\Factory; -use function Kiboko\Component\SatelliteToolbox\Configuration\compileValueWhenExpression; use Kiboko\Contract\Configurator; use Kiboko\Plugin\Sylius; use PhpParser\Node; @@ -13,7 +12,9 @@ use Symfony\Component\Config\Definition\Processor; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; -final class Client implements Configurator\FactoryInterface +use function Kiboko\Component\SatelliteToolbox\Configuration\compileValueWhenExpression; + +final readonly class Client implements Configurator\FactoryInterface { private Processor $processor; private ConfigurationInterface $configuration; @@ -61,9 +62,9 @@ private function buildFactoryNode(string $name): Node\Expr } return new Node\Expr\StaticCall( - new Node\Name\FullyQualified(substr($name, 0, $position)), - new Node\Identifier(substr($name, $position + 2)), - ); + new Node\Name\FullyQualified(substr($name, 0, $position)), + new Node\Identifier(substr($name, $position + 2)), + ); } public function compile(array $config): Repository\Client diff --git a/src/Factory/Extractor.php b/src/Factory/Extractor.php index f249adb..cbd3980 100644 --- a/src/Factory/Extractor.php +++ b/src/Factory/Extractor.php @@ -11,7 +11,7 @@ use Symfony\Component\Config\Definition\Processor; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; -final class Extractor implements Configurator\FactoryInterface +final readonly class Extractor implements Configurator\FactoryInterface { private Processor $processor; private ConfigurationInterface $configuration; diff --git a/src/Factory/Loader.php b/src/Factory/Loader.php index f9282f7..e75a917 100644 --- a/src/Factory/Loader.php +++ b/src/Factory/Loader.php @@ -10,7 +10,7 @@ use Symfony\Component\Config\Definition\Exception as Symfony; use Symfony\Component\Config\Definition\Processor; -final class Loader implements Configurator\FactoryInterface +final readonly class Loader implements Configurator\FactoryInterface { private Processor $processor; private ConfigurationInterface $configuration; diff --git a/src/Factory/Repository/Client.php b/src/Factory/Repository/Client.php index a593dd0..da6d042 100644 --- a/src/Factory/Repository/Client.php +++ b/src/Factory/Repository/Client.php @@ -11,7 +11,7 @@ final class Client implements Configurator\RepositoryInterface { use RepositoryTrait; - public function __construct(private Sylius\Builder\Client $builder) + public function __construct(private readonly Sylius\Builder\Client $builder) { $this->files = []; $this->packages = []; diff --git a/src/Factory/Repository/Extractor.php b/src/Factory/Repository/Extractor.php index 5b73e58..96b001c 100644 --- a/src/Factory/Repository/Extractor.php +++ b/src/Factory/Repository/Extractor.php @@ -11,7 +11,7 @@ final class Extractor implements Configurator\StepRepositoryInterface { use RepositoryTrait; - public function __construct(private Sylius\Builder\Extractor $builder) + public function __construct(private readonly Sylius\Builder\Extractor $builder) { $this->files = []; $this->packages = []; diff --git a/src/Factory/Repository/Loader.php b/src/Factory/Repository/Loader.php index e79efe9..8b81a3c 100644 --- a/src/Factory/Repository/Loader.php +++ b/src/Factory/Repository/Loader.php @@ -11,7 +11,7 @@ final class Loader implements Configurator\StepRepositoryInterface { use RepositoryTrait; - public function __construct(private Sylius\Builder\Loader $builder) + public function __construct(private readonly Sylius\Builder\Loader $builder) { $this->files = []; $this->packages = []; diff --git a/src/Factory/Repository/Search.php b/src/Factory/Repository/Search.php index 2615c31..edc6d59 100644 --- a/src/Factory/Repository/Search.php +++ b/src/Factory/Repository/Search.php @@ -11,7 +11,7 @@ final class Search implements Configurator\RepositoryInterface { use RepositoryTrait; - public function __construct(private Sylius\Builder\Search $builder) + public function __construct(private readonly Sylius\Builder\Search $builder) { $this->files = []; $this->packages = []; diff --git a/src/Factory/Search.php b/src/Factory/Search.php index e06af21..331ce62 100644 --- a/src/Factory/Search.php +++ b/src/Factory/Search.php @@ -10,7 +10,7 @@ use Symfony\Component\Config\Definition\Exception as Symfony; use Symfony\Component\Config\Definition\Processor; -final class Search implements Configurator\FactoryInterface +final readonly class Search implements Configurator\FactoryInterface { private Processor $processor; private ConfigurationInterface $configuration; diff --git a/src/Service.php b/src/Service.php index 289c1b4..8827b51 100644 --- a/src/Service.php +++ b/src/Service.php @@ -22,18 +22,15 @@ new Configurator\Pipeline\StepExtractor(), new Configurator\Pipeline\StepLoader(), ], -)] -final class Service implements Configurator\PipelinePluginInterface +)] final readonly class Service implements Configurator\PipelinePluginInterface { private Processor $processor; private Configurator\PluginConfigurationInterface $configuration; - private ExpressionLanguage $interpreter; - public function __construct(?ExpressionLanguage $interpreter = null) + public function __construct(private ExpressionLanguage $interpreter = new ExpressionLanguage()) { $this->processor = new Processor(); $this->configuration = new Configuration(); - $this->interpreter = $interpreter ?? new ExpressionLanguage(); } public function interpreter(): ExpressionLanguage diff --git a/tests/functional/Builder/Capacity/AllTest.php b/tests/functional/Builder/Capacity/AllTest.php index 6f58509..d7b16d4 100644 --- a/tests/functional/Builder/Capacity/AllTest.php +++ b/tests/functional/Builder/Capacity/AllTest.php @@ -1,4 +1,6 @@ -getNode(); } - public function testWithEndpoint() + #[\PHPUnit\Framework\Attributes\Test] + public function withEndpoint(): void { $capacity = new All(); diff --git a/tests/functional/Builder/Capacity/CreateTest.php b/tests/functional/Builder/Capacity/CreateTest.php index 279fd64..5efae02 100644 --- a/tests/functional/Builder/Capacity/CreateTest.php +++ b/tests/functional/Builder/Capacity/CreateTest.php @@ -1,4 +1,6 @@ -getNode(); } - public function testWithoutCode() + #[\PHPUnit\Framework\Attributes\Test] + public function withoutCode(): void { $capacity = new Create(); @@ -36,7 +49,8 @@ public function testWithoutCode() $capacity->getNode(); } - public function testWithoutData() + #[\PHPUnit\Framework\Attributes\Test] + public function withoutData(): void { $capacity = new Create(); @@ -49,7 +63,8 @@ public function testWithoutData() $capacity->getNode(); } - public function testWithEndpoint() + #[\PHPUnit\Framework\Attributes\Test] + public function withEndpoint(): void { $capacity = new Create(); diff --git a/tests/functional/Builder/Capacity/ListPerPageTest.php b/tests/functional/Builder/Capacity/ListPerPageTest.php index 9aa6955..de080c8 100644 --- a/tests/functional/Builder/Capacity/ListPerPageTest.php +++ b/tests/functional/Builder/Capacity/ListPerPageTest.php @@ -1,4 +1,6 @@ -getNode(); } - public function testWithEndpoint() + #[\PHPUnit\Framework\Attributes\Test] + public function withEndpoint(): void { $capacity = new ListPerPage(); diff --git a/tests/functional/Builder/Capacity/UpsertTest.php b/tests/functional/Builder/Capacity/UpsertTest.php index 7ae9848..2cfa299 100644 --- a/tests/functional/Builder/Capacity/UpsertTest.php +++ b/tests/functional/Builder/Capacity/UpsertTest.php @@ -1,4 +1,6 @@ -getNode(); } - public function testWithoutCode() + #[\PHPUnit\Framework\Attributes\Test] + public function withoutCode(): void { $capacity = new Upsert(); @@ -36,7 +49,8 @@ public function testWithoutCode() $capacity->getNode(); } - public function testWithoutData() + #[\PHPUnit\Framework\Attributes\Test] + public function withoutData(): void { $capacity = new Upsert(); @@ -49,7 +63,8 @@ public function testWithoutData() $capacity->getNode(); } - public function testWithEndpoint() + #[\PHPUnit\Framework\Attributes\Test] + public function withEndpoint(): void { $capacity = new Upsert(); diff --git a/tests/functional/Builder/ClientTest.php b/tests/functional/Builder/ClientTest.php index 8751125..68e5ca0 100644 --- a/tests/functional/Builder/ClientTest.php +++ b/tests/functional/Builder/ClientTest.php @@ -1,8 +1,9 @@ -expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/api/oauth/v2/token', methods: ['POST']), - new Mock\ResponseBuilder(__DIR__ . '/../token.php') + new Mock\ResponseBuilder(__DIR__.'/../token.php') ) ->expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/products', methods: ['GET']), - new Mock\ResponseBuilder(__DIR__ . '/get-all-products.php') + new Mock\ResponseBuilder(__DIR__.'/get-all-products.php') ) ; @@ -50,8 +62,8 @@ public function testAllProducts(): void [ '_links' => [ 'self' => [ - 'href' => 'http://test.com/api/rest/v1/products/123qwerty' - ] + 'href' => 'http://test.com/api/rest/v1/products/123qwerty', + ], ], 'identifier' => '123qwerty', 'enabled' => true, @@ -62,25 +74,25 @@ public function testAllProducts(): void 'values' => [ 'color' => [ [ - "locale" => null, - "scope" => null, - "data" => "#fff" - ] + 'locale' => null, + 'scope' => null, + 'data' => '#fff', + ], ], 'brand' => [ [ - "locale" => null, - "scope" => null, - "data" => ["8"] - ] + 'locale' => null, + 'scope' => null, + 'data' => ['8'], + ], ], 'weight' => [ [ - "locale" => null, - "scope" => null, - "data" => "0.5300" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => '0.5300', + ], + ], ], 'created' => '2021-06-18T03:30:11+00:00', 'updated' => '2022-05-16T08:37:11+00:00', @@ -88,19 +100,19 @@ public function testAllProducts(): void 'UPSELL' => [ 'products' => [], 'product_models' => [], - 'groups' => [] - ] + 'groups' => [], + ], ], 'quantified_associations' => [], 'metadata' => [ - 'workflow_status' => 'working_copy' - ] + 'workflow_status' => 'working_copy', + ], ], [ '_links' => [ 'self' => [ - 'href' => 'http://test.com/api/rest/v1/products/123uiop' - ] + 'href' => 'http://test.com/api/rest/v1/products/123uiop', + ], ], 'identifier' => '123uiop', 'enabled' => true, @@ -111,25 +123,25 @@ public function testAllProducts(): void 'values' => [ 'color' => [ [ - "locale" => null, - "scope" => null, - "data" => "#f00" - ] + 'locale' => null, + 'scope' => null, + 'data' => '#f00', + ], ], 'brand' => [ [ - "locale" => null, - "scope" => null, - "data" => ["3"] - ] + 'locale' => null, + 'scope' => null, + 'data' => ['3'], + ], ], 'weight' => [ [ - "locale" => null, - "scope" => null, - "data" => "0.1000" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => '0.1000', + ], + ], ], 'created' => '2021-06-18T03:30:11+00:00', 'updated' => '2022-05-16T08:37:11+00:00', @@ -137,31 +149,32 @@ public function testAllProducts(): void 'UPSELL' => [ 'products' => [], 'product_models' => [], - 'groups' => [] - ] + 'groups' => [], + ], ], 'quantified_associations' => [], 'metadata' => [ - 'workflow_status' => 'working_copy' - ] - ] + 'workflow_status' => 'working_copy', + ], + ], ], $builder, ); } - public function testAllProductsWithSearch(): void + #[\PHPUnit\Framework\Attributes\Test] + public function allProductsWithSearch(): void { $httpClient = new Mock\HttpClientBuilder(new Mock\ResponseFactoryBuilder()); $httpClient ->expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/api/oauth/v2/token', methods: ['POST']), - new Mock\ResponseBuilder(__DIR__ . '/../token.php') + new Mock\ResponseBuilder(__DIR__.'/../token.php') ) ->expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/products', methods: ['GET']), - new Mock\ResponseBuilder(__DIR__ . '/get-all-products.php') + new Mock\ResponseBuilder(__DIR__.'/get-all-products.php') ) ; @@ -180,9 +193,9 @@ public function testAllProductsWithSearch(): void [ 'field' => 'parent', 'operator' => '=', - 'value' => '987qwerty' - ] - ] + 'value' => '987qwerty', + ], + ], ]); $builder = new Extractor($capacity); @@ -193,8 +206,8 @@ public function testAllProductsWithSearch(): void [ '_links' => [ 'self' => [ - 'href' => 'http://test.com/api/rest/v1/products/123qwerty' - ] + 'href' => 'http://test.com/api/rest/v1/products/123qwerty', + ], ], 'identifier' => '123qwerty', 'enabled' => true, @@ -205,25 +218,25 @@ public function testAllProductsWithSearch(): void 'values' => [ 'color' => [ [ - "locale" => null, - "scope" => null, - "data" => "#fff" - ] + 'locale' => null, + 'scope' => null, + 'data' => '#fff', + ], ], 'brand' => [ [ - "locale" => null, - "scope" => null, - "data" => ["8"] - ] + 'locale' => null, + 'scope' => null, + 'data' => ['8'], + ], ], 'weight' => [ [ - "locale" => null, - "scope" => null, - "data" => "0.5300" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => '0.5300', + ], + ], ], 'created' => '2021-06-18T03:30:11+00:00', 'updated' => '2022-05-16T08:37:11+00:00', @@ -231,19 +244,19 @@ public function testAllProductsWithSearch(): void 'UPSELL' => [ 'products' => [], 'product_models' => [], - 'groups' => [] - ] + 'groups' => [], + ], ], 'quantified_associations' => [], 'metadata' => [ - 'workflow_status' => 'working_copy' - ] + 'workflow_status' => 'working_copy', + ], ], [ '_links' => [ 'self' => [ - 'href' => 'http://test.com/api/rest/v1/products/123uiop' - ] + 'href' => 'http://test.com/api/rest/v1/products/123uiop', + ], ], 'identifier' => '123uiop', 'enabled' => true, @@ -254,25 +267,25 @@ public function testAllProductsWithSearch(): void 'values' => [ 'color' => [ [ - "locale" => null, - "scope" => null, - "data" => "#f00" - ] + 'locale' => null, + 'scope' => null, + 'data' => '#f00', + ], ], 'brand' => [ [ - "locale" => null, - "scope" => null, - "data" => ["3"] - ] + 'locale' => null, + 'scope' => null, + 'data' => ['3'], + ], ], 'weight' => [ [ - "locale" => null, - "scope" => null, - "data" => "0.1000" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => '0.1000', + ], + ], ], 'created' => '2021-06-18T03:30:11+00:00', 'updated' => '2022-05-16T08:37:11+00:00', @@ -280,14 +293,14 @@ public function testAllProductsWithSearch(): void 'UPSELL' => [ 'products' => [], 'product_models' => [], - 'groups' => [] - ] + 'groups' => [], + ], ], 'quantified_associations' => [], 'metadata' => [ - 'workflow_status' => 'working_copy' - ] - ] + 'workflow_status' => 'working_copy', + ], + ], ], $builder, ); diff --git a/tests/functional/Builder/Extractor/get-all-products.php b/tests/functional/Builder/Extractor/get-all-products.php index e4816cf..3ea1e1a 100644 --- a/tests/functional/Builder/Extractor/get-all-products.php +++ b/tests/functional/Builder/Extractor/get-all-products.php @@ -1,3 +1,5 @@ -expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/api/oauth/v2/token', methods: ['POST']), - new Mock\ResponseBuilder(__DIR__ . '/../token.php') + new Mock\ResponseBuilder(__DIR__.'/../token.php') ) ->expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/api/oauth/v2/products/[^/]+', methods: ['PATCH']), - new Mock\ResponseBuilder(__DIR__ . '/post-product.php') + new Mock\ResponseBuilder(__DIR__.'/post-product.php') ) ; @@ -40,7 +52,7 @@ public function testUpsertProduct(): void $capacity = (new Capacity\Upsert())->getBuilder([ 'type' => 'products', 'method' => 'all', - 'code' => 'line[code]' + 'code' => 'line[code]', ]); $builder = new Loader($capacity); @@ -49,30 +61,31 @@ public function testUpsertProduct(): void $this->assertBuildsLoaderLoadsExactly( [ [ - "code" => "0987uiop" - ] + 'code' => '0987uiop', + ], ], [ [ - "code" => "0987uiop" - ] + 'code' => '0987uiop', + ], ], $builder, ); } - public function testCreateProduct(): void + #[\PHPUnit\Framework\Attributes\Test] + public function createProduct(): void { $httpClient = new Mock\HttpClientBuilder(new Mock\ResponseFactoryBuilder()); $httpClient ->expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/api/oauth/v2/token', methods: ['POST']), - new Mock\ResponseBuilder(__DIR__ . '/../token.php') + new Mock\ResponseBuilder(__DIR__.'/../token.php') ) ->expectResponse( new Mock\RequestMatcher\RequestMatcherBuilder('/api/oauth/v2/products/[^/]+', methods: ['PATCH']), - new Mock\ResponseBuilder(__DIR__ . '/post-product.php') + new Mock\ResponseBuilder(__DIR__.'/post-product.php') ) ; @@ -88,7 +101,7 @@ public function testCreateProduct(): void $capacity = (new Capacity\Create())->getBuilder([ 'type' => 'products', 'method' => 'all', - 'code' => 'line[code]' + 'code' => 'line[code]', ]); $builder = new Loader($capacity); @@ -97,13 +110,13 @@ public function testCreateProduct(): void $this->assertBuildsLoaderLoadsExactly( [ [ - "code" => "0987uiop" - ] + 'code' => '0987uiop', + ], ], [ [ - "code" => "0987uiop" - ] + 'code' => '0987uiop', + ], ], $builder, ); diff --git a/tests/functional/Builder/Loader/post-product.php b/tests/functional/Builder/Loader/post-product.php index db5b942..7516adc 100644 --- a/tests/functional/Builder/Loader/post-product.php +++ b/tests/functional/Builder/Loader/post-product.php @@ -1,3 +1,5 @@ - 'http://test.com/api/rest/v1/products/0987uiop']); diff --git a/tests/functional/Builder/Loader/product.php b/tests/functional/Builder/Loader/product.php index 56449a0..ea652c3 100644 --- a/tests/functional/Builder/Loader/product.php +++ b/tests/functional/Builder/Loader/product.php @@ -1,50 +1,52 @@ - "123qwerty", - "enabled" => true, - "family" => "all_in_the_family", - "categories" => [ - "pizza" + 'identifier' => '123qwerty', + 'enabled' => true, + 'family' => 'all_in_the_family', + 'categories' => [ + 'pizza', ], - "groups" => [], - "parent" => "321azerty", - "values" => [ - "color" => [ + 'groups' => [], + 'parent' => '321azerty', + 'values' => [ + 'color' => [ [ - "locale" => null, - "scope" => null, - "data" => "#fff" - ] + 'locale' => null, + 'scope' => null, + 'data' => '#fff', + ], ], - "brand" => [ + 'brand' => [ [ - "locale" => null, - "scope" => null, - "data" => [ - "8" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => [ + '8', + ], + ], ], - "weight" => [ + 'weight' => [ [ - "locale" => null, - "scope" => null, - "data" => "0.5300" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => '0.5300', + ], + ], + ], + 'created' => '2021-06-18T03:30:11+00:00', + 'updated' => '2022-05-16T08:37:11+00:00', + 'associations' => [ + 'UPSELL' => [ + 'products' => [], + 'product_models' => [], + 'groups' => [], + ], ], - "created" => "2021-06-18T03:30:11+00:00", - "updated" => "2022-05-16T08:37:11+00:00", - "associations" => [ - "UPSELL" => [ - "products" => [], - "product_models" => [], - "groups" => [] - ] + 'quantified_associations' => [], + 'metadata' => [ + 'workflow_status' => 'working_copy', ], - "quantified_associations" => [], - "metadata" => [ - "workflow_status" => "working_copy" - ] ]; diff --git a/tests/functional/Builder/Loader/products.php b/tests/functional/Builder/Loader/products.php index e2f1e8c..dd93428 100644 --- a/tests/functional/Builder/Loader/products.php +++ b/tests/functional/Builder/Loader/products.php @@ -1,52 +1,54 @@ - "123qwerty", - "enabled" => true, - "family" => "all_in_the_family", - "categories" => [ - "pizza" + 'identifier' => '123qwerty', + 'enabled' => true, + 'family' => 'all_in_the_family', + 'categories' => [ + 'pizza', ], - "groups" => [], - "parent" => "321azerty", - "values" => [ - "color" => [ + 'groups' => [], + 'parent' => '321azerty', + 'values' => [ + 'color' => [ [ - "locale" => null, - "scope" => null, - "data" => "#fff" - ] + 'locale' => null, + 'scope' => null, + 'data' => '#fff', + ], ], - "brand" => [ + 'brand' => [ [ - "locale" => null, - "scope" => null, - "data" => [ - "8" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => [ + '8', + ], + ], ], - "weight" => [ + 'weight' => [ [ - "locale" => null, - "scope" => null, - "data" => "0.5300" - ] - ] + 'locale' => null, + 'scope' => null, + 'data' => '0.5300', + ], + ], + ], + 'created' => '2021-06-18T03:30:11+00:00', + 'updated' => '2022-05-16T08:37:11+00:00', + 'associations' => [ + 'UPSELL' => [ + 'products' => [], + 'product_models' => [], + 'groups' => [], + ], ], - "created" => "2021-06-18T03:30:11+00:00", - "updated" => "2022-05-16T08:37:11+00:00", - "associations" => [ - "UPSELL" => [ - "products" => [], - "product_models" => [], - "groups" => [] - ] + 'quantified_associations' => [], + 'metadata' => [ + 'workflow_status' => 'working_copy', ], - "quantified_associations" => [], - "metadata" => [ - "workflow_status" => "working_copy" - ] - ] + ], ]; diff --git a/tests/functional/Builder/token.php b/tests/functional/Builder/token.php index eec2545..7a554a1 100644 --- a/tests/functional/Builder/token.php +++ b/tests/functional/Builder/token.php @@ -1,3 +1,5 @@ -processor = new Config\Definition\Processor(); } - public function testValidConfigWithPasswordAuthentication() + #[\PHPUnit\Framework\Attributes\Test] + public function validConfigWithPasswordAuthentication(): void { $client = new Configuration\Client(); @@ -38,13 +50,14 @@ public function testValidConfigWithPasswordAuthentication() 'secret' => 'SECRET', 'username' => 'JOHNDOE', 'password' => 'PASSWORD', - ] + ], ] ) ); } - public function testValidConfigWithTokenAuthentication() + #[\PHPUnit\Framework\Attributes\Test] + public function validConfigWithTokenAuthentication(): void { $client = new Configuration\Client(); @@ -67,13 +80,14 @@ public function testValidConfigWithTokenAuthentication() 'secret' => 'SECRET', 'token' => 'TOKEN', 'refresh_token' => 'REFRESH', - ] + ], ] ) ); } - public function testMissingAuthenticationMethod() + #[\PHPUnit\Framework\Attributes\Test] + public function missingAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -92,12 +106,13 @@ public function testMissingAuthenticationMethod() 'api_url' => 'http://api.example.com', 'client_id' => 'LOREMIPSUM', 'secret' => 'SECRET', - ] + ], ] ); } - public function testBothAuthenticationMethod() + #[\PHPUnit\Framework\Attributes\Test] + public function bothAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -120,12 +135,13 @@ public function testBothAuthenticationMethod() 'password' => 'PASSWORD', 'token' => 'TOKEN', 'refresh_token' => 'REFRESH', - ] + ], ] ); } - public function testMissingPasswordInAuthenticationMethod() + #[\PHPUnit\Framework\Attributes\Test] + public function missingPasswordInAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -145,12 +161,13 @@ public function testMissingPasswordInAuthenticationMethod() 'client_id' => 'LOREMIPSUM', 'secret' => 'SECRET', 'username' => 'JOHNDOE', - ] + ], ] ); } - public function testMissingRefreshTokenInAuthenticationMethod() + #[\PHPUnit\Framework\Attributes\Test] + public function missingRefreshTokenInAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -170,7 +187,7 @@ public function testMissingRefreshTokenInAuthenticationMethod() 'client_id' => 'LOREMIPSUM', 'secret' => 'SECRET', 'token' => 'TOKEN', - ] + ], ] ); } diff --git a/tests/functional/Configuration/ExtractorTest.php b/tests/functional/Configuration/ExtractorTest.php index df2fff7..fdaa50b 100644 --- a/tests/functional/Configuration/ExtractorTest.php +++ b/tests/functional/Configuration/ExtractorTest.php @@ -1,4 +1,6 @@ -processor = new Config\Definition\Processor(); } - public function validDataProvider(): iterable + public static function validDataProvider(): iterable { yield [ 'config' => [ @@ -55,15 +66,19 @@ public function validDataProvider(): iterable ]; } - /** @dataProvider validDataProvider */ - public function testValidConfig(array $config, array $expected) + #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] + /** + * @test + */ + public function validConfig(array $config, array $expected): void { $client = new Configuration\Extractor(); $this->assertSame($expected, $this->processor->processConfiguration($client, [$config])); } - public function testWrongMethod() + #[\PHPUnit\Framework\Attributes\Test] + public function wrongMethod(): void { $client = new Configuration\Extractor(); @@ -77,12 +92,13 @@ public function testWrongMethod() $this->processor->processConfiguration($client, [ [ 'type' => 'products', - 'method' => 'invalidValue' - ] + 'method' => 'invalidValue', + ], ]); } - public function testWrongType() + #[\PHPUnit\Framework\Attributes\Test] + public function wrongType(): void { $client = new Configuration\Extractor(); @@ -96,11 +112,12 @@ public function testWrongType() $this->processor->processConfiguration($client, [ [ 'type' => 'wrong', - ] + ], ]); } - public function testMissingCode() + #[\PHPUnit\Framework\Attributes\Test] + public function missingCode(): void { $client = new Configuration\Extractor(); @@ -114,8 +131,8 @@ public function testMissingCode() $this->processor->processConfiguration($client, [ [ 'type' => 'productReviews', - 'method' => 'get' - ] + 'method' => 'get', + ], ]); } } diff --git a/tests/functional/Configuration/LoaderTest.php b/tests/functional/Configuration/LoaderTest.php index 59afc64..a755591 100644 --- a/tests/functional/Configuration/LoaderTest.php +++ b/tests/functional/Configuration/LoaderTest.php @@ -1,11 +1,22 @@ -processor = new Config\Definition\Processor(); } - public function testWrongMethod() + #[\PHPUnit\Framework\Attributes\Test] + public function wrongMethod(): void { $client = new Configuration\Loader(); @@ -29,8 +41,8 @@ public function testWrongMethod() $this->processor->processConfiguration($client, [ [ 'type' => 'products', - 'method' => 'invalidValue' - ] + 'method' => 'invalidValue', + ], ]); } } diff --git a/tests/functional/ExpressionLanguage/Env.php b/tests/functional/ExpressionLanguage/Env.php index cead739..d122831 100644 --- a/tests/functional/ExpressionLanguage/Env.php +++ b/tests/functional/ExpressionLanguage/Env.php @@ -1,4 +1,6 @@ - '123', 'username' => '123', 'password' => '123', - ] + ], ]; yield [ @@ -29,21 +40,25 @@ public function validDataProvider(): \Generator 'username' => '123', 'password' => '123', 'context' => [ - 'http_client' => 'truc' - ] - ] + 'http_client' => 'truc', + ], + ], ]; } - /** @dataProvider validDataProvider */ - public function testValidateConfiguration(array $config): void + #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] + /** + * @test + */ + public function validateConfiguration(array $config): void { $client = new Client(new ExpressionLanguage()); $this->assertTrue($client->validate([$config])); $client->compile($config); } - public function testMissingCapacity() + #[\PHPUnit\Framework\Attributes\Test] + public function missingCapacity(): void { $this->expectException(InvalidConfigurationException::class); diff --git a/tests/functional/Factory/ExtractorTest.php b/tests/functional/Factory/ExtractorTest.php index 1e10789..9dd5894 100644 --- a/tests/functional/Factory/ExtractorTest.php +++ b/tests/functional/Factory/ExtractorTest.php @@ -1,4 +1,6 @@ - 'products', 'method' => 'all', - ] + ], ]; yield [ [ 'type' => 'products', 'method' => 'listPerPage', - ] + ], ]; } - public function wrongConfigs(): \Generator + public static function wrongConfigs(): \Generator { yield [ 'config' => [ - ] + ], ]; yield [ 'config' => [ 'wrong', - ] + ], ]; yield [ 'config' => [ 'type' => 'wrong', 'method' => 'all', - ] + ], ]; yield [ 'config' => [ 'type' => 'products', 'method' => 'wrong', - ] + ], ]; yield [ 'config' => [ 'type' => 'products', - ] + ], ]; } - /** @dataProvider validDataProvider */ - public function testValidateConfiguration(array $config): void + #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] + /** + * @test + */ + public function validateConfiguration(array $config): void { $client = new Extractor(new ExpressionLanguage()); $this->assertTrue($client->validate([$config])); $client->compile($config); } - /** @dataProvider wrongConfigs */ - public function testMissingCapacity(array $config): void + #[\PHPUnit\Framework\Attributes\DataProvider('wrongConfigs')] + /** + * @test + */ + public function missingCapacity(array $config): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); diff --git a/tests/functional/Factory/LoaderTest.php b/tests/functional/Factory/LoaderTest.php index 9c7264b..301cb59 100644 --- a/tests/functional/Factory/LoaderTest.php +++ b/tests/functional/Factory/LoaderTest.php @@ -1,4 +1,6 @@ - 'products', 'method' => 'create', - ] + ], ]; yield [ [ 'type' => 'products', 'method' => 'upsert', - ] + ], ]; } - public function wrongConfigs(): \Generator + public static function wrongConfigs(): \Generator { yield [ 'config' => [ - ] + ], ]; yield [ 'config' => [ 'wrong', - ] + ], ]; yield [ 'config' => [ 'type' => 'wrong', 'method' => 'all', - ] + ], ]; yield [ 'config' => [ 'type' => 'products', 'method' => 'wrong', - ] + ], ]; yield [ 'config' => [ 'type' => 'products', - ] + ], ]; } - /** @dataProvider validDataProvider */ - public function testValidateConfiguration(array $config): void + #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] + /** + * @test + */ + public function validateConfiguration(array $config): void { $client = new Loader(); $this->assertTrue($client->validate([$config])); $client->compile($config); } - /** @dataProvider wrongConfigs */ - public function testMissingCapacity(array $config): void + #[\PHPUnit\Framework\Attributes\DataProvider('wrongConfigs')] + /** + * @test + */ + public function missingCapacity(array $config): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); diff --git a/tests/functional/Factory/Repository/ClientTest.php b/tests/functional/Factory/Repository/ClientTest.php index 0cb6cce..81ebf76 100644 --- a/tests/functional/Factory/Repository/ClientTest.php +++ b/tests/functional/Factory/Repository/ClientTest.php @@ -1,4 +1,6 @@ -getMockBuilder(FileInterface::class) - ->getMock(); + $file = $this->createMock(FileInterface::class); $file->method('getPath') - ->willReturn($filename); + ->willReturn($filename) + ; $file->method('asResource') - ->willReturn(fopen('php://temp', 'w+')); + ->willReturn(fopen('php://temp', 'w+')) + ; return $file; } - public function testMergeWithPackages(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithPackages(): void { $builder = new Builder\Client( new Node\Scalar\String_(''), @@ -33,7 +46,7 @@ public function testMergeWithPackages(): void new Node\Scalar\String_(''), ); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([]); $child->method('getPackages')->willReturn(['baz/baz']); @@ -47,7 +60,8 @@ public function testMergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - public function testMergeWithFiles(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithFiles(): void { $builder = new Builder\Client( new Node\Scalar\String_(''), @@ -55,10 +69,10 @@ public function testMergeWithFiles(): void new Node\Scalar\String_(''), ); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([ - $this->fileMock('baz.php') + $this->fileMock('baz.php'), ]); $child->method('getPackages')->willReturn([]); diff --git a/tests/functional/Factory/Repository/ExtractorTest.php b/tests/functional/Factory/Repository/ExtractorTest.php index 6c4fa91..42e1e32 100644 --- a/tests/functional/Factory/Repository/ExtractorTest.php +++ b/tests/functional/Factory/Repository/ExtractorTest.php @@ -1,4 +1,6 @@ -getMockBuilder(FileInterface::class) - ->getMock(); + $file = $this->createMock(FileInterface::class); $file->method('getPath') - ->willReturn($filename); + ->willReturn($filename) + ; $file->method('asResource') - ->willReturn(fopen('php://temp', 'w+')); + ->willReturn(fopen('php://temp', 'w+')) + ; return $file; } - public function testMergeWithPackages(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithPackages(): void { - $capacity = $this->getMockBuilder(Capacity::class)->getMock(); + $capacity = $this->createMock(Capacity::class); $capacity->method('getNode')->willReturn(new Node\Stmt\Nop()); $builder = new Builder\Extractor($capacity); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([]); $child->method('getPackages')->willReturn(['baz/baz']); @@ -48,18 +61,19 @@ public function testMergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - public function testMergeWithFiles(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithFiles(): void { - $capacity = $this->getMockBuilder(Capacity::class)->getMock(); + $capacity = $this->createMock(Capacity::class); $capacity->method('getNode')->willReturn(new Node\Stmt\Nop()); $builder = new Builder\Extractor($capacity); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([ - $this->fileMock('baz.php') + $this->fileMock('baz.php'), ]); $child->method('getPackages')->willReturn([]); diff --git a/tests/functional/Factory/Repository/LoaderTest.php b/tests/functional/Factory/Repository/LoaderTest.php index 0ff311f..8fa3868 100644 --- a/tests/functional/Factory/Repository/LoaderTest.php +++ b/tests/functional/Factory/Repository/LoaderTest.php @@ -1,4 +1,6 @@ -getMockBuilder(FileInterface::class) - ->getMock(); + $file = $this->createMock(FileInterface::class); $file->method('getPath') - ->willReturn($filename); + ->willReturn($filename) + ; $file->method('asResource') - ->willReturn(fopen('php://temp', 'w+')); + ->willReturn(fopen('php://temp', 'w+')) + ; return $file; } - public function testMergeWithPackages(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithPackages(): void { - $capacity = $this->getMockBuilder(Capacity::class)->getMock(); + $capacity = $this->createMock(Capacity::class); $capacity->method('getNode')->willReturn(new Node\Stmt\Nop()); $builder = new Builder\Loader($capacity); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([]); $child->method('getPackages')->willReturn(['baz/baz']); @@ -48,18 +61,19 @@ public function testMergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - public function testMergeWithFiles(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithFiles(): void { - $capacity = $this->getMockBuilder(Capacity::class)->getMock(); + $capacity = $this->createMock(Capacity::class); $capacity->method('getNode')->willReturn(new Node\Stmt\Nop()); $builder = new Builder\Loader($capacity); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([ - $this->fileMock('baz.php') + $this->fileMock('baz.php'), ]); $child->method('getPackages')->willReturn([]); diff --git a/tests/functional/Factory/Repository/SearchTest.php b/tests/functional/Factory/Repository/SearchTest.php index 7423dda..0ef33b6 100644 --- a/tests/functional/Factory/Repository/SearchTest.php +++ b/tests/functional/Factory/Repository/SearchTest.php @@ -1,4 +1,6 @@ -getMockBuilder(FileInterface::class) - ->getMock(); + $file = $this->createMock(FileInterface::class); $file->method('getPath') - ->willReturn($filename); + ->willReturn($filename) + ; $file->method('asResource') - ->willReturn(fopen('php://temp', 'w+')); + ->willReturn(fopen('php://temp', 'w+')) + ; return $file; } - public function testMergeWithPackages(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithPackages(): void { $builder = new Builder\Search(); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([]); $child->method('getPackages')->willReturn(['baz/baz']); @@ -42,14 +55,15 @@ public function testMergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - public function testMergeWithFiles(): void + #[\PHPUnit\Framework\Attributes\Test] + public function mergeWithFiles(): void { $builder = new Builder\Search(); - $child = $this->getMockBuilder(RepositoryInterface::class)->getMock(); + $child = $this->createMock(RepositoryInterface::class); $child->method('getFiles')->willReturn([ - $this->fileMock('baz.php') + $this->fileMock('baz.php'), ]); $child->method('getPackages')->willReturn([]); diff --git a/tests/functional/ServiceTest.php b/tests/functional/ServiceTest.php index 0be13c9..cfc57f5 100644 --- a/tests/functional/ServiceTest.php +++ b/tests/functional/ServiceTest.php @@ -1,4 +1,6 @@ - [ 'expression_language' => [], 'extractor' => [ 'type' => 'products', 'method' => 'all', - 'search' => [] + 'search' => [], ], 'client' => [ 'api_url' => '1234', 'client_id' => '1234', 'secret' => '1234', 'username' => '1234', - 'password' => '1234' - ] + 'password' => '1234', + ], ], 'actual' => [ 'extractor' => [ @@ -38,12 +49,12 @@ public function validDataProvider(): \Generator 'client_id' => '1234', 'secret' => '1234', 'username' => '1234', - 'password' => '1234' - ] - ] + 'password' => '1234', + ], + ], ]; - /** Upsert */ + /* Upsert */ yield [ 'expected' => [ 'expression_language' => [], @@ -56,8 +67,8 @@ public function validDataProvider(): \Generator 'client_id' => '1234', 'secret' => '1234', 'username' => '1234', - 'password' => '1234' - ] + 'password' => '1234', + ], ], 'actual' => [ 'expression_language' => [], @@ -70,13 +81,14 @@ public function validDataProvider(): \Generator 'client_id' => '1234', 'secret' => '1234', 'username' => '1234', - 'password' => '1234' - ] - ] + 'password' => '1234', + ], + ], ]; } - public function testEmptyConfiguration(): void + #[\PHPUnit\Framework\Attributes\Test] + public function emptyConfiguration(): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); @@ -85,11 +97,12 @@ public function testEmptyConfiguration(): void $service = new Sylius\Service(); $this->assertTrue($service->validate(['sylius' => []])); $service->compile([ - 'sylius' => [] + 'sylius' => [], ]); } - public function testWrongConfiguration(): void + #[\PHPUnit\Framework\Attributes\Test] + public function wrongConfiguration(): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); @@ -100,7 +113,8 @@ public function testWrongConfiguration(): void $service->normalize(['sylius' => 'wrong']); } - public function testMissingAuthentication(): void + #[\PHPUnit\Framework\Attributes\Test] + public function missingAuthentication(): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); @@ -118,12 +132,15 @@ public function testMissingAuthentication(): void 'client_id' => '1234', 'secret' => '1234', 'username' => '1234', - ] + ], ]); } - /** @dataProvider validDataProvider */ - public function testWithConfigurationAndProcessor(array $expected, array $actual): void + #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] + /** + * @test + */ + public function withConfigurationAndProcessor(array $expected, array $actual): void { $service = new Sylius\Service(new ExpressionLanguage()); From 96bd16d1ff1fe35db6b2f54fa6f99b5f5aaf6250 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 23 Mar 2023 09:22:24 +0100 Subject: [PATCH 2/4] fix on readme and quality workflow --- .github/workflows/phpunit.yaml | 30 + .github/workflows/quality.yaml | 28 - .github/workflows/rector.yaml | 7 +- README.md | 3 +- composer.json | 26 +- composer.lock | 1231 +++++++++++++------------------- 6 files changed, 546 insertions(+), 779 deletions(-) create mode 100644 .github/workflows/phpunit.yaml diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml new file mode 100644 index 0000000..cc4fc19 --- /dev/null +++ b/.github/workflows/phpunit.yaml @@ -0,0 +1,30 @@ +name: PHPUnit +on: push +jobs: + phpunit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + tools: composer:v2 + coverage: pcov + - uses: actions/cache@v3 + with: + path: '**/vendor' + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- + - uses: php-actions/composer@v6 + with: + args: --prefer-dist + php_version: '8.2' + + - name: Run tests & generate Coverage + run: bin/phpunit --coverage-html var/coverage + + - name: Store coverage files + uses: actions/upload-artifact@v3 + with: + path: var/coverage diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 6ec2870..7a785b6 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -14,34 +14,6 @@ jobs: chmod a+x php-cs-fixer PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run - phpunit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: shivammathur/setup-php@v2 - with: - php-version: '8.2' - tools: composer:v2 - coverage: pcov - - uses: actions/cache@v3 - with: - path: '**/vendor' - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-composer- - - uses: php-actions/composer@v6 - with: - args: --prefer-dist - php_version: '8.2' - - - name: Run tests & generate Coverage - run: bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage - - - name: Store coverage files - uses: actions/upload-artifact@v3 - with: - path: var/coverage - phpstan: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/rector.yaml b/.github/workflows/rector.yaml index 6ac96c4..70973b0 100644 --- a/.github/workflows/rector.yaml +++ b/.github/workflows/rector.yaml @@ -9,12 +9,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.head.repo.full_name == 'php-etl/sylius-plugin' steps: - - - if: github.event.pull_request.head.repo.full_name == github.repository - uses: actions/checkout@v3 - with: - # Must be used to trigger workflow after push - token: ${{ secrets.ACCESS_TOKEN }} + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 diff --git a/README.md b/README.md index 3d9baf8..6280c5f 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,13 @@ Sylius Data Flows === [![Mutations](https://github.com/php-etl/sylius-plugin/actions/workflows/infection.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/infection.yaml) +[![PHPUnit](https://github.com/php-etl/sylius-plugin/actions/workflows/phpunit.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpunit.yaml) [![Quality](https://github.com/php-etl/sylius-plugin/actions/workflows/quality.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/quality.yaml) [![PHPStan level 5](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-5.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-5.yaml) [![PHPStan level 6](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-6.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-6.yaml) [![PHPStan level 7](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-7.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-7.yaml) [![PHPStan level 8](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-8.yaml/badge.svg)](https://github.com/php-etl/sylius-plugin/actions/workflows/phpstan-8.yaml) - +![PHP](https://img.shields.io/packagist/php-v/php-etl/sylius-plugin) Goal --- diff --git a/composer.json b/composer.json index f7d7362..2fb6d9b 100644 --- a/composer.json +++ b/composer.json @@ -15,27 +15,25 @@ "php": "^8.2", "ext-json": "*", "nikic/php-parser": "^4.10", - "symfony/config": "^5.2", - "php-etl/configurator-contracts": "^0.6@dev", - "php-etl/packaging-contracts": "^0.2@dev", - "php-etl/fast-map-plugin": "^0.8@dev", - "php-etl/satellite-toolbox": "^0.4@dev" + "symfony/config": "^6.0", + "php-etl/configurator-contracts": "^0.7.0", + "php-etl/packaging-contracts": "^0.3.0", + "php-etl/fast-map-plugin": "^0.8.0", + "php-etl/satellite-toolbox": "^0.5.0" }, "require-dev": { "php-http/mock-client": "^1.4@dev", - "symfony/yaml": "^5.2", - "php-etl/bucket-contracts": "^0.2@dev", - "phpunit/phpunit": "^9.5 || ^10.0", + "symfony/yaml": "^6.0", + "php-etl/bucket-contracts": "^0.2.0", + "phpunit/phpunit": "^10.0", "laminas/laminas-diactoros": "^2.6", - "johnkary/phpunit-speedtrap": "*", - "mybuilder/phpunit-accelerator": "*", "phpunit/php-invoker": "*", - "php-etl/sylius-api-php-client": "^2.0", + "php-etl/sylius-api-php-client": "^2.1@dev", "friendsofphp/php-cs-fixer": "^3.0", "infection/infection": "^0.26.18", "rector/rector": "^0.15", - "php-etl/phpunit-extension": "^0.5@dev", - "php-etl/bucket": "^0.3@dev", + "php-etl/phpunit-extension": "^0.5.0", + "php-etl/bucket": "^0.3.0", "symfony/http-client": "^6.2" }, "autoload": { @@ -50,7 +48,7 @@ }, "extra": { "branch-alias": { - "dev-main": "0.6.x-dev" + "dev-main": "0.7.x-dev" }, "gyroscops": { "plugins": ["Kiboko\\Plugin\\Sylius\\Service"] diff --git a/composer.lock b/composer.lock index 90afe77..da60ac7 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": "189655986a5ed426ffdb218948696930", + "content-hash": "474879d68f0ddde307e22d5f16a2d297", "packages": [ { "name": "doctrine/inflector", @@ -155,25 +155,25 @@ }, { "name": "php-etl/configurator-contracts", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.7.0", "source": { "type": "git", "url": "https://github.com/php-etl/configurator-contracts.git", - "reference": "f6f8eca44e7c5c46ffd36455853b6bf3a926b659" + "reference": "96ea3a64dc21c5ee78a815ef0b107493d87e077d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/configurator-contracts/zipball/f6f8eca44e7c5c46ffd36455853b6bf3a926b659", - "reference": "f6f8eca44e7c5c46ffd36455853b6bf3a926b659", + "url": "https://api.github.com/repos/php-etl/configurator-contracts/zipball/96ea3a64dc21c5ee78a815ef0b107493d87e077d", + "reference": "96ea3a64dc21c5ee78a815ef0b107493d87e077d", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", "php": "^8.2", - "php-etl/packaging-contracts": "^0.2@dev", - "psr/log": "^1.0||^2.0||^3.0", - "symfony/config": "^5.2 || ^6.0", - "symfony/expression-language": "^5.2" + "php-etl/packaging-contracts": "^0.3", + "psr/log": "^3.0", + "symfony/config": "^6.0", + "symfony/expression-language": "^6.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", @@ -185,8 +185,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.6.x-dev", - "dev-feature/qualityflow-improvments": "0.6.x-dev" + "dev-main": "0.7.x-dev" } }, "autoload": { @@ -211,54 +210,48 @@ "description": "This library describes contracts for defining configuration formats and building optimized code from it", "support": { "issues": "https://github.com/php-etl/configurator-contracts/issues", - "source": "https://github.com/php-etl/configurator-contracts/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/configurator-contracts/tree/v0.7.0" }, - "time": "2023-03-21T13:39:01+00:00" + "time": "2023-04-03T13:59:28+00:00" }, { "name": "php-etl/fast-map", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/php-etl/fast-map.git", - "reference": "8420a9ee22a4fd9e82b6375dd486e0b4a7ce54b4" + "reference": "83d27d4d2789b7b62c262fccb853a64538834d4f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/fast-map/zipball/8420a9ee22a4fd9e82b6375dd486e0b4a7ce54b4", - "reference": "8420a9ee22a4fd9e82b6375dd486e0b4a7ce54b4", + "url": "https://api.github.com/repos/php-etl/fast-map/zipball/83d27d4d2789b7b62c262fccb853a64538834d4f", + "reference": "83d27d4d2789b7b62c262fccb853a64538834d4f", "shasum": "" }, "require": { "doctrine/inflector": "^2.0", "nikic/php-parser": "^4.10", "php": "^8.2", - "php-etl/mapping-contracts": "^0.3@dev", - "php-etl/metadata": "^0.3@dev", - "php-etl/metadata-contracts": "^0.2", - "php-etl/satellite-toolbox": "^0.4@dev", - "symfony/cache": "^5.2", - "symfony/expression-language": "^5.2", - "symfony/property-access": "^5.2" + "php-etl/mapping-contracts": "^0.4.0", + "php-etl/metadata": "^0.4.0", + "php-etl/metadata-contracts": "^0.2.0", + "php-etl/satellite-toolbox": "^0.5.0", + "symfony/cache": "^6.0", + "symfony/expression-language": "^6.0", + "symfony/property-access": "^6.0" }, "require-dev": { - "adlawson/vfs": "dev-develop", - "friends-of-phpspec/phpspec-code-coverage": "*", "friendsofphp/php-cs-fixer": "^3.0", - "johnkary/phpunit-speedtrap": "*", - "mybuilder/phpunit-accelerator": "*", - "php-etl/phpspec-extension": "*", - "phpspec/phpspec": "^7.0", + "mikey179/vfsstream": "^1.6", "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.0 || ^10.0", + "phpunit/phpunit": "^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.4.x-dev", - "dev-feature/qualityflow-improvments": "0.4.x-dev" + "dev-main": "0.5.x-dev" } }, "autoload": { @@ -283,36 +276,34 @@ "description": "This library implements a compiled data mapping library", "support": { "issues": "https://github.com/php-etl/fast-map/issues", - "source": "https://github.com/php-etl/fast-map/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/fast-map/tree/v0.5.0" }, - "time": "2023-03-21T13:36:19+00:00" + "time": "2023-04-04T13:40:27+00:00" }, { "name": "php-etl/fast-map-config", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/php-etl/fast-map-config.git", - "reference": "18e12dd849510be78c9dec0ca9b237396a7c09dd" + "reference": "42e0ad82970ae16817ea10f1730992104223691a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/fast-map-config/zipball/18e12dd849510be78c9dec0ca9b237396a7c09dd", - "reference": "18e12dd849510be78c9dec0ca9b237396a7c09dd", + "url": "https://api.github.com/repos/php-etl/fast-map-config/zipball/42e0ad82970ae16817ea10f1730992104223691a", + "reference": "42e0ad82970ae16817ea10f1730992104223691a", "shasum": "" }, "require": { "php": "^8.2", - "php-etl/fast-map": "^0.4@dev", - "php-etl/mapping-contracts": "^0.3@dev", - "php-etl/metadata": "^0.3@dev", - "symfony/expression-language": "^5.2", - "symfony/property-access": "^5.2" + "php-etl/fast-map": "^0.5.0", + "php-etl/mapping-contracts": "^0.4.0", + "php-etl/metadata": "^0.4.0", + "symfony/expression-language": "^6.0", + "symfony/property-access": "^6.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "johnkary/phpunit-speedtrap": "*", - "mybuilder/phpunit-accelerator": "*", "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", "phpunit/phpunit": "^10.0", @@ -321,8 +312,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.5.x-dev", - "dev-feature/qualityflow-improvments": "0.5.x-dev" + "dev-main": "0.5.x-dev" } }, "autoload": { @@ -347,53 +337,47 @@ "description": "This library implements the Extract-Transform-Load pattern asynchronously in PHP with the help of iterators and generators", "support": { "issues": "https://github.com/php-etl/fast-map-config/issues", - "source": "https://github.com/php-etl/fast-map-config/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/fast-map-config/tree/v0.5.0" }, - "time": "2023-03-21T13:36:09+00:00" + "time": "2023-04-04T14:12:20+00:00" }, { "name": "php-etl/fast-map-plugin", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.8.0", "source": { "type": "git", "url": "https://github.com/php-etl/fast-map-plugin.git", - "reference": "97f29183c87c38fc5f102220373aec1fcd5c4d06" + "reference": "7362dc698c88a386845ce16d25d8e4593f32f539" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/fast-map-plugin/zipball/97f29183c87c38fc5f102220373aec1fcd5c4d06", - "reference": "97f29183c87c38fc5f102220373aec1fcd5c4d06", + "url": "https://api.github.com/repos/php-etl/fast-map-plugin/zipball/7362dc698c88a386845ce16d25d8e4593f32f539", + "reference": "7362dc698c88a386845ce16d25d8e4593f32f539", "shasum": "" }, "require": { "ext-json": "*", "nikic/php-parser": "^4.10", "php": "^8.2", - "php-etl/configurator-contracts": "^0.6@dev", - "php-etl/fast-map-config": "^0.5@dev", - "php-etl/packaging-contracts": "^0.2@dev", - "php-etl/satellite-toolbox": "^0.4@dev", - "symfony/config": "^5.2" + "php-etl/configurator-contracts": "^0.7.0", + "php-etl/fast-map-config": "^0.5.0", + "php-etl/packaging-contracts": "^0.3.0", + "php-etl/satellite-toolbox": "^0.5.0", + "symfony/config": "^6.0" }, "require-dev": { - "adlawson/vfs": "dev-develop", - "friends-of-phpspec/phpspec-code-coverage": "*", "friendsofphp/php-cs-fixer": "^3.0", - "johnkary/phpunit-speedtrap": "*", - "mybuilder/phpunit-accelerator": "*", - "php-etl/bucket": "^0.3@dev", - "php-etl/phpunit-extension": "^0.5@dev", - "phpspec/phpspec": "^7.0", + "php-etl/bucket": "^0.3.0", + "php-etl/phpunit-extension": "^0.5.0", "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.5 || ^10.0", + "phpunit/phpunit": "^10.0", "rector/rector": "^0.15" }, "type": "gyroscops-plugin", "extra": { "branch-alias": { - "dev-main": "0.8.x-dev", - "dev-feature/qualityflow-improvments": "0.8.x-dev" + "dev-main": "0.8.x-dev" }, "gyroscops": { "plugins": [ @@ -419,29 +403,29 @@ "description": "Adapters for the Fast Map mapping library", "support": { "issues": "https://github.com/php-etl/fast-map-plugin/issues", - "source": "https://github.com/php-etl/fast-map-plugin/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/fast-map-plugin/tree/v0.8.0" }, - "time": "2023-03-21T13:44:23+00:00" + "time": "2023-04-04T14:32:55+00:00" }, { "name": "php-etl/mapping-contracts", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.4.0", "source": { "type": "git", "url": "https://github.com/php-etl/mapping-contracts.git", - "reference": "3036809ea422ae0007014a6345cf37506176223f" + "reference": "91ecc1148471bc37af871a429b3771b602e34afa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/mapping-contracts/zipball/3036809ea422ae0007014a6345cf37506176223f", - "reference": "3036809ea422ae0007014a6345cf37506176223f", + "url": "https://api.github.com/repos/php-etl/mapping-contracts/zipball/91ecc1148471bc37af871a429b3771b602e34afa", + "reference": "91ecc1148471bc37af871a429b3771b602e34afa", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", "php": "^8.2", - "php-etl/metadata-contracts": "^0.2@dev", - "symfony/property-access": "^5.2" + "php-etl/metadata-contracts": "^0.2.0", + "symfony/property-access": "^6.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", @@ -451,8 +435,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.3.x-dev", - "dev-feature/qualityflow-improvments": "0.3.x-dev" + "dev-main": "0.4.x-dev" } }, "autoload": { @@ -477,22 +460,22 @@ "description": "Contracts for building compiled data mappers", "support": { "issues": "https://github.com/php-etl/mapping-contracts/issues", - "source": "https://github.com/php-etl/mapping-contracts/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/mapping-contracts/tree/v0.4.0" }, - "time": "2023-03-20T09:57:29+00:00" + "time": "2023-04-04T07:37:35+00:00" }, { "name": "php-etl/metadata", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.4.0", "source": { "type": "git", "url": "https://github.com/php-etl/metadata.git", - "reference": "6fa5581fb298ce8ca0af5963bc09a86c337c8941" + "reference": "b0285d787f2a4f53894114cf612928f6dead8f1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/metadata/zipball/6fa5581fb298ce8ca0af5963bc09a86c337c8941", - "reference": "6fa5581fb298ce8ca0af5963bc09a86c337c8941", + "url": "https://api.github.com/repos/php-etl/metadata/zipball/b0285d787f2a4f53894114cf612928f6dead8f1c", + "reference": "b0285d787f2a4f53894114cf612928f6dead8f1c", "shasum": "" }, "require": { @@ -505,18 +488,14 @@ "require-dev": { "friends-of-phpspec/phpspec-code-coverage": "^6.0", "friendsofphp/php-cs-fixer": "^3.0", - "johnkary/phpunit-speedtrap": "*", - "mybuilder/phpunit-accelerator": "*", - "php-etl/phpspec-extension": "^0.3@dev", + "php-etl/phpspec-extension": "^0.4", "phpspec/phpspec": "^7.0", - "phpunit/phpunit": "^9.5 || ^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.3.x-dev", - "dev-feature/qualityflow-improvments": "0.3.x-dev" + "dev-main": "0.4.x-dev" } }, "autoload": { @@ -541,9 +520,9 @@ "description": "Describe data structures, to auto-configure and handle data transformation and data manipulation.", "support": { "issues": "https://github.com/php-etl/metadata/issues", - "source": "https://github.com/php-etl/metadata/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/metadata/tree/v0.4.0" }, - "time": "2023-03-21T13:27:16+00:00" + "time": "2023-04-04T09:59:20+00:00" }, { "name": "php-etl/metadata-contracts", @@ -599,16 +578,16 @@ }, { "name": "php-etl/packaging-contracts", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.3.0", "source": { "type": "git", "url": "https://github.com/php-etl/packaging-contracts.git", - "reference": "76a009ae6792f346694a67bf5794ba941612332e" + "reference": "46119dbdabe20111587a515cb024a3646d4dbc78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/packaging-contracts/zipball/76a009ae6792f346694a67bf5794ba941612332e", - "reference": "76a009ae6792f346694a67bf5794ba941612332e", + "url": "https://api.github.com/repos/php-etl/packaging-contracts/zipball/46119dbdabe20111587a515cb024a3646d4dbc78", + "reference": "46119dbdabe20111587a515cb024a3646d4dbc78", "shasum": "" }, "require": { @@ -617,16 +596,13 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "infection/infection": "^0.26.18", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.5 || ^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.2.x-dev", - "dev-feature/qualityflow-improvments": "0.2.x-dev" + "dev-main": "0.3.x-dev" } }, "autoload": { @@ -651,47 +627,44 @@ "description": "This library aims at providing contracts for building TAR archives, using PHP resources and streams", "support": { "issues": "https://github.com/php-etl/packaging-contracts/issues", - "source": "https://github.com/php-etl/packaging-contracts/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/packaging-contracts/tree/v0.3.0" }, - "time": "2023-03-21T13:26:59+00:00" + "time": "2023-04-03T13:00:44+00:00" }, { "name": "php-etl/satellite-toolbox", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/php-etl/satellite-toolbox.git", - "reference": "f275f485dcb0fa8b79e5ce7d4912981769d5e4fa" + "reference": "41daaef04b99848f9ae2625698cc1665a1045f40" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/satellite-toolbox/zipball/f275f485dcb0fa8b79e5ce7d4912981769d5e4fa", - "reference": "f275f485dcb0fa8b79e5ce7d4912981769d5e4fa", + "url": "https://api.github.com/repos/php-etl/satellite-toolbox/zipball/41daaef04b99848f9ae2625698cc1665a1045f40", + "reference": "41daaef04b99848f9ae2625698cc1665a1045f40", "shasum": "" }, "require": { "nikic/php-parser": "^4.10", "php": "^8.2", - "php-etl/configurator-contracts": "^0.6@dev", - "symfony/expression-language": "^5.2||^6.0" + "php-etl/configurator-contracts": "^0.7.0", + "symfony/expression-language": "^6.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", "infection/infection": "^0.26.18", - "johnkary/phpunit-speedtrap": "*", "mikey179/vfsstream": "^1.6", - "mybuilder/phpunit-accelerator": "*", - "php-etl/phpunit-extension": "^0.5@dev", + "php-etl/phpunit-extension": "^0.5.0", "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.5 || ^10.0", + "phpunit/phpunit": "^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.4.x-dev", - "dev-feature/qualityflow-improvments": "0.4.x-dev" + "dev-main": "0.5.x-dev" } }, "autoload": { @@ -720,9 +693,9 @@ "description": "This library aims at building and running lambda PHP functions", "support": { "issues": "https://github.com/php-etl/satellite-toolbox/issues", - "source": "https://github.com/php-etl/satellite-toolbox/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/satellite-toolbox/tree/v0.5.0" }, - "time": "2023-03-21T13:26:08+00:00" + "time": "2023-04-04T11:53:09+00:00" }, { "name": "phpactor/docblock", @@ -779,16 +752,16 @@ }, { "name": "psr/cache", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "213f9dbc5b9bfbc4f8db86d2838dc968752ce13b" + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/213f9dbc5b9bfbc4f8db86d2838dc968752ce13b", - "reference": "213f9dbc5b9bfbc4f8db86d2838dc968752ce13b", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { @@ -822,9 +795,9 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/2.0.0" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, - "time": "2021-02-03T23:23:37+00:00" + "time": "2021-02-03T23:26:27+00:00" }, { "name": "psr/container", @@ -931,58 +904,57 @@ }, { "name": "symfony/cache", - "version": "v5.4.21", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "32cab695bf99c63aff7d27ac67919944c00530ed" + "reference": "76babfd82f6bfd8f6cbe851a153b95dd074ffc53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/32cab695bf99c63aff7d27ac67919944c00530ed", - "reference": "32cab695bf99c63aff7d27ac67919944c00530ed", + "url": "https://api.github.com/repos/symfony/cache/zipball/76babfd82f6bfd8f6cbe851a153b95dd074ffc53", + "reference": "76babfd82f6bfd8f6cbe851a153b95dd074ffc53", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/cache": "^1.0|^2.0", + "php": ">=8.1", + "psr/cache": "^2.0|^3.0", "psr/log": "^1.1|^2|^3", - "symfony/cache-contracts": "^1.1.7|^2", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", + "symfony/cache-contracts": "^1.1.7|^2|^3", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/var-exporter": "^6.2.7" }, "conflict": { "doctrine/dbal": "<2.13.1", - "symfony/dependency-injection": "<4.4", - "symfony/http-kernel": "<4.4", - "symfony/var-dumper": "<4.4" + "symfony/dependency-injection": "<5.4", + "symfony/http-kernel": "<5.4", + "symfony/var-dumper": "<5.4" }, "provide": { - "psr/cache-implementation": "1.0|2.0", - "psr/simple-cache-implementation": "1.0|2.0", - "symfony/cache-implementation": "1.0|2.0" + "psr/cache-implementation": "2.0|3.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0", + "symfony/cache-implementation": "1.1|2.0|3.0" }, "require-dev": { "cache/integration-tests": "dev-master", - "doctrine/cache": "^1.6|^2.0", "doctrine/dbal": "^2.13.1|^3.0", "predis/predis": "^1.1", - "psr/simple-cache": "^1.0|^2.0", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "psr/simple-cache": "^1.0|^2.0|^3.0", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/filesystem": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/messenger": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" }, "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Cache\\": "" }, + "classmap": [ + "Traits/ValueWrapper.php" + ], "exclude-from-classmap": [ "/Tests/" ] @@ -1008,7 +980,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.4.21" + "source": "https://github.com/symfony/cache/tree/v6.2.8" }, "funding": [ { @@ -1024,25 +996,25 @@ "type": "tidelift" } ], - "time": "2023-02-21T12:11:13+00:00" + "time": "2023-03-30T07:37:32+00:00" }, { "name": "symfony/cache-contracts", - "version": "v2.5.2", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "64be4a7acb83b6f2bf6de9a02cee6dad41277ebc" + "reference": "eeb71f04b6f7f34ca6d15633df82e014528b1632" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/64be4a7acb83b6f2bf6de9a02cee6dad41277ebc", - "reference": "64be4a7acb83b6f2bf6de9a02cee6dad41277ebc", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/eeb71f04b6f7f34ca6d15633df82e014528b1632", + "reference": "eeb71f04b6f7f34ca6d15633df82e014528b1632", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/cache": "^1.0|^2.0|^3.0" + "php": ">=8.1", + "psr/cache": "^3.0" }, "suggest": { "symfony/cache-implementation": "" @@ -1050,7 +1022,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -1087,7 +1059,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/cache-contracts/tree/v3.2.1" }, "funding": [ { @@ -1103,39 +1075,37 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/config", - "version": "v5.4.21", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4" + "reference": "249271da6f545d6579e0663374f8249a80be2893" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/2a6b1111d038adfa15d52c0871e540f3b352d1e4", - "reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4", + "url": "https://api.github.com/repos/symfony/config/zipball/249271da6f545d6579e0663374f8249a80be2893", + "reference": "249271da6f545d6579e0663374f8249a80be2893", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/deprecation-contracts": "^2.1|^3", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22" + "symfony/filesystem": "^5.4|^6.0", + "symfony/polyfill-ctype": "~1.8" }, "conflict": { - "symfony/finder": "<4.4" + "symfony/finder": "<5.4" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/messenger": "^5.4|^6.0", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/yaml": "^5.4|^6.0" }, "suggest": { "symfony/yaml": "To use the yaml reference dumper" @@ -1166,7 +1136,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.4.21" + "source": "https://github.com/symfony/config/tree/v6.2.7" }, "funding": [ { @@ -1182,7 +1152,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1253,21 +1223,21 @@ }, { "name": "symfony/expression-language", - "version": "v5.4.21", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", - "reference": "501589522b844b8eecf012c133f0404f0eef77ac" + "reference": "83e1fee4c018aa60bcbbecd585a2c54af6aca905" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/501589522b844b8eecf012c133f0404f0eef77ac", - "reference": "501589522b844b8eecf012c133f0404f0eef77ac", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/83e1fee4c018aa60bcbbecd585a2c54af6aca905", + "reference": "83e1fee4c018aa60bcbbecd585a2c54af6aca905", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/cache": "^4.4|^5.0|^6.0", + "php": ">=8.1", + "symfony/cache": "^5.4|^6.0", "symfony/service-contracts": "^1.1|^2|^3" }, "type": "library", @@ -1296,7 +1266,7 @@ "description": "Provides an engine that can compile and evaluate expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/expression-language/tree/v5.4.21" + "source": "https://github.com/symfony/expression-language/tree/v6.2.7" }, "funding": [ { @@ -1312,7 +1282,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2023-02-16T09:57:23+00:00" }, { "name": "symfony/filesystem", @@ -1707,269 +1677,27 @@ ], "time": "2022-11-03T14:55:06+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-php81", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", - "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, { "name": "symfony/property-access", - "version": "v5.4.21", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "bbd4442bfbdf3992550772539ba743d6d834534f" + "reference": "2ad1e0a07b8cab3e09905659d14f3b248e916374" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/bbd4442bfbdf3992550772539ba743d6d834534f", - "reference": "bbd4442bfbdf3992550772539ba743d6d834534f", + "url": "https://api.github.com/repos/symfony/property-access/zipball/2ad1e0a07b8cab3e09905659d14f3b248e916374", + "reference": "2ad1e0a07b8cab3e09905659d14f3b248e916374", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16", - "symfony/property-info": "^5.2|^6.0" + "symfony/property-info": "^5.4|^6.0" }, "require-dev": { - "symfony/cache": "^4.4|^5.0|^6.0" + "symfony/cache": "^5.4|^6.0" }, "suggest": { "psr/cache-implementation": "To cache access methods." @@ -2007,11 +1735,11 @@ "injection", "object", "property", - "property path", + "property-path", "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v5.4.21" + "source": "https://github.com/symfony/property-access/tree/v6.2.8" }, "funding": [ { @@ -2027,20 +1755,20 @@ "type": "tidelift" } ], - "time": "2023-02-16T09:33:00+00:00" + "time": "2023-03-14T15:00:05+00:00" }, { "name": "symfony/property-info", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "5cf906918ea0f74032ffc5c0b85def246ce409df" + "reference": "400a019b7c05030599fd15f02b3d4ce287631732" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/5cf906918ea0f74032ffc5c0b85def246ce409df", - "reference": "5cf906918ea0f74032ffc5c0b85def246ce409df", + "url": "https://api.github.com/repos/symfony/property-info/zipball/400a019b7c05030599fd15f02b3d4ce287631732", + "reference": "400a019b7c05030599fd15f02b3d4ce287631732", "shasum": "" }, "require": { @@ -2100,7 +1828,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v6.2.7" + "source": "https://github.com/symfony/property-info/tree/v6.2.8" }, "funding": [ { @@ -2116,7 +1844,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:53:37+00:00" + "time": "2023-03-14T15:00:05+00:00" }, { "name": "symfony/service-contracts", @@ -2205,16 +1933,16 @@ }, { "name": "symfony/string", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", - "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", + "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef", + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef", "shasum": "" }, "require": { @@ -2271,7 +1999,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.2.7" + "source": "https://github.com/symfony/string/tree/v6.2.8" }, "funding": [ { @@ -2287,20 +2015,20 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-03-20T16:06:02+00:00" }, { "name": "symfony/var-exporter", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "86062dd0103530e151588c8f60f5b85a139f1442" + "reference": "8302bb670204500d492c6b8c595ee9a27da62cd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/86062dd0103530e151588c8f60f5b85a139f1442", - "reference": "86062dd0103530e151588c8f60f5b85a139f1442", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/8302bb670204500d492c6b8c595ee9a27da62cd6", + "reference": "8302bb670204500d492c6b8c595ee9a27da62cd6", "shasum": "" }, "require": { @@ -2340,12 +2068,12 @@ "export", "hydrate", "instantiate", - "lazy loading", + "lazy-loading", "proxy", "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.2.7" + "source": "https://github.com/symfony/var-exporter/tree/v6.2.8" }, "funding": [ { @@ -2361,7 +2089,7 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-03-14T15:48:45+00:00" } ], "packages-dev": [ @@ -3024,16 +2752,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.15.1", + "version": "v3.16.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "d48755372a113bddb99f749e34805d83f3acfe04" + "reference": "d40f9436e1c448d309fa995ab9c14c5c7a96f2dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d48755372a113bddb99f749e34805d83f3acfe04", - "reference": "d48755372a113bddb99f749e34805d83f3acfe04", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d40f9436e1c448d309fa995ab9c14c5c7a96f2dc", + "reference": "d40f9436e1c448d309fa995ab9c14c5c7a96f2dc", "shasum": "" }, "require": { @@ -3108,7 +2836,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.15.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.16.0" }, "funding": [ { @@ -3116,7 +2844,7 @@ "type": "github" } ], - "time": "2023-03-13T23:26:30+00:00" + "time": "2023-04-02T19:30:06+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -3384,96 +3112,44 @@ }, { "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": "johnkary/phpunit-speedtrap", - "version": "v1.0.2", - "source": { - "type": "git", - "url": "https://github.com/johnkary/phpunit-speedtrap.git", - "reference": "ad242a6e84b0d63d2e50832babad77d6d545bc0a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/ad242a6e84b0d63d2e50832babad77d6d545bc0a", - "reference": "ad242a6e84b0d63d2e50832babad77d6d545bc0a", - "shasum": "" - }, - "require": { - "php": ">=5.6", - "phpunit/phpunit": ">=4.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-0": { - "JohnKary": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "email": "theo.fidry@gmail.com", + "homepage": "https://twitter.com/tfidry" + }, + { + "name": "Alexey Kopytko", + "email": "alexey@kopytko.com", + "homepage": "https://www.alexeykopytko.com" + }, { - "name": "John Kary", - "email": "john@johnkary.net" + "name": "Andreas Möller", + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" } ], - "description": "Find slow tests in your PHPUnit test suite", - "homepage": "https://github.com/johnkary/phpunit-speedtrap", + "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": [ - "phpunit", - "profile", - "slow" + "coverage", + "mutant", + "mutation framework", + "mutation testing", + "testing", + "unit testing" ], "support": { - "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", - "source": "https://github.com/johnkary/phpunit-speedtrap/tree/master" + "issues": "https://github.com/infection/infection/issues", + "source": "https://github.com/infection/infection/tree/0.26.19" }, - "time": "2017-02-13T15:22:35+00:00" + "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", @@ -3693,55 +3369,6 @@ }, "time": "2022-02-23T02:02:42+00:00" }, - { - "name": "mybuilder/phpunit-accelerator", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/mybuilder/phpunit-accelerator.git", - "reference": "11d4850d174257b3718f2f3ac016cb9cc66e4de7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mybuilder/phpunit-accelerator/zipball/11d4850d174257b3718f2f3ac016cb9cc66e4de7", - "reference": "11d4850d174257b3718f2f3ac016cb9cc66e4de7", - "shasum": "" - }, - "require": { - "php": ">=5.6", - "phpunit/phpunit": ">=4.7" - }, - "type": "library", - "autoload": { - "psr-4": { - "MyBuilder\\PhpunitAccelerator\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Keyvan Akbary", - "email": "keyvan@mybuilder.com" - } - ], - "description": "PHPUnit accelerator", - "keywords": [ - "accelerator", - "fast", - "free", - "memory", - "phpunit", - "property" - ], - "support": { - "issues": "https://github.com/mybuilder/phpunit-accelerator/issues", - "source": "https://github.com/mybuilder/phpunit-accelerator/tree/master" - }, - "time": "2016-11-15T10:37:19+00:00" - }, { "name": "myclabs/deep-copy", "version": "1.11.1", @@ -3992,39 +3619,32 @@ }, { "name": "php-etl/bucket", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.3.0", "source": { "type": "git", "url": "https://github.com/php-etl/bucket.git", - "reference": "7d207325fb1d2bbdd6979ad89930fab856344b69" + "reference": "7d243d4cdad105390e532c8a846796c61a467e56" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/bucket/zipball/7d207325fb1d2bbdd6979ad89930fab856344b69", - "reference": "7d207325fb1d2bbdd6979ad89930fab856344b69", + "url": "https://api.github.com/repos/php-etl/bucket/zipball/7d243d4cdad105390e532c8a846796c61a467e56", + "reference": "7d243d4cdad105390e532c8a846796c61a467e56", "shasum": "" }, "require": { "php": "^8.2", - "php-etl/bucket-contracts": "^0.2@dev" + "php-etl/bucket-contracts": "^0.2.0" }, "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "6.x-dev", "friendsofphp/php-cs-fixer": "^3.0", - "infection/infection": "^0.26.18", - "johnkary/phpunit-speedtrap": "*", - "mybuilder/phpunit-accelerator": "*", - "phpspec/phpspec": "^7.0", + "phpspec/phpspec": "^7.3", "phpstan/phpstan": "^1.10", - "phpunit/php-invoker": "*", - "phpunit/phpunit": "^9.5 || ^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.3.x-dev", - "dev-feature/qualityflow-improvments": "0.3.x-dev" + "dev-main": "0.3.x-dev" } }, "autoload": { @@ -4049,22 +3669,22 @@ "description": "This library implements the Extract-Transform-Load pattern asynchronously in PHP with the help of iterators and generators", "support": { "issues": "https://github.com/php-etl/bucket/issues", - "source": "https://github.com/php-etl/bucket/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/bucket/tree/v0.3.0" }, - "time": "2023-03-20T15:24:15+00:00" + "time": "2023-04-04T07:45:55+00:00" }, { "name": "php-etl/bucket-contracts", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.2.0", "source": { "type": "git", "url": "https://github.com/php-etl/bucket-contracts.git", - "reference": "81c029f14993fd246ec7f8b68c6ac95791dcd6ba" + "reference": "e96726f9b89dea7308482fa6c2ce4db0757960ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/bucket-contracts/zipball/81c029f14993fd246ec7f8b68c6ac95791dcd6ba", - "reference": "81c029f14993fd246ec7f8b68c6ac95791dcd6ba", + "url": "https://api.github.com/repos/php-etl/bucket-contracts/zipball/e96726f9b89dea7308482fa6c2ce4db0757960ce", + "reference": "e96726f9b89dea7308482fa6c2ce4db0757960ce", "shasum": "" }, "require": { @@ -4072,16 +3692,13 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "infection/infection": "^0.26.18", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.2.x-dev", - "dev-feature/qualityflow-improvments": "0.2.x-dev" + "dev-main": "0.2.x-dev" } }, "autoload": { @@ -4106,22 +3723,22 @@ "description": "This library describes contracts for the data-interchange buckets.", "support": { "issues": "https://github.com/php-etl/bucket-contracts/issues", - "source": "https://github.com/php-etl/bucket-contracts/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/bucket-contracts/tree/v0.2.0" }, - "time": "2023-03-20T15:10:20+00:00" + "time": "2023-04-03T12:42:10+00:00" }, { "name": "php-etl/phpunit-extension", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/php-etl/phpunit-extension.git", - "reference": "99da8b14f2bd65540ceb1751ce6d2abf0377dcd2" + "reference": "b762262be3c2767a4b377b7fb180754c2ad5c3fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/phpunit-extension/zipball/99da8b14f2bd65540ceb1751ce6d2abf0377dcd2", - "reference": "99da8b14f2bd65540ceb1751ce6d2abf0377dcd2", + "url": "https://api.github.com/repos/php-etl/phpunit-extension/zipball/b762262be3c2767a4b377b7fb180754c2ad5c3fc", + "reference": "b762262be3c2767a4b377b7fb180754c2ad5c3fc", "shasum": "" }, "require": { @@ -4130,10 +3747,10 @@ "mikey179/vfsstream": "^1.6", "nikic/php-parser": "^4.10", "php": "^8.2", - "php-etl/pipeline-contracts": "^0.4@dev", + "php-etl/pipeline-contracts": "^0.4.0", "php-http/message": "^1.11", "php-http/mock-client": "^1.4@dev", - "phpunit/phpunit": "^9.5 || ^10.0" + "phpunit/phpunit": "^10.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", @@ -4144,8 +3761,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.5.x-dev", - "dev-feature/qualityflow-improvments": "0.5.x-dev" + "dev-main": "0.5.x-dev" } }, "autoload": { @@ -4166,40 +3782,37 @@ "description": "Extension for testing FastMap and ETL components with PHPUnit testing framework", "support": { "issues": "https://github.com/php-etl/phpunit-extension/issues", - "source": "https://github.com/php-etl/phpunit-extension/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/phpunit-extension/tree/v0.5.0" }, - "time": "2023-03-20T15:20:01+00:00" + "time": "2023-04-04T09:07:39+00:00" }, { "name": "php-etl/pipeline-contracts", - "version": "dev-feature/qualityflow-improvments", + "version": "v0.4.0", "source": { "type": "git", "url": "https://github.com/php-etl/pipeline-contracts.git", - "reference": "59107fc3a4e7e5260624cb9b46d92ff9b0fa1ae8" + "reference": "5fe30e55ac4af2ea23a15adba2ed349eb55db124" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/pipeline-contracts/zipball/59107fc3a4e7e5260624cb9b46d92ff9b0fa1ae8", - "reference": "59107fc3a4e7e5260624cb9b46d92ff9b0fa1ae8", + "url": "https://api.github.com/repos/php-etl/pipeline-contracts/zipball/5fe30e55ac4af2ea23a15adba2ed349eb55db124", + "reference": "5fe30e55ac4af2ea23a15adba2ed349eb55db124", "shasum": "" }, "require": { "php": "^8.2", - "php-etl/bucket-contracts": "^0.2@dev" + "php-etl/bucket-contracts": "^0.2" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "infection/infection": "^0.26.18", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.5 || ^10.0", "rector/rector": "^0.15" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "0.4.x-dev", - "dev-feature/qualityflow-improvments": "0.4.x-dev" + "dev-main": "0.4.x-dev" } }, "autoload": { @@ -4224,26 +3837,26 @@ "description": "This library describes contracts for the Extract-Transform-Load pattern.", "support": { "issues": "https://github.com/php-etl/pipeline-contracts/issues", - "source": "https://github.com/php-etl/pipeline-contracts/tree/feature/qualityflow-improvments" + "source": "https://github.com/php-etl/pipeline-contracts/tree/v0.4.0" }, - "time": "2023-03-21T13:47:02+00:00" + "time": "2023-04-03T13:09:59+00:00" }, { "name": "php-etl/sylius-api-php-client", - "version": "dev-main", + "version": "dev-feature/qualityflow-improvments", "source": { "type": "git", "url": "https://github.com/php-etl/sylius-api-php-client.git", - "reference": "1120f7c6f17693fe0ed993c62bec5280e5cc5e26" + "reference": "592931dce9dc6f3ea1ddf81dbab0ef3d96201104" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-etl/sylius-api-php-client/zipball/1120f7c6f17693fe0ed993c62bec5280e5cc5e26", - "reference": "1120f7c6f17693fe0ed993c62bec5280e5cc5e26", + "url": "https://api.github.com/repos/php-etl/sylius-api-php-client/zipball/592931dce9dc6f3ea1ddf81dbab0ef3d96201104", + "reference": "592931dce9dc6f3ea1ddf81dbab0ef3d96201104", "shasum": "" }, "require": { - "php": ">=8.0", + "php": "^8.2", "php-http/client-implementation": "^1.0", "php-http/discovery": "^1.6", "php-http/httplug": "^1.1 || ^2.0", @@ -4252,7 +3865,7 @@ "php-http/multipart-stream-builder": "^1.0", "psr/http-client": "^1.0", "psr/http-message": "^1.0", - "symfony/expression-language": "^3.0|^4.0|^5.0", + "symfony/expression-language": "^3.0|^4.0|^5.0|^6.0", "webmozart/assert": "^1.10" }, "replace": { @@ -4263,17 +3876,16 @@ "friendsofphp/php-cs-fixer": "^2.14", "php-http/guzzle6-adapter": "^2.0", "phpspec/phpspec": "^7.1", - "phpunit/phpunit": "^9.0", - "symfony/yaml": "^4.2" + "symfony/yaml": "^6.0" }, "suggest": { "php-http/guzzle6-adapter": "In order to use Guzzle v6 as the HTTP client" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0.x-dev" + "dev-main": "2.1.x-dev", + "dev-feature/qualityflow-improvments": "2.1.x-dev" } }, "autoload": { @@ -4301,9 +3913,9 @@ ], "description": "API client for Sylius API versions 1.6, 1.7, 1.9 and above.", "support": { - "source": "https://github.com/php-etl/sylius-api-php-client/tree/main" + "source": "https://github.com/php-etl/sylius-api-php-client/tree/feature/qualityflow-improvments" }, - "time": "2022-08-01T07:41:49+00:00" + "time": "2023-04-05T07:22:26+00:00" }, { "name": "php-http/client-common", @@ -4382,16 +3994,16 @@ }, { "name": "php-http/discovery", - "version": "1.15.2", + "version": "1.15.3", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "5cc428320191ac1d0b6520034c2dc0698628ced5" + "reference": "3ccd28dd9fb34b52db946abea1b538568e34eae8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/5cc428320191ac1d0b6520034c2dc0698628ced5", - "reference": "5cc428320191ac1d0b6520034c2dc0698628ced5", + "url": "https://api.github.com/repos/php-http/discovery/zipball/3ccd28dd9fb34b52db946abea1b538568e34eae8", + "reference": "3ccd28dd9fb34b52db946abea1b538568e34eae8", "shasum": "" }, "require": { @@ -4450,9 +4062,9 @@ ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.15.2" + "source": "https://github.com/php-http/discovery/tree/1.15.3" }, - "time": "2023-02-11T08:28:41+00:00" + "time": "2023-03-31T14:40:37+00:00" }, { "name": "php-http/httplug", @@ -4833,16 +4445,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.7", + "version": "1.10.11", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "b10ceb526d9607903c5b2673f1fc8775dbe48975" + "reference": "8aa62e6ea8b58ffb650e02940e55a788cbc3fe21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b10ceb526d9607903c5b2673f1fc8775dbe48975", - "reference": "b10ceb526d9607903c5b2673f1fc8775dbe48975", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8aa62e6ea8b58ffb650e02940e55a788cbc3fe21", + "reference": "8aa62e6ea8b58ffb650e02940e55a788cbc3fe21", "shasum": "" }, "require": { @@ -4891,7 +4503,7 @@ "type": "tidelift" } ], - "time": "2023-03-16T15:24:20+00:00" + "time": "2023-04-04T19:17:42+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5213,16 +4825,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.0.17", + "version": "10.0.19", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "b75eddcabca052312ae38c8a2bc69ff1a7b89b77" + "reference": "20c23e85c86e5c06d63538ba464e8054f4744e62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b75eddcabca052312ae38c8a2bc69ff1a7b89b77", - "reference": "b75eddcabca052312ae38c8a2bc69ff1a7b89b77", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/20c23e85c86e5c06d63538ba464e8054f4744e62", + "reference": "20c23e85c86e5c06d63538ba464e8054f4744e62", "shasum": "" }, "require": { @@ -5294,7 +4906,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.0.17" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.19" }, "funding": [ { @@ -5310,7 +4922,7 @@ "type": "tidelift" } ], - "time": "2023-03-20T14:42:33+00:00" + "time": "2023-03-27T11:46:33+00:00" }, { "name": "psr/event-dispatcher", @@ -5471,25 +5083,25 @@ }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "1.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -5518,22 +5130,22 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/1.1" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:50:52+00:00" }, { "name": "rector/rector", - "version": "0.15.21", + "version": "0.15.23", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "1cee8cc5d6d836e1bf9a3006d7b062adde3a6022" + "reference": "f4984ebd62b3613002869b0ddd6868261d62819e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/1cee8cc5d6d836e1bf9a3006d7b062adde3a6022", - "reference": "1cee8cc5d6d836e1bf9a3006d7b062adde3a6022", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/f4984ebd62b3613002869b0ddd6868261d62819e", + "reference": "f4984ebd62b3613002869b0ddd6868261d62819e", "shasum": "" }, "require": { @@ -5573,7 +5185,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.15.21" + "source": "https://github.com/rectorphp/rector/tree/0.15.23" }, "funding": [ { @@ -5581,7 +5193,7 @@ "type": "github" } ], - "time": "2023-03-06T11:44:29+00:00" + "time": "2023-03-22T15:22:45+00:00" }, { "name": "sanmai/later", @@ -6008,16 +5620,16 @@ }, { "name": "sebastian/diff", - "version": "5.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "70dd1b20bc198da394ad542e988381b44e64e39f" + "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/70dd1b20bc198da394ad542e988381b44e64e39f", - "reference": "70dd1b20bc198da394ad542e988381b44e64e39f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/aae9a0a43bff37bd5d8d0311426c87bf36153f02", + "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02", "shasum": "" }, "require": { @@ -6062,7 +5674,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.1" }, "funding": [ { @@ -6070,7 +5683,7 @@ "type": "github" } ], - "time": "2023-02-03T07:00:31+00:00" + "time": "2023-03-23T05:12:41+00:00" }, { "name": "sebastian/environment", @@ -6616,16 +6229,16 @@ }, { "name": "symfony/console", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45" + "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45", - "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45", + "url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b", + "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b", "shasum": "" }, "require": { @@ -6687,12 +6300,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.2.7" + "source": "https://github.com/symfony/console/tree/v6.2.8" }, "funding": [ { @@ -6708,20 +6321,20 @@ "type": "tidelift" } ], - "time": "2023-02-25T17:00:03+00:00" + "time": "2023-03-29T21:42:15+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "404b307de426c1c488e5afad64403e5f145e82a5" + "reference": "04046f35fd7d72f9646e721fc2ecb8f9c67d3339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/404b307de426c1c488e5afad64403e5f145e82a5", - "reference": "404b307de426c1c488e5afad64403e5f145e82a5", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/04046f35fd7d72f9646e721fc2ecb8f9c67d3339", + "reference": "04046f35fd7d72f9646e721fc2ecb8f9c67d3339", "shasum": "" }, "require": { @@ -6775,7 +6388,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.2.7" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.8" }, "funding": [ { @@ -6791,7 +6404,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:44:56+00:00" + "time": "2023-03-20T16:06:02+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -6938,16 +6551,16 @@ }, { "name": "symfony/http-client", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "0a5be6cbc570ae23b51b49d67341f378629d78e4" + "reference": "66391ba3a8862c560e1d9134c96d9bd2a619b477" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/0a5be6cbc570ae23b51b49d67341f378629d78e4", - "reference": "0a5be6cbc570ae23b51b49d67341f378629d78e4", + "url": "https://api.github.com/repos/symfony/http-client/zipball/66391ba3a8862c560e1d9134c96d9bd2a619b477", + "reference": "66391ba3a8862c560e1d9134c96d9bd2a619b477", "shasum": "" }, "require": { @@ -7002,8 +6615,11 @@ ], "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", "homepage": "https://symfony.com", + "keywords": [ + "http" + ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.2.7" + "source": "https://github.com/symfony/http-client/tree/v6.2.8" }, "funding": [ { @@ -7019,7 +6635,7 @@ "type": "tidelift" } ], - "time": "2023-02-21T10:54:55+00:00" + "time": "2023-03-31T09:14:44+00:00" }, { "name": "symfony/http-client-contracts", @@ -7169,18 +6785,180 @@ ], "time": "2023-02-14T08:44:56+00:00" }, + { + "name": "symfony/polyfill-php80", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-php81", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, { "name": "symfony/process", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902" + "reference": "75ed64103df4f6615e15a7fe38b8111099f47416" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/680e8a2ea6b3f87aecc07a6a65a203ae573d1902", - "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902", + "url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416", + "reference": "75ed64103df4f6615e15a7fe38b8111099f47416", "shasum": "" }, "require": { @@ -7212,7 +6990,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.2.7" + "source": "https://github.com/symfony/process/tree/v6.2.8" }, "funding": [ { @@ -7228,7 +7006,7 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-03-09T16:20:02+00:00" }, { "name": "symfony/stopwatch", @@ -7294,28 +7072,27 @@ }, { "name": "symfony/yaml", - "version": "v5.4.21", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "3713e20d93e46e681e51605d213027e48dab3469" + "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/3713e20d93e46e681e51605d213027e48dab3469", - "reference": "3713e20d93e46e681e51605d213027e48dab3469", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57", + "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.1", "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<5.3" + "symfony/console": "<5.4" }, "require-dev": { - "symfony/console": "^5.3|^6.0" + "symfony/console": "^5.4|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -7349,7 +7126,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.21" + "source": "https://github.com/symfony/yaml/tree/v6.2.7" }, "funding": [ { @@ -7365,7 +7142,7 @@ "type": "tidelift" } ], - "time": "2023-02-21T19:46:44+00:00" + "time": "2023-02-16T09:57:23+00:00" }, { "name": "thecodingmachine/safe", @@ -7618,14 +7395,8 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { - "php-etl/configurator-contracts": 20, - "php-etl/packaging-contracts": 20, - "php-etl/fast-map-plugin": 20, - "php-etl/satellite-toolbox": 20, "php-http/mock-client": 20, - "php-etl/bucket-contracts": 20, - "php-etl/phpunit-extension": 20, - "php-etl/bucket": 20 + "php-etl/sylius-api-php-client": 20 }, "prefer-stable": true, "prefer-lowest": false, From 0879c37a4ed12071ef7ad516562099cceefff66a Mon Sep 17 00:00:00 2001 From: clementzarch Date: Wed, 5 Apr 2023 15:11:00 +0200 Subject: [PATCH 3/4] revert the changes made by cs-fixer (it broke the tests) --- infection.json.dist | 4 +-- src/Configuration/Client.php | 2 +- src/Configuration/Extractor.php | 4 +-- src/Configuration/Loader.php | 2 +- src/Configuration/Search.php | 6 +++-- tests/functional/Builder/Capacity/AllTest.php | 15 ++--------- .../Builder/Capacity/CreateTest.php | 21 +++------------ .../Builder/Capacity/ListPerPageTest.php | 15 ++--------- .../Builder/Capacity/UpsertTest.php | 21 +++------------ tests/functional/Builder/ClientTest.php | 12 +-------- .../Builder/Extractor/ExtractorTest.php | 15 ++--------- .../functional/Builder/Loader/LoaderTest.php | 15 ++--------- tests/functional/Configuration/ClientTest.php | 27 +++++-------------- .../Configuration/ExtractorTest.php | 23 +++------------- tests/functional/Configuration/LoaderTest.php | 12 +-------- tests/functional/Factory/ClientTest.php | 17 ++---------- tests/functional/Factory/ExtractorTest.php | 19 ++----------- tests/functional/Factory/LoaderTest.php | 19 ++----------- .../Factory/Repository/ClientTest.php | 15 ++--------- .../Factory/Repository/ExtractorTest.php | 15 ++--------- .../Factory/Repository/LoaderTest.php | 15 ++--------- .../Factory/Repository/SearchTest.php | 15 ++--------- tests/functional/ServiceTest.php | 23 +++------------- 23 files changed, 56 insertions(+), 276 deletions(-) diff --git a/infection.json.dist b/infection.json.dist index da6f522..c4927bf 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -18,6 +18,6 @@ "@default": true }, "testFramework":"phpunit", - "minMsi": 60, - "minCoveredMsi": 70 + "minMsi": 55, + "minCoveredMsi": 68 } diff --git a/src/Configuration/Client.php b/src/Configuration/Client.php index bd4840f..727a4fb 100644 --- a/src/Configuration/Client.php +++ b/src/Configuration/Client.php @@ -11,7 +11,7 @@ final class Client implements Config\Definition\ConfigurationInterface { - public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder + public function getConfigTreeBuilder() { $builder = new Config\Definition\Builder\TreeBuilder('client'); diff --git a/src/Configuration/Extractor.php b/src/Configuration/Extractor.php index cf91ae9..9f1695d 100644 --- a/src/Configuration/Extractor.php +++ b/src/Configuration/Extractor.php @@ -132,7 +132,7 @@ final class Extractor implements Config\Definition\ConfigurationInterface 'promotionCoupons', ]; - public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder + public function getConfigTreeBuilder() { $filters = new Search(); @@ -184,7 +184,7 @@ public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Bui ->then(asExpression()) ->end() ->end() - ->append($filters->getConfigTreeBuilder()) + ->append(node: $filters->getConfigTreeBuilder()->getRootNode()) ->end() ; diff --git a/src/Configuration/Loader.php b/src/Configuration/Loader.php index a62d237..a248473 100644 --- a/src/Configuration/Loader.php +++ b/src/Configuration/Loader.php @@ -101,7 +101,7 @@ final class Loader implements Config\Definition\ConfigurationInterface ], ]; - public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder + public function getConfigTreeBuilder() { $builder = new Config\Definition\Builder\TreeBuilder('loader'); diff --git a/src/Configuration/Search.php b/src/Configuration/Search.php index 3b454b0..79f7f0a 100644 --- a/src/Configuration/Search.php +++ b/src/Configuration/Search.php @@ -11,12 +11,12 @@ final class Search implements Config\Definition\ConfigurationInterface { - public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder + public function getConfigTreeBuilder() { $builder = new Config\Definition\Builder\TreeBuilder('search'); /* @phpstan-ignore-next-line */ - return $builder->getRootNode() + $builder->getRootNode() ->arrayPrototype() ->children() ->scalarNode('field')->cannotBeEmpty()->isRequired()->end() @@ -46,5 +46,7 @@ public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Bui ->end() ->end() ; + + return $builder; } } diff --git a/tests/functional/Builder/Capacity/AllTest.php b/tests/functional/Builder/Capacity/AllTest.php index d7b16d4..160b022 100644 --- a/tests/functional/Builder/Capacity/AllTest.php +++ b/tests/functional/Builder/Capacity/AllTest.php @@ -9,19 +9,9 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class AllTest extends TestCase { - #[\PHPUnit\Framework\Attributes\Test] - public function withoutEndpoint(): void + public function testWithoutEndpoint(): void { $capacity = new All(); @@ -31,8 +21,7 @@ public function withoutEndpoint(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withEndpoint(): void + public function testWithEndpoint(): void { $capacity = new All(); diff --git a/tests/functional/Builder/Capacity/CreateTest.php b/tests/functional/Builder/Capacity/CreateTest.php index 5efae02..a782df0 100644 --- a/tests/functional/Builder/Capacity/CreateTest.php +++ b/tests/functional/Builder/Capacity/CreateTest.php @@ -10,19 +10,9 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class CreateTest extends TestCase { - #[\PHPUnit\Framework\Attributes\Test] - public function withoutEndpoint(): void + public function testWithoutEndpoint(): void { $capacity = new Create(); @@ -35,8 +25,7 @@ public function withoutEndpoint(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withoutCode(): void + public function testWithoutCode(): void { $capacity = new Create(); @@ -49,8 +38,7 @@ public function withoutCode(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withoutData(): void + public function testWithoutData(): void { $capacity = new Create(); @@ -63,8 +51,7 @@ public function withoutData(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withEndpoint(): void + public function testWithEndpoint(): void { $capacity = new Create(); diff --git a/tests/functional/Builder/Capacity/ListPerPageTest.php b/tests/functional/Builder/Capacity/ListPerPageTest.php index de080c8..89ab241 100644 --- a/tests/functional/Builder/Capacity/ListPerPageTest.php +++ b/tests/functional/Builder/Capacity/ListPerPageTest.php @@ -9,19 +9,9 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ListPerPageTest extends TestCase { - #[\PHPUnit\Framework\Attributes\Test] - public function withoutEndpoint(): void + public function testWithoutEndpoint(): void { $capacity = new ListPerPage(); @@ -31,8 +21,7 @@ public function withoutEndpoint(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withEndpoint(): void + public function testWithEndpoint(): void { $capacity = new ListPerPage(); diff --git a/tests/functional/Builder/Capacity/UpsertTest.php b/tests/functional/Builder/Capacity/UpsertTest.php index 2cfa299..8ff8f3c 100644 --- a/tests/functional/Builder/Capacity/UpsertTest.php +++ b/tests/functional/Builder/Capacity/UpsertTest.php @@ -10,19 +10,9 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class UpsertTest extends TestCase { - #[\PHPUnit\Framework\Attributes\Test] - public function withoutEndpoint(): void + public function testWithoutEndpoint(): void { $capacity = new Upsert(); @@ -35,8 +25,7 @@ public function withoutEndpoint(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withoutCode(): void + public function testWithoutCode(): void { $capacity = new Upsert(); @@ -49,8 +38,7 @@ public function withoutCode(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withoutData(): void + public function testWithoutData(): void { $capacity = new Upsert(); @@ -63,8 +51,7 @@ public function withoutData(): void $capacity->getNode(); } - #[\PHPUnit\Framework\Attributes\Test] - public function withEndpoint(): void + public function testWithEndpoint(): void { $capacity = new Upsert(); diff --git a/tests/functional/Builder/ClientTest.php b/tests/functional/Builder/ClientTest.php index 68e5ca0..8e693a1 100644 --- a/tests/functional/Builder/ClientTest.php +++ b/tests/functional/Builder/ClientTest.php @@ -12,15 +12,6 @@ use Kiboko\Plugin\Sylius\MissingAuthenticationMethodException; use PhpParser\Node; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ClientTest extends BuilderTestCase { use PipelineBuilderAssertTrait; @@ -39,8 +30,7 @@ class: new Node\Name\FullyQualified(Client::class), ); } - #[\PHPUnit\Framework\Attributes\Test] - public function expectingTokenOrPassword(): void + public function testExpectingTokenOrPassword(): void { $client = new Builder\Client( new Node\Scalar\String_('http://demo.akeneo.com'), diff --git a/tests/functional/Builder/Extractor/ExtractorTest.php b/tests/functional/Builder/Extractor/ExtractorTest.php index 1884904..d6cdd46 100644 --- a/tests/functional/Builder/Extractor/ExtractorTest.php +++ b/tests/functional/Builder/Extractor/ExtractorTest.php @@ -12,21 +12,11 @@ use Kiboko\Plugin\Sylius\Capacity; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ExtractorTest extends BuilderTestCase { use ExtractorBuilderAssertTrait; - #[\PHPUnit\Framework\Attributes\Test] - public function allProducts(): void + public function testAllProducts(): void { $httpClient = new Mock\HttpClientBuilder(new Mock\ResponseFactoryBuilder()); @@ -162,8 +152,7 @@ public function allProducts(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function allProductsWithSearch(): void + public function testAllProductsWithSearch(): void { $httpClient = new Mock\HttpClientBuilder(new Mock\ResponseFactoryBuilder()); diff --git a/tests/functional/Builder/Loader/LoaderTest.php b/tests/functional/Builder/Loader/LoaderTest.php index 10114f5..b7d9ac7 100644 --- a/tests/functional/Builder/Loader/LoaderTest.php +++ b/tests/functional/Builder/Loader/LoaderTest.php @@ -11,21 +11,11 @@ use Kiboko\Plugin\Sylius\Builder\Loader; use Kiboko\Plugin\Sylius\Capacity; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class LoaderTest extends BuilderTestCase { use LoaderBuilderAssertTrait; - #[\PHPUnit\Framework\Attributes\Test] - public function upsertProduct(): void + public function testUpsertProduct(): void { $httpClient = new Mock\HttpClientBuilder(new Mock\ResponseFactoryBuilder()); @@ -73,8 +63,7 @@ public function upsertProduct(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function createProduct(): void + public function testCreateProduct(): void { $httpClient = new Mock\HttpClientBuilder(new Mock\ResponseFactoryBuilder()); diff --git a/tests/functional/Configuration/ClientTest.php b/tests/functional/Configuration/ClientTest.php index fa8ea1d..8647ade 100644 --- a/tests/functional/Configuration/ClientTest.php +++ b/tests/functional/Configuration/ClientTest.php @@ -8,15 +8,6 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\Config; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ClientTest extends TestCase { private ?Config\Definition\Processor $processor = null; @@ -26,8 +17,7 @@ protected function setUp(): void $this->processor = new Config\Definition\Processor(); } - #[\PHPUnit\Framework\Attributes\Test] - public function validConfigWithPasswordAuthentication(): void + public function testValidConfigWithPasswordAuthentication(): void { $client = new Configuration\Client(); @@ -56,8 +46,7 @@ public function validConfigWithPasswordAuthentication(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function validConfigWithTokenAuthentication(): void + public function testValidConfigWithTokenAuthentication(): void { $client = new Configuration\Client(); @@ -86,8 +75,7 @@ public function validConfigWithTokenAuthentication(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function missingAuthenticationMethod(): void + public function testMissingAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -111,8 +99,7 @@ public function missingAuthenticationMethod(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function bothAuthenticationMethod(): void + public function testBothAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -140,8 +127,7 @@ public function bothAuthenticationMethod(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function missingPasswordInAuthenticationMethod(): void + public function testMissingPasswordInAuthenticationMethod(): void { $client = new Configuration\Client(); @@ -166,8 +152,7 @@ public function missingPasswordInAuthenticationMethod(): void ); } - #[\PHPUnit\Framework\Attributes\Test] - public function missingRefreshTokenInAuthenticationMethod(): void + public function testMissingRefreshTokenInAuthenticationMethod(): void { $client = new Configuration\Client(); diff --git a/tests/functional/Configuration/ExtractorTest.php b/tests/functional/Configuration/ExtractorTest.php index fdaa50b..3427e3c 100644 --- a/tests/functional/Configuration/ExtractorTest.php +++ b/tests/functional/Configuration/ExtractorTest.php @@ -8,15 +8,6 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\Config; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ExtractorTest extends TestCase { private ?Config\Definition\Processor $processor = null; @@ -67,18 +58,14 @@ public static function validDataProvider(): iterable } #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] - /** - * @test - */ - public function validConfig(array $config, array $expected): void + public function testValidConfig(array $config, array $expected): void { $client = new Configuration\Extractor(); $this->assertSame($expected, $this->processor->processConfiguration($client, [$config])); } - #[\PHPUnit\Framework\Attributes\Test] - public function wrongMethod(): void + public function testWrongMethod(): void { $client = new Configuration\Extractor(); @@ -97,8 +84,7 @@ public function wrongMethod(): void ]); } - #[\PHPUnit\Framework\Attributes\Test] - public function wrongType(): void + public function testWrongType(): void { $client = new Configuration\Extractor(); @@ -116,8 +102,7 @@ public function wrongType(): void ]); } - #[\PHPUnit\Framework\Attributes\Test] - public function missingCode(): void + public function testMissingCode(): void { $client = new Configuration\Extractor(); diff --git a/tests/functional/Configuration/LoaderTest.php b/tests/functional/Configuration/LoaderTest.php index a755591..7ee2598 100644 --- a/tests/functional/Configuration/LoaderTest.php +++ b/tests/functional/Configuration/LoaderTest.php @@ -8,15 +8,6 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\Config; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class LoaderTest extends TestCase { private ?Config\Definition\Processor $processor = null; @@ -26,8 +17,7 @@ protected function setUp(): void $this->processor = new Config\Definition\Processor(); } - #[\PHPUnit\Framework\Attributes\Test] - public function wrongMethod(): void + public function testWrongMethod(): void { $client = new Configuration\Loader(); diff --git a/tests/functional/Factory/ClientTest.php b/tests/functional/Factory/ClientTest.php index a69e6d1..ed8596d 100644 --- a/tests/functional/Factory/ClientTest.php +++ b/tests/functional/Factory/ClientTest.php @@ -9,15 +9,6 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ClientTest extends TestCase { public static function validDataProvider(): \Generator @@ -47,18 +38,14 @@ public static function validDataProvider(): \Generator } #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] - /** - * @test - */ - public function validateConfiguration(array $config): void + public function testValidateConfiguration(array $config): void { $client = new Client(new ExpressionLanguage()); $this->assertTrue($client->validate([$config])); $client->compile($config); } - #[\PHPUnit\Framework\Attributes\Test] - public function missingCapacity(): void + public function testMissingCapacity(): void { $this->expectException(InvalidConfigurationException::class); diff --git a/tests/functional/Factory/ExtractorTest.php b/tests/functional/Factory/ExtractorTest.php index 9dd5894..c3c0de4 100644 --- a/tests/functional/Factory/ExtractorTest.php +++ b/tests/functional/Factory/ExtractorTest.php @@ -9,15 +9,6 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ExtractorTest extends TestCase { public static function validDataProvider(): \Generator @@ -68,10 +59,7 @@ public static function wrongConfigs(): \Generator } #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] - /** - * @test - */ - public function validateConfiguration(array $config): void + public function testValidateConfiguration(array $config): void { $client = new Extractor(new ExpressionLanguage()); $this->assertTrue($client->validate([$config])); @@ -79,10 +67,7 @@ public function validateConfiguration(array $config): void } #[\PHPUnit\Framework\Attributes\DataProvider('wrongConfigs')] - /** - * @test - */ - public function missingCapacity(array $config): void + public function testMissingCapacity(array $config): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); diff --git a/tests/functional/Factory/LoaderTest.php b/tests/functional/Factory/LoaderTest.php index 301cb59..cf460aa 100644 --- a/tests/functional/Factory/LoaderTest.php +++ b/tests/functional/Factory/LoaderTest.php @@ -8,15 +8,6 @@ use Kiboko\Plugin\Sylius\Factory\Loader; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class LoaderTest extends TestCase { public static function validDataProvider(): \Generator @@ -67,10 +58,7 @@ public static function wrongConfigs(): \Generator } #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] - /** - * @test - */ - public function validateConfiguration(array $config): void + public function testValidateConfiguration(array $config): void { $client = new Loader(); $this->assertTrue($client->validate([$config])); @@ -78,10 +66,7 @@ public function validateConfiguration(array $config): void } #[\PHPUnit\Framework\Attributes\DataProvider('wrongConfigs')] - /** - * @test - */ - public function missingCapacity(array $config): void + public function testMissingCapacity(array $config): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); diff --git a/tests/functional/Factory/Repository/ClientTest.php b/tests/functional/Factory/Repository/ClientTest.php index 81ebf76..30e067e 100644 --- a/tests/functional/Factory/Repository/ClientTest.php +++ b/tests/functional/Factory/Repository/ClientTest.php @@ -11,15 +11,6 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ClientTest extends TestCase { public function fileMock(string $filename): FileInterface @@ -37,8 +28,7 @@ public function fileMock(string $filename): FileInterface return $file; } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithPackages(): void + public function testMergeWithPackages(): void { $builder = new Builder\Client( new Node\Scalar\String_(''), @@ -60,8 +50,7 @@ public function mergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithFiles(): void + public function testMergeWithFiles(): void { $builder = new Builder\Client( new Node\Scalar\String_(''), diff --git a/tests/functional/Factory/Repository/ExtractorTest.php b/tests/functional/Factory/Repository/ExtractorTest.php index 42e1e32..15e0542 100644 --- a/tests/functional/Factory/Repository/ExtractorTest.php +++ b/tests/functional/Factory/Repository/ExtractorTest.php @@ -12,15 +12,6 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ExtractorTest extends TestCase { public function fileMock(string $filename): FileInterface @@ -38,8 +29,7 @@ public function fileMock(string $filename): FileInterface return $file; } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithPackages(): void + public function testMergeWithPackages(): void { $capacity = $this->createMock(Capacity::class); @@ -61,8 +51,7 @@ public function mergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithFiles(): void + public function testMergeWithFiles(): void { $capacity = $this->createMock(Capacity::class); diff --git a/tests/functional/Factory/Repository/LoaderTest.php b/tests/functional/Factory/Repository/LoaderTest.php index 8fa3868..fcb6a40 100644 --- a/tests/functional/Factory/Repository/LoaderTest.php +++ b/tests/functional/Factory/Repository/LoaderTest.php @@ -12,15 +12,6 @@ use PhpParser\Node; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class LoaderTest extends TestCase { public function fileMock(string $filename): FileInterface @@ -38,8 +29,7 @@ public function fileMock(string $filename): FileInterface return $file; } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithPackages(): void + public function testMergeWithPackages(): void { $capacity = $this->createMock(Capacity::class); @@ -61,8 +51,7 @@ public function mergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithFiles(): void + public function testMergeWithFiles(): void { $capacity = $this->createMock(Capacity::class); diff --git a/tests/functional/Factory/Repository/SearchTest.php b/tests/functional/Factory/Repository/SearchTest.php index 0ef33b6..cc94984 100644 --- a/tests/functional/Factory/Repository/SearchTest.php +++ b/tests/functional/Factory/Repository/SearchTest.php @@ -10,15 +10,6 @@ use Kiboko\Plugin\Sylius\Factory\Repository; use PHPUnit\Framework\TestCase; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class SearchTest extends TestCase { public function fileMock(string $filename): FileInterface @@ -36,8 +27,7 @@ public function fileMock(string $filename): FileInterface return $file; } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithPackages(): void + public function testMergeWithPackages(): void { $builder = new Builder\Search(); @@ -55,8 +45,7 @@ public function mergeWithPackages(): void $this->assertCount(3, $repository->getPackages()); } - #[\PHPUnit\Framework\Attributes\Test] - public function mergeWithFiles(): void + public function testMergeWithFiles(): void { $builder = new Builder\Search(); diff --git a/tests/functional/ServiceTest.php b/tests/functional/ServiceTest.php index cfc57f5..4f09f9f 100644 --- a/tests/functional/ServiceTest.php +++ b/tests/functional/ServiceTest.php @@ -9,15 +9,6 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; -/** - * @internal - */ -#[\PHPUnit\Framework\Attributes\CoversNothing] -/** - * @internal - * - * @coversNothing - */ final class ServiceTest extends TestCase { public static function validDataProvider(): \Generator @@ -87,8 +78,7 @@ public static function validDataProvider(): \Generator ]; } - #[\PHPUnit\Framework\Attributes\Test] - public function emptyConfiguration(): void + public function testEmptyConfiguration(): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); @@ -101,8 +91,7 @@ public function emptyConfiguration(): void ]); } - #[\PHPUnit\Framework\Attributes\Test] - public function wrongConfiguration(): void + public function testWrongConfiguration(): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); @@ -113,8 +102,7 @@ public function wrongConfiguration(): void $service->normalize(['sylius' => 'wrong']); } - #[\PHPUnit\Framework\Attributes\Test] - public function missingAuthentication(): void + public function testMissingAuthentication(): void { $this->expectException(InvalidConfigurationException::class); $this->expectExceptionCode(0); @@ -137,10 +125,7 @@ public function missingAuthentication(): void } #[\PHPUnit\Framework\Attributes\DataProvider('validDataProvider')] - /** - * @test - */ - public function withConfigurationAndProcessor(array $expected, array $actual): void + public function testWithConfigurationAndProcessor(array $expected, array $actual): void { $service = new Sylius\Service(new ExpressionLanguage()); From 5c71024a7bc48d677e60964f322d424e7d90638e Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 5 Apr 2023 13:11:36 +0000 Subject: [PATCH 4/4] [rector] Rector fixes --- src/Configuration/Client.php | 2 +- src/Configuration/Extractor.php | 2 +- src/Configuration/Loader.php | 2 +- src/Configuration/Search.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Configuration/Client.php b/src/Configuration/Client.php index 727a4fb..bd4840f 100644 --- a/src/Configuration/Client.php +++ b/src/Configuration/Client.php @@ -11,7 +11,7 @@ final class Client implements Config\Definition\ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $builder = new Config\Definition\Builder\TreeBuilder('client'); diff --git a/src/Configuration/Extractor.php b/src/Configuration/Extractor.php index 9f1695d..ccf5a4e 100644 --- a/src/Configuration/Extractor.php +++ b/src/Configuration/Extractor.php @@ -132,7 +132,7 @@ final class Extractor implements Config\Definition\ConfigurationInterface 'promotionCoupons', ]; - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $filters = new Search(); diff --git a/src/Configuration/Loader.php b/src/Configuration/Loader.php index a248473..a62d237 100644 --- a/src/Configuration/Loader.php +++ b/src/Configuration/Loader.php @@ -101,7 +101,7 @@ final class Loader implements Config\Definition\ConfigurationInterface ], ]; - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $builder = new Config\Definition\Builder\TreeBuilder('loader'); diff --git a/src/Configuration/Search.php b/src/Configuration/Search.php index 79f7f0a..b03d484 100644 --- a/src/Configuration/Search.php +++ b/src/Configuration/Search.php @@ -11,7 +11,7 @@ final class Search implements Config\Definition\ConfigurationInterface { - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder { $builder = new Config\Definition\Builder\TreeBuilder('search');