diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c4f093a..bc35262 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,11 +8,12 @@ on: jobs: php-cs-fixer: - name: PHP CS Fixer (PHP ${{ matrix.php-version }}) + name: PHP CS Fixer (PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }}) runs-on: ubuntu-latest strategy: matrix: php-version: ['8.4'] + symfony-version: ['8.0.*'] steps: - name: Checkout code @@ -27,17 +28,21 @@ jobs: - name: Install dependencies run: | composer install --prefer-dist --no-progress - composer all install + composer all config allow-plugins.symfony/flex true + composer all require --no-progress --no-scripts symfony/flex + composer all config extra.symfony.require "${{ matrix.symfony-version }}" + composer all upgrade --prefer-dist --no-progress - name: Run PHP CS Fixer run: vendor/bin/php-cs-fixer fix --dry-run --diff phpstan: - name: PHPStan (PHP ${{ matrix.php-version }}) + name: PHPStan (PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }}) runs-on: ubuntu-latest strategy: matrix: php-version: ['8.4'] + symfony-version: [ '8.0.*' ] steps: - name: Checkout code @@ -52,17 +57,21 @@ jobs: - name: Install dependencies run: | composer install --prefer-dist --no-progress - composer all install + composer all config allow-plugins.symfony/flex true + composer all require --no-progress --no-scripts symfony/flex + composer all config extra.symfony.require "${{ matrix.symfony-version }}" + composer all upgrade --prefer-dist --no-progress - name: Run PHPStan run: vendor/bin/phpstan analyse rector: - name: Rector (PHP ${{ matrix.php-version }}) + name: Rector (PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }}) runs-on: ubuntu-latest strategy: matrix: php-version: ['8.4'] + symfony-version: ['8.0.*'] steps: - name: Checkout code @@ -77,17 +86,21 @@ jobs: - name: Install dependencies run: | composer install --prefer-dist --no-progress - composer all install + composer all config allow-plugins.symfony/flex true + composer all require --no-progress --no-scripts symfony/flex + composer all config extra.symfony.require "${{ matrix.symfony-version }}" + composer all upgrade --prefer-dist --no-progress - name: Run Rector (dry-run) run: vendor/bin/rector process --dry-run tests: - name: Tests (PHP ${{ matrix.php-version }}) + name: Tests (PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }}) runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.4'] + php-version: ['8.4', '8.5'] + symfony-version: [ '7.4.*', '8.0.*' ] steps: - name: Checkout code @@ -102,7 +115,10 @@ jobs: - name: Install dependencies run: | composer install --prefer-dist --no-progress - composer all install + composer all config allow-plugins.symfony/flex true + composer all require --no-progress --no-scripts symfony/flex + composer all config extra.symfony.require "${{ matrix.symfony-version }}" + composer all upgrade --prefer-dist --no-progress - name: Run Client tests run: cd src/Client && vendor/bin/phpunit @@ -111,11 +127,12 @@ jobs: run: cd src/CodeGenerator && vendor/bin/phpunit functional-tests: - name: Functional Tests (PHP ${{ matrix.php-version }} and K3S ${{ matrix.k3s-version }}) + name: Functional Tests (PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }} and K3S ${{ matrix.k3s-version }}) runs-on: ubuntu-latest strategy: matrix: php-version: ['8.4'] + symfony-version: [ '7.4.*', '8.0.*' ] k3s-version: ['v1.34.1-k3s1'] steps: @@ -131,7 +148,10 @@ jobs: - name: Install dependencies run: | composer install --prefer-dist --no-progress - composer all install + composer all config allow-plugins.symfony/flex true + composer all require --no-progress --no-scripts symfony/flex + composer all config extra.symfony.require "${{ matrix.symfony-version }}" + composer all upgrade --prefer-dist --no-progress - name: Setup K3s uses: debianmaster/actions-k3s@v1.0.5 diff --git a/composer.json b/composer.json index 339be76..592e342 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "friendsofphp/php-cs-fixer": "^3.88", "phpstan/phpstan": "^2.1", "rector/rector": "^2.1", - "soyuka/pmu": "^0.2.0" + "soyuka/pmu": "^0.3.0" }, "extra": { "pmu": { diff --git a/composer.lock b/composer.lock index 20d4072..59753da 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": "60a050cf3b690c4c2cb96200f22a26f2", + "content-hash": "401793527057cc5bc5e7bee93a8e7c89", "packages": [], "packages-dev": [ { @@ -403,16 +403,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.88.2", + "version": "v3.92.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "a8d15584bafb0f0d9d938827840060fd4a3ebc99" + "reference": "5646c2cd99b7cb4b658ff681fe27069ba86c7280" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a8d15584bafb0f0d9d938827840060fd4a3ebc99", - "reference": "a8d15584bafb0f0d9d938827840060fd4a3ebc99", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/5646c2cd99b7cb4b658ff681fe27069ba86c7280", + "reference": "5646c2cd99b7cb4b658ff681fe27069ba86c7280", "shasum": "" }, "require": { @@ -427,21 +427,20 @@ "php": "^7.4 || ^8.0", "react/child-process": "^0.6.6", "react/event-loop": "^1.5", - "react/promise": "^3.3", "react/socket": "^1.16", "react/stream": "^1.4", "sebastian/diff": "^4.0.6 || ^5.1.1 || ^6.0.2 || ^7.0", - "symfony/console": "^5.4.47 || ^6.4.24 || ^7.0", - "symfony/event-dispatcher": "^5.4.45 || ^6.4.24 || ^7.0", - "symfony/filesystem": "^5.4.45 || ^6.4.24 || ^7.0", - "symfony/finder": "^5.4.45 || ^6.4.24 || ^7.0", - "symfony/options-resolver": "^5.4.45 || ^6.4.24 || ^7.0", + "symfony/console": "^5.4.47 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/event-dispatcher": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/filesystem": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/finder": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/options-resolver": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", "symfony/polyfill-mbstring": "^1.33", "symfony/polyfill-php80": "^1.33", "symfony/polyfill-php81": "^1.33", "symfony/polyfill-php84": "^1.33", - "symfony/process": "^5.4.47 || ^6.4.24 || ^7.2", - "symfony/stopwatch": "^5.4.45 || ^6.4.24 || ^7.0" + "symfony/process": "^5.4.47 || ^6.4.24 || ^7.2 || ^8.0", + "symfony/stopwatch": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0" }, "require-dev": { "facile-it/paraunit": "^1.3.1 || ^2.7", @@ -449,12 +448,12 @@ "justinrainbow/json-schema": "^6.5", "keradus/cli-executor": "^2.2", "mikey179/vfsstream": "^1.6.12", - "php-coveralls/php-coveralls": "^2.8", + "php-coveralls/php-coveralls": "^2.9", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.6", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.6", "phpunit/phpunit": "^9.6.25 || ^10.5.53 || ^11.5.34", - "symfony/var-dumper": "^5.4.48 || ^6.4.24 || ^7.3.2", - "symfony/yaml": "^5.4.45 || ^6.4.24 || ^7.3.2" + "symfony/var-dumper": "^5.4.48 || ^6.4.24 || ^7.3.2 || ^8.0", + "symfony/yaml": "^5.4.45 || ^6.4.24 || ^7.3.2 || ^8.0" }, "suggest": { "ext-dom": "For handling output formats in XML", @@ -469,7 +468,7 @@ "PhpCsFixer\\": "src/" }, "exclude-from-classmap": [ - "src/Fixer/Internal/*" + "src/**/Internal/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -495,7 +494,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.88.2" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.92.0" }, "funding": [ { @@ -503,15 +502,15 @@ "type": "github" } ], - "time": "2025-09-27T00:24:15+00:00" + "time": "2025-12-12T10:29:19+00:00" }, { "name": "phpstan/phpstan", - "version": "2.1.30", + "version": "2.1.33", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a4a7f159927983dd4f7c8020ed227d80b7f39d7d", - "reference": "a4a7f159927983dd4f7c8020ed227d80b7f39d7d", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9e800e6bee7d5bd02784d4c6069b48032d16224f", + "reference": "9e800e6bee7d5bd02784d4c6069b48032d16224f", "shasum": "" }, "require": { @@ -556,7 +555,7 @@ "type": "github" } ], - "time": "2025-10-02T16:07:52+00:00" + "time": "2025-12-05T10:24:31+00:00" }, { "name": "psr/container", @@ -860,16 +859,16 @@ }, { "name": "react/dns", - "version": "v1.13.0", + "version": "v1.14.0", "source": { "type": "git", "url": "https://github.com/reactphp/dns.git", - "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5" + "reference": "7562c05391f42701c1fccf189c8225fece1cd7c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/dns/zipball/eb8ae001b5a455665c89c1df97f6fb682f8fb0f5", - "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5", + "url": "https://api.github.com/repos/reactphp/dns/zipball/7562c05391f42701c1fccf189c8225fece1cd7c3", + "reference": "7562c05391f42701c1fccf189c8225fece1cd7c3", "shasum": "" }, "require": { @@ -924,7 +923,7 @@ ], "support": { "issues": "https://github.com/reactphp/dns/issues", - "source": "https://github.com/reactphp/dns/tree/v1.13.0" + "source": "https://github.com/reactphp/dns/tree/v1.14.0" }, "funding": [ { @@ -932,20 +931,20 @@ "type": "open_collective" } ], - "time": "2024-06-13T14:18:03+00:00" + "time": "2025-11-18T19:34:28+00:00" }, { "name": "react/event-loop", - "version": "v1.5.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/reactphp/event-loop.git", - "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354" + "reference": "ba276bda6083df7e0050fd9b33f66ad7a4ac747a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354", - "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354", + "url": "https://api.github.com/repos/reactphp/event-loop/zipball/ba276bda6083df7e0050fd9b33f66ad7a4ac747a", + "reference": "ba276bda6083df7e0050fd9b33f66ad7a4ac747a", "shasum": "" }, "require": { @@ -996,7 +995,7 @@ ], "support": { "issues": "https://github.com/reactphp/event-loop/issues", - "source": "https://github.com/reactphp/event-loop/tree/v1.5.0" + "source": "https://github.com/reactphp/event-loop/tree/v1.6.0" }, "funding": [ { @@ -1004,7 +1003,7 @@ "type": "open_collective" } ], - "time": "2023-11-13T13:48:05+00:00" + "time": "2025-11-17T20:46:25+00:00" }, { "name": "react/promise", @@ -1081,16 +1080,16 @@ }, { "name": "react/socket", - "version": "v1.16.0", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/reactphp/socket.git", - "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1" + "reference": "ef5b17b81f6f60504c539313f94f2d826c5faa08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/socket/zipball/23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1", - "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1", + "url": "https://api.github.com/repos/reactphp/socket/zipball/ef5b17b81f6f60504c539313f94f2d826c5faa08", + "reference": "ef5b17b81f6f60504c539313f94f2d826c5faa08", "shasum": "" }, "require": { @@ -1149,7 +1148,7 @@ ], "support": { "issues": "https://github.com/reactphp/socket/issues", - "source": "https://github.com/reactphp/socket/tree/v1.16.0" + "source": "https://github.com/reactphp/socket/tree/v1.17.0" }, "funding": [ { @@ -1157,7 +1156,7 @@ "type": "open_collective" } ], - "time": "2024-07-26T10:38:09+00:00" + "time": "2025-11-19T20:47:34+00:00" }, { "name": "react/stream", @@ -1239,21 +1238,21 @@ }, { "name": "rector/rector", - "version": "2.1.7", + "version": "2.2.14", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "c34cc07c4698f007a20dc5c99ff820089ae413ce" + "reference": "6d56bb0e94d4df4f57a78610550ac76ab403657d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/c34cc07c4698f007a20dc5c99ff820089ae413ce", - "reference": "c34cc07c4698f007a20dc5c99ff820089ae413ce", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/6d56bb0e94d4df4f57a78610550ac76ab403657d", + "reference": "6d56bb0e94d4df4f57a78610550ac76ab403657d", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.1.18" + "phpstan/phpstan": "^2.1.33" }, "conflict": { "rector/rector-doctrine": "*", @@ -1287,7 +1286,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.1.7" + "source": "https://github.com/rectorphp/rector/tree/2.2.14" }, "funding": [ { @@ -1295,7 +1294,7 @@ "type": "github" } ], - "time": "2025-09-10T11:13:58+00:00" + "time": "2025-12-09T10:57:55+00:00" }, { "name": "sebastian/diff", @@ -1366,16 +1365,16 @@ }, { "name": "soyuka/pmu", - "version": "v0.2.0", + "version": "v0.3.0", "source": { "type": "git", "url": "https://github.com/soyuka/pmu.git", - "reference": "a55c94b6878535fee6f1365880b067918df88e21" + "reference": "3646779740edf6b9d4024c5c77773cb4ae2e4e6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/soyuka/pmu/zipball/a55c94b6878535fee6f1365880b067918df88e21", - "reference": "a55c94b6878535fee6f1365880b067918df88e21", + "url": "https://api.github.com/repos/soyuka/pmu/zipball/3646779740edf6b9d4024c5c77773cb4ae2e4e6c", + "reference": "3646779740edf6b9d4024c5c77773cb4ae2e4e6c", "shasum": "" }, "require": { @@ -1416,7 +1415,7 @@ "description": "PHP Mono Repository Utility", "support": { "issues": "https://github.com/soyuka/pmu/issues", - "source": "https://github.com/soyuka/pmu/tree/v0.2.0" + "source": "https://github.com/soyuka/pmu/tree/v0.3.0" }, "funding": [ { @@ -1424,51 +1423,43 @@ "type": "github" } ], - "time": "2025-05-22T12:59:22+00:00" + "time": "2025-12-11T10:56:31+00:00" }, { "name": "symfony/console", - "version": "v7.3.4", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2b9c5fafbac0399a20a2e82429e2bd735dcfb7db" + "reference": "fcb73f69d655b48fcb894a262f074218df08bd58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2b9c5fafbac0399a20a2e82429e2bd735dcfb7db", - "reference": "2b9c5fafbac0399a20a2e82429e2bd735dcfb7db", + "url": "https://api.github.com/repos/symfony/console/zipball/fcb73f69d655b48fcb894a262f074218df08bd58", + "reference": "fcb73f69d655b48fcb894a262f074218df08bd58", "shasum": "" }, "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/polyfill-mbstring": "~1.0", + "php": ">=8.4", + "symfony/polyfill-mbstring": "^1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^7.2" - }, - "conflict": { - "symfony/dependency-injection": "<6.4", - "symfony/dotenv": "<6.4", - "symfony/event-dispatcher": "<6.4", - "symfony/lock": "<6.4", - "symfony/process": "<6.4" + "symfony/string": "^7.4|^8.0" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^6.4|^7.0", - "symfony/messenger": "^6.4|^7.0", - "symfony/process": "^6.4|^7.0", - "symfony/stopwatch": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0" + "symfony/config": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/event-dispatcher": "^7.4|^8.0", + "symfony/http-foundation": "^7.4|^8.0", + "symfony/http-kernel": "^7.4|^8.0", + "symfony/lock": "^7.4|^8.0", + "symfony/messenger": "^7.4|^8.0", + "symfony/process": "^7.4|^8.0", + "symfony/stopwatch": "^7.4|^8.0", + "symfony/var-dumper": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -1502,7 +1493,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.3.4" + "source": "https://github.com/symfony/console/tree/v8.0.1" }, "funding": [ { @@ -1522,7 +1513,7 @@ "type": "tidelift" } ], - "time": "2025-09-22T15:31:00+00:00" + "time": "2025-12-05T15:25:33+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1593,24 +1584,24 @@ }, { "name": "symfony/event-dispatcher", - "version": "v7.3.3", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "b7dc69e71de420ac04bc9ab830cf3ffebba48191" + "reference": "573f95783a2ec6e38752979db139f09fec033f03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b7dc69e71de420ac04bc9ab830cf3ffebba48191", - "reference": "b7dc69e71de420ac04bc9ab830cf3ffebba48191", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/573f95783a2ec6e38752979db139f09fec033f03", + "reference": "573f95783a2ec6e38752979db139f09fec033f03", "shasum": "" }, "require": { - "php": ">=8.2", + "php": ">=8.4", "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<6.4", + "symfony/security-http": "<7.4", "symfony/service-contracts": "<2.5" }, "provide": { @@ -1619,13 +1610,14 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/error-handler": "^6.4|^7.0", - "symfony/expression-language": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", + "symfony/config": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/error-handler": "^7.4|^8.0", + "symfony/expression-language": "^7.4|^8.0", + "symfony/framework-bundle": "^7.4|^8.0", + "symfony/http-foundation": "^7.4|^8.0", "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^6.4|^7.0" + "symfony/stopwatch": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -1653,7 +1645,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/v7.3.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v8.0.0" }, "funding": [ { @@ -1673,7 +1665,7 @@ "type": "tidelift" } ], - "time": "2025-08-13T11:49:31+00:00" + "time": "2025-10-30T14:17:19+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -1753,25 +1745,25 @@ }, { "name": "symfony/filesystem", - "version": "v7.3.2", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd" + "reference": "d937d400b980523dc9ee946bb69972b5e619058d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/edcbb768a186b5c3f25d0643159a787d3e63b7fd", - "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/d937d400b980523dc9ee946bb69972b5e619058d", + "reference": "d937d400b980523dc9ee946bb69972b5e619058d", "shasum": "" }, "require": { - "php": ">=8.2", + "php": ">=8.4", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, "require-dev": { - "symfony/process": "^6.4|^7.0" + "symfony/process": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -1799,7 +1791,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.3.2" + "source": "https://github.com/symfony/filesystem/tree/v8.0.1" }, "funding": [ { @@ -1819,27 +1811,27 @@ "type": "tidelift" } ], - "time": "2025-07-07T08:17:47+00:00" + "time": "2025-12-01T09:13:36+00:00" }, { "name": "symfony/finder", - "version": "v7.3.2", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe" + "reference": "7598dd5770580fa3517ec83e8da0c9b9e01f4291" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2a6614966ba1074fa93dae0bc804227422df4dfe", - "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe", + "url": "https://api.github.com/repos/symfony/finder/zipball/7598dd5770580fa3517ec83e8da0c9b9e01f4291", + "reference": "7598dd5770580fa3517ec83e8da0c9b9e01f4291", "shasum": "" }, "require": { - "php": ">=8.2" + "php": ">=8.4" }, "require-dev": { - "symfony/filesystem": "^6.4|^7.0" + "symfony/filesystem": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -1867,7 +1859,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.3.2" + "source": "https://github.com/symfony/finder/tree/v8.0.0" }, "funding": [ { @@ -1887,24 +1879,24 @@ "type": "tidelift" } ], - "time": "2025-07-15T13:41:35+00:00" + "time": "2025-11-05T14:36:47+00:00" }, { "name": "symfony/options-resolver", - "version": "v7.3.3", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "0ff2f5c3df08a395232bbc3c2eb7e84912df911d" + "reference": "d2b592535ffa6600c265a3893a7f7fd2bad82dd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/0ff2f5c3df08a395232bbc3c2eb7e84912df911d", - "reference": "0ff2f5c3df08a395232bbc3c2eb7e84912df911d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/d2b592535ffa6600c265a3893a7f7fd2bad82dd7", + "reference": "d2b592535ffa6600c265a3893a7f7fd2bad82dd7", "shasum": "" }, "require": { - "php": ">=8.2", + "php": ">=8.4", "symfony/deprecation-contracts": "^2.5|^3" }, "type": "library", @@ -1938,7 +1930,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v7.3.3" + "source": "https://github.com/symfony/options-resolver/tree/v8.0.0" }, "funding": [ { @@ -1958,7 +1950,7 @@ "type": "tidelift" } ], - "time": "2025-08-05T10:16:07+00:00" + "time": "2025-11-12T15:55:31+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2541,20 +2533,20 @@ }, { "name": "symfony/process", - "version": "v7.3.4", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "f24f8f316367b30810810d4eb30c543d7003ff3b" + "reference": "a0a750500c4ce900d69ba4e9faf16f82c10ee149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/f24f8f316367b30810810d4eb30c543d7003ff3b", - "reference": "f24f8f316367b30810810d4eb30c543d7003ff3b", + "url": "https://api.github.com/repos/symfony/process/zipball/a0a750500c4ce900d69ba4e9faf16f82c10ee149", + "reference": "a0a750500c4ce900d69ba4e9faf16f82c10ee149", "shasum": "" }, "require": { - "php": ">=8.2" + "php": ">=8.4" }, "type": "library", "autoload": { @@ -2582,7 +2574,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.3.4" + "source": "https://github.com/symfony/process/tree/v8.0.0" }, "funding": [ { @@ -2602,20 +2594,20 @@ "type": "tidelift" } ], - "time": "2025-09-11T10:12:26+00:00" + "time": "2025-10-16T16:25:44+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.6.0", + "version": "v3.6.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4" + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4", - "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", "shasum": "" }, "require": { @@ -2669,7 +2661,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.1" }, "funding": [ { @@ -2680,29 +2672,33 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-25T09:37:31+00:00" + "time": "2025-07-15T11:30:57+00:00" }, { "name": "symfony/stopwatch", - "version": "v7.3.0", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "5a49289e2b308214c8b9c2fda4ea454d8b8ad7cd" + "reference": "67df1914c6ccd2d7b52f70d40cf2aea02159d942" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5a49289e2b308214c8b9c2fda4ea454d8b8ad7cd", - "reference": "5a49289e2b308214c8b9c2fda4ea454d8b8ad7cd", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/67df1914c6ccd2d7b52f70d40cf2aea02159d942", + "reference": "67df1914c6ccd2d7b52f70d40cf2aea02159d942", "shasum": "" }, "require": { - "php": ">=8.2", + "php": ">=8.4", "symfony/service-contracts": "^2.5|^3" }, "type": "library", @@ -2731,7 +2727,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v7.3.0" + "source": "https://github.com/symfony/stopwatch/tree/v8.0.0" }, "funding": [ { @@ -2742,43 +2738,47 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-02-24T10:49:57+00:00" + "time": "2025-08-04T07:36:47+00:00" }, { "name": "symfony/string", - "version": "v7.3.4", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f96476035142921000338bad71e5247fbc138872" + "reference": "ba65a969ac918ce0cc3edfac6cdde847eba231dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f96476035142921000338bad71e5247fbc138872", - "reference": "f96476035142921000338bad71e5247fbc138872", + "url": "https://api.github.com/repos/symfony/string/zipball/ba65a969ac918ce0cc3edfac6cdde847eba231dc", + "reference": "ba65a969ac918ce0cc3edfac6cdde847eba231dc", "shasum": "" }, "require": { - "php": ">=8.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" + "php": ">=8.4", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-intl-grapheme": "^1.33", + "symfony/polyfill-intl-normalizer": "^1.0", + "symfony/polyfill-mbstring": "^1.0" }, "conflict": { "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/emoji": "^7.1", - "symfony/http-client": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", + "symfony/emoji": "^7.4|^8.0", + "symfony/http-client": "^7.4|^8.0", + "symfony/intl": "^7.4|^8.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0" + "symfony/var-exporter": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -2817,7 +2817,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.3.4" + "source": "https://github.com/symfony/string/tree/v8.0.1" }, "funding": [ { @@ -2837,7 +2837,7 @@ "type": "tidelift" } ], - "time": "2025-09-11T14:36:48+00:00" + "time": "2025-12-01T09:13:36+00:00" } ], "aliases": [], diff --git a/src/Bundle/composer.json b/src/Bundle/composer.json index 5acb518..f054893 100644 --- a/src/Bundle/composer.json +++ b/src/Bundle/composer.json @@ -13,18 +13,18 @@ "php": ">=8.4", "p8p/client": "self.version", "p8p/sdk": "self.version", - "symfony/framework-bundle": "^7.3", - "symfony/console": "^7.3" + "symfony/framework-bundle": "^7.4|^8.0", + "symfony/console": "^7.4|^8.0" }, "suggest": { "p8p/generator": "Required for generating Custom Resource Definition (CRD) classes with p8p:generate:crd command" }, "require-dev": { "phpunit/phpunit": "^12.4.0", - "symfony/var-dumper": "^7.3", - "symfony/yaml": "^7.3", - "symfony/web-profiler-bundle": "^7.3", - "symfony/stopwatch": "^7.3", + "symfony/var-dumper": "^7.4|^8.0", + "symfony/yaml": "^7.4|^8.0", + "symfony/web-profiler-bundle": "^7.4|^8.0", + "symfony/stopwatch": "^7.4|^8.0", "p8p/generator": "self.version" }, "autoload": { diff --git a/src/Client/composer.json b/src/Client/composer.json index 7376ea2..7ccf507 100644 --- a/src/Client/composer.json +++ b/src/Client/composer.json @@ -10,11 +10,11 @@ ], "require": { "php": ">=8.4", - "symfony/http-client": "^7.3", - "symfony/serializer": "^7.3", - "symfony/property-access": "^7.3", - "symfony/type-info": "^7.3", - "symfony/filesystem": "^7.3", + "symfony/http-client": "^7.4|^8.0", + "symfony/serializer": "^7.4|^8.0", + "symfony/property-access": "^7.4|^8.0", + "symfony/type-info": "^7.4|^8.0", + "symfony/filesystem": "^7.4|^8.0", "league/uri": "^7.0", "phpdocumentor/reflection-docblock": "^5.6", "amphp/websocket-client": "^2.0", @@ -22,8 +22,8 @@ }, "require-dev": { "phpunit/phpunit": "^12.4.0", - "symfony/var-dumper": "^7.3", - "symfony/yaml": "^7.3" + "symfony/var-dumper": "^7.4|^8.0", + "symfony/yaml": "^7.4|^8.0" }, "autoload": { "psr-4": { diff --git a/src/CodeGenerator/composer.json b/src/CodeGenerator/composer.json index 3fcdbb1..28472ef 100644 --- a/src/CodeGenerator/composer.json +++ b/src/CodeGenerator/composer.json @@ -12,15 +12,15 @@ "php": ">=8.4", "p8p/client": "self.version", "cebe/php-openapi": "^1.8.0", - "symfony/console": "^7.3", - "symfony/finder": "^7.3", - "symfony/type-info": "^7.3", + "symfony/console": "^7.4|^8.0", + "symfony/finder": "^7.4|^8.0", + "symfony/type-info": "^7.4|^8.0", "nette/php-generator": "^v4.2", "twig/twig": "^3.0" }, "require-dev": { "phpunit/phpunit": "^12.4.0", - "symfony/var-dumper": "^7.3" + "symfony/var-dumper": "^7.4|^8.0" }, "autoload": { "psr-4": { diff --git a/src/CodeGenerator/src/Writer/TypeFormatter.php b/src/CodeGenerator/src/Writer/TypeFormatter.php index 5f8498d..09e8e82 100644 --- a/src/CodeGenerator/src/Writer/TypeFormatter.php +++ b/src/CodeGenerator/src/Writer/TypeFormatter.php @@ -153,7 +153,7 @@ private static function formatCollectionPhpDoc(CollectionType $type, bool $useSh private static function formatUnionPhp(UnionType $type): string { - $types = array_map(fn (Type $t) => self::toPhpType($t), $type->getTypes()); + $types = array_map(self::toPhpType(...), $type->getTypes()); return implode('|', $types); } @@ -167,7 +167,7 @@ private static function formatUnionPhpDoc(UnionType $type, bool $useShortNames): private static function formatIntersectionPhp(IntersectionType $type): string { - $types = array_map(fn (Type $t) => self::toPhpType($t), $type->getTypes()); + $types = array_map(self::toPhpType(...), $type->getTypes()); return implode('&', $types); } diff --git a/src/Sdk/composer.json b/src/Sdk/composer.json index 829b840..ee67024 100644 --- a/src/Sdk/composer.json +++ b/src/Sdk/composer.json @@ -14,8 +14,8 @@ }, "require-dev": { "phpunit/phpunit": "^12.4.0", - "symfony/var-dumper": "^7.3", - "symfony/yaml": "^7.3" + "symfony/var-dumper": "^7.4||^8.0", + "symfony/yaml": "^7.4|^8.0" }, "autoload": { "psr-4": {