diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b68f64f206..836d028effd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - run: composer check-dependencies php-cs-fixer: @@ -119,7 +122,9 @@ jobs: restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies run: | - composer update --no-interaction --no-progress --ansi + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Run container lint run: tests/Fixtures/app/console lint:container @@ -156,7 +161,9 @@ jobs: restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies run: | - composer update --no-interaction --no-progress --ansi + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Cache PHPStan results uses: actions/cache@v4 with: @@ -175,9 +182,10 @@ jobs: ./vendor/bin/phpstan --version ./vendor/bin/phpstan analyse --no-interaction --no-progress --ansi - name: Install Laravel + working-directory: 'src/Laravel' run: | - composer api-platform/laravel update - composer api-platform/laravel run-script build + composer global link ../../ --working-directory=$(pwd) + composer run-script build - name: Run PHPStan analysis (laravel) working-directory: 'src/Laravel' run: | @@ -219,7 +227,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -294,7 +305,9 @@ jobs: ini-values: memory_limit=-1 - name: Run ${{ matrix.component }} install run: | - composer update + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . --permanent composer ${{matrix.component}} update - name: Run ${{ matrix.component }} tests run: | @@ -364,7 +377,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests (PHP ${{ matrix.php }}) @@ -465,7 +481,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests @@ -513,7 +532,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests @@ -563,8 +585,10 @@ jobs: restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies run: | - composer update --no-interaction --no-progress --ansi + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction composer require --dev doctrine/mongodb-odm-bundle + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -654,7 +678,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -737,7 +764,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests @@ -773,7 +803,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -813,7 +846,10 @@ jobs: - name: Remove cache run: rm -Rf tests/Fixtures/app/var/cache/* - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -855,7 +891,10 @@ jobs: - name: Remove cache run: rm -Rf tests/Fixtures/app/var/cache/* - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests @@ -901,8 +940,12 @@ jobs: path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- + # TODO: fix pmu windows path directory - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . --working-directory=${{ github.workspace }} - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests @@ -940,7 +983,11 @@ jobs: - name: Remove cache run: rm -Rf tests/Fixtures/app/var/cache/* - name: Update project dependencies - run: composer update --prefer-lowest --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . --permanent + composer update --prefer-lowest - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -982,7 +1029,11 @@ jobs: - name: Remove cache run: rm -Rf tests/Fixtures/app/var/cache/* - name: Update project dependencies - run: composer update --prefer-lowest --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . --permanent + composer update --prefer-lowest - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests @@ -1026,7 +1077,10 @@ jobs: if: matrix.coverage run: echo "COVERAGE=1" >> $GITHUB_ENV - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPUnit tests @@ -1095,7 +1149,10 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- - name: Update project dependencies - run: composer update --no-interaction --no-progress --ansi + run: | + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . - name: Clear test app cache run: tests/Fixtures/app/console cache:clear --ansi - name: Run Behat tests (PHP 8) @@ -1155,9 +1212,11 @@ jobs: tools: pecl, composer extensions: intl, bcmath, curl, openssl, mbstring, pdo_sqlite, mongodb ini-values: memory_limit=-1 - - name: Run ${{ matrix.component }} install + - name: Update project dependencies run: | - composer update + composer global require soyuka/pmu + composer global config allow-plugins.soyuka/pmu true --no-interaction + composer global link . --permanent composer api-platform/laravel update - name: PHP version tweaks run: | diff --git a/composer.json b/composer.json index 6bc3c76b145..b47a50c91a3 100644 --- a/composer.json +++ b/composer.json @@ -38,23 +38,23 @@ "willdurand/negotiation": "^3.1" }, "require-dev": { - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0", - "api-platform/openapi": "@dev || ^3.2 || ^4.0", - "api-platform/ramsey-uuid": "@dev || ^3.2 || ^4.0", - "api-platform/jsonld": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0", - "api-platform/json-api": "@dev || ^3.2 || ^4.0", - "api-platform/http-cache": "@dev || ^3.2 || ^4.0", - "api-platform/elasticsearch": "@dev || ^3.2 || ^4.0", - "api-platform/hydra": "@dev || ^3.2 || ^4.0", - "api-platform/documentation": "@dev || ^3.2 || ^4.0", - "api-platform/validator": "@dev || ^3.2 || ^4.0", - "api-platform/graphql": "@dev || ^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/doctrine-odm": "^3.2 || ^4.0", + "api-platform/doctrine-orm": "^3.2 || ^4.0", + "api-platform/openapi": "^3.2 || ^4.0", + "api-platform/ramsey-uuid": "^3.2 || ^4.0", + "api-platform/jsonld": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0", + "api-platform/json-api": "^3.2 || ^4.0", + "api-platform/http-cache": "^3.2 || ^4.0", + "api-platform/elasticsearch": "^3.2 || ^4.0", + "api-platform/hydra": "^3.2 || ^4.0", + "api-platform/documentation": "^3.2 || ^4.0", + "api-platform/validator": "^3.2 || ^4.0", + "api-platform/graphql": "^3.2 || ^4.0", "behat/behat": "^3.11", "behat/mink": "^1.9", "doctrine/cache": "^1.11 || ^2.1", @@ -92,7 +92,7 @@ "ramsey/uuid": "^4.0", "ramsey/uuid-doctrine": "^2.0", "soyuka/contexts": "^3.3.10", - "soyuka/pmu": "^0.0.5", + "soyuka/pmu": "^0.0.7", "soyuka/stubs-mongodb": "^1.0", "symfony/asset": "^6.4 || ^7.1", "symfony/browser-kit": "^6.4 || ^7.1", @@ -190,47 +190,8 @@ "symfony": { "require": "^6.4 || ^7.1" }, - "projects": [ - "api-platform/doctrine-common", - "api-platform/doctrine-orm", - "api-platform/doctrine-odm", - "api-platform/metadata", - "api-platform/json-schema", - "api-platform/elasticsearch", - "api-platform/jsonld", - "api-platform/hydra", - "api-platform/openapi", - "api-platform/graphql", - "api-platform/http-cache", - "api-platform/documentation", - "api-platform/ramsey-uuid", - "api-platform/serializer", - "api-platform/state", - "api-platform/symfony", - "api-platform/validator", - "api-platform/laravel", - "api-platform/json-api" - ] - }, - "repositories": [ - {"type": "path", "url": "./src/Doctrine/Common"}, - {"type": "path", "url": "./src/Doctrine/Orm"}, - {"type": "path", "url": "./src/Doctrine/Odm"}, - {"type": "path", "url": "./src/Metadata"}, - {"type": "path", "url": "./src/JsonSchema"}, - {"type": "path", "url": "./src/Elasticsearch"}, - {"type": "path", "url": "./src/JsonLd"}, - {"type": "path", "url": "./src/Hydra"}, - {"type": "path", "url": "./src/OpenApi"}, - {"type": "path", "url": "./src/GraphQl"}, - {"type": "path", "url": "./src/HttpCache"}, - {"type": "path", "url": "./src/Documentation"}, - {"type": "path", "url": "./src/RamseyUuid"}, - {"type": "path", "url": "./src/Serializer"}, - {"type": "path", "url": "./src/State"}, - {"type": "path", "url": "./src/Symfony"}, - {"type": "path", "url": "./src/Validator"}, - {"type": "path", "url": "./src/Laravel"}, - {"type": "path", "url": "./src/JsonApi"} - ] + "pmu": { + "projects": ["./src/*/composer.json", "src/Doctrine/*/composer.json"] + } + } } diff --git a/src/Doctrine/Common/composer.json b/src/Doctrine/Common/composer.json index f58972b2726..d0c209b3524 100644 --- a/src/Doctrine/Common/composer.json +++ b/src/Doctrine/Common/composer.json @@ -23,8 +23,8 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "doctrine/collections": "^2.1", "doctrine/common": "^3.2.2", "doctrine/persistence": "^3.2" diff --git a/src/Doctrine/Odm/composer.json b/src/Doctrine/Odm/composer.json index f4a15b232e8..dc10d5ea5f5 100644 --- a/src/Doctrine/Odm/composer.json +++ b/src/Doctrine/Odm/composer.json @@ -22,9 +22,9 @@ ], "require": { "php": ">=8.1", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "doctrine/mongodb-odm": "^2.2", "doctrine/mongodb-odm-bundle": "^5.0", "symfony/property-info": "^6.4 || ^7.1" diff --git a/src/Doctrine/Orm/composer.json b/src/Doctrine/Orm/composer.json index 0f0f4f2a335..7df105b0bc8 100644 --- a/src/Doctrine/Orm/composer.json +++ b/src/Doctrine/Orm/composer.json @@ -21,15 +21,15 @@ ], "require": { "php": ">=8.1", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "doctrine/doctrine-bundle": "^2.11", "doctrine/orm": "^2.17 || ^3.0", "symfony/property-info": "^6.4 || ^7.1" }, "require-dev": { - "api-platform/parameter-validator": "@dev || ^3.2 || ^4.0", + "api-platform/parameter-validator": "^3.2 || ^4.0", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "^11.2", "ramsey/uuid": "^4.0", diff --git a/src/Documentation/composer.json b/src/Documentation/composer.json index aa35b2d2980..210dc8cb3f5 100644 --- a/src/Documentation/composer.json +++ b/src/Documentation/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "api-platform/metadata": "@dev || ^3.2 || ^4.0" + "api-platform/metadata": "^3.2 || ^4.0" }, "extra": { "branch-alias": { diff --git a/src/Elasticsearch/composer.json b/src/Elasticsearch/composer.json index 59a0a2e1c5c..fd8732bf517 100644 --- a/src/Elasticsearch/composer.json +++ b/src/Elasticsearch/composer.json @@ -22,9 +22,9 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "elasticsearch/elasticsearch": "^8.9", "symfony/cache": "^6.4 || ^7.0", "symfony/console": "^6.4 || ^7.0", diff --git a/src/GraphQl/composer.json b/src/GraphQl/composer.json index fe900e95425..b774fc19aa5 100644 --- a/src/GraphQl/composer.json +++ b/src/GraphQl/composer.json @@ -21,10 +21,10 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", - "api-platform/validator": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", + "api-platform/validator": "^3.2 || ^4.0", "symfony/property-info": "^6.4 || ^7.1", "symfony/serializer": "^6.4 || ^7.1", "webonyx/graphql-php": "^14.0 || ^15.0", @@ -32,15 +32,15 @@ }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", - "api-platform/validator": "@dev || ^3.2 || ^4.0", + "api-platform/validator": "^3.2 || ^4.0", "twig/twig": "^1.42.3 || ^2.12 || ^3.0", "symfony/mercure-bundle": "*", "symfony/phpunit-bridge": "^6.4 || ^7.0", "symfony/routing": "^6.4 || ^7.1", "symfony/validator": "^6.4 || ^7.1", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0" + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/doctrine-odm": "^3.2 || ^4.0", + "api-platform/doctrine-orm": "^3.2 || ^4.0" }, "autoload": { "psr-4": { diff --git a/src/HttpCache/composer.json b/src/HttpCache/composer.json index a97629a0daa..05b88dedc7f 100644 --- a/src/HttpCache/composer.json +++ b/src/HttpCache/composer.json @@ -21,8 +21,8 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "symfony/http-foundation": "^6.4 || ^7.1" }, "require-dev": { diff --git a/src/Hydra/composer.json b/src/Hydra/composer.json index 69d9f000b5a..b10fd178cf5 100644 --- a/src/Hydra/composer.json +++ b/src/Hydra/composer.json @@ -28,18 +28,18 @@ ], "require": { "php": ">=8.1", - "api-platform/documentation": "@dev || ^3.2 || ^4.0", - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", - "api-platform/jsonld": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/documentation": "^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", + "api-platform/jsonld": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "symfony/web-link": "^6.4 || ^7.1" }, "require-dev": { - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/doctrine-odm": "^3.2 || ^4.0", + "api-platform/doctrine-orm": "^3.2 || ^4.0", "phpspec/prophecy": "^1.19", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "^11.2" diff --git a/src/JsonApi/composer.json b/src/JsonApi/composer.json index c29429720f0..616e5950118 100644 --- a/src/JsonApi/composer.json +++ b/src/JsonApi/composer.json @@ -28,11 +28,11 @@ ], "require": { "php": ">=8.1", - "api-platform/documentation": "@dev || ^3.2 || ^4.0", - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/documentation": "^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "symfony/error-handler": "^7.1", "symfony/http-foundation": "^6.4 || ^7.1" }, diff --git a/src/JsonLd/composer.json b/src/JsonLd/composer.json index 82e97a2a50f..e765675b2dd 100644 --- a/src/JsonLd/composer.json +++ b/src/JsonLd/composer.json @@ -28,9 +28,9 @@ ], "require": { "php": ">=8.1", - "api-platform/state": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0" + "api-platform/state": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0" }, "autoload": { "psr-4": { diff --git a/src/JsonSchema/composer.json b/src/JsonSchema/composer.json index c06fed21e05..1fa5a3235d5 100644 --- a/src/JsonSchema/composer.json +++ b/src/JsonSchema/composer.json @@ -25,7 +25,7 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", "symfony/console": "^6.4 || ^7.0", "symfony/property-info": "^6.4 || ^7.1", "symfony/serializer": "^6.4 || ^7.1", diff --git a/src/Laravel/composer.json b/src/Laravel/composer.json index cfc2726eb77..41405a03d36 100644 --- a/src/Laravel/composer.json +++ b/src/Laravel/composer.json @@ -19,15 +19,15 @@ ], "require": { "php": ">=8.1", - "api-platform/documentation": "@dev || ^4.0", - "api-platform/hydra": "@dev || ^4.0", - "api-platform/json-schema": "@dev || ^4.0", - "api-platform/jsonld": "@dev || ^4.0", - "api-platform/json-api": "@dev || ^4.0", - "api-platform/metadata": "@dev || ^4.0", - "api-platform/openapi": "@dev || ^4.0", - "api-platform/serializer": "@dev || ^4.0", - "api-platform/state": "@dev || ^4.0", + "api-platform/documentation": "^4.0", + "api-platform/hydra": "^4.0", + "api-platform/json-schema": "^4.0", + "api-platform/jsonld": "^4.0", + "api-platform/json-api": "^4.0", + "api-platform/metadata": "^4.0", + "api-platform/openapi": "^4.0", + "api-platform/serializer": "^4.0", + "api-platform/state": "^4.0", "illuminate/config": "^11.0", "laravel/framework": "^11.0", "illuminate/contracts": "^11.0", diff --git a/src/Metadata/composer.json b/src/Metadata/composer.json index fea0870cba3..41db64d94a0 100644 --- a/src/Metadata/composer.json +++ b/src/Metadata/composer.json @@ -36,9 +36,9 @@ "symfony/type-info": "^7.1" }, "require-dev": { - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", - "api-platform/openapi": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", + "api-platform/openapi": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "phpspec/prophecy-phpunit": "^2.2", "phpstan/phpdoc-parser": "^1.13", "phpunit/phpunit": "^11.2", diff --git a/src/OpenApi/composer.json b/src/OpenApi/composer.json index 328ee92f633..eb0fae011d0 100644 --- a/src/OpenApi/composer.json +++ b/src/OpenApi/composer.json @@ -28,17 +28,17 @@ ], "require": { "php": ">=8.1", - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "symfony/console": "^6.4 || ^7.0", "symfony/property-access": "^6.4 || ^7.1", "symfony/serializer": "^6.4 || ^7.1" }, "require-dev": { - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/doctrine-odm": "^3.2 || ^4.0", + "api-platform/doctrine-orm": "^3.2 || ^4.0", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "^11.2", "symfony/phpunit-bridge": "^6.4 || ^7.0" diff --git a/src/RamseyUuid/composer.json b/src/RamseyUuid/composer.json index d0a0cb63618..6b99be65f27 100644 --- a/src/RamseyUuid/composer.json +++ b/src/RamseyUuid/composer.json @@ -21,7 +21,7 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", "symfony/serializer": "^6.4 || ^7.1" }, "require-dev": { diff --git a/src/Serializer/composer.json b/src/Serializer/composer.json index 4ee1d93b9fd..5fa31120ae4 100644 --- a/src/Serializer/composer.json +++ b/src/Serializer/composer.json @@ -21,8 +21,8 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", "doctrine/collections": "^2.1", "symfony/property-access": "^6.4 || ^7.1", "symfony/property-info": "^6.4 || ^7.1", @@ -30,16 +30,16 @@ "symfony/validator": "^6.4 || ^7.0" }, "require-dev": { - "api-platform/openapi": "@dev || ^3.2 || ^4.0", - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", + "api-platform/openapi": "^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", "phpspec/prophecy-phpunit": "^2.2", "symfony/mercure-bundle": "*", "symfony/phpunit-bridge": "^6.4 || ^7.0", "symfony/var-dumper": "^6.4 || ^7.0", "symfony/yaml": "^6.4 || ^7.1", - "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0" + "api-platform/doctrine-odm": "^3.2 || ^4.0", + "api-platform/doctrine-orm": "^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0" }, "autoload": { "psr-4": { diff --git a/src/State/composer.json b/src/State/composer.json index bee5577ee3c..17ac2b5ab0f 100644 --- a/src/State/composer.json +++ b/src/State/composer.json @@ -28,7 +28,7 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", "psr/container": "^1.0 || ^2.0" }, "require-dev": { @@ -36,8 +36,8 @@ "symfony/web-link": "^6.4 || ^7.0", "symfony/http-foundation": "^6.4 || 7.0", "willdurand/negotiation": "^3.1", - "api-platform/validator": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0" + "api-platform/validator": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0" }, "autoload": { "psr-4": { diff --git a/src/Symfony/composer.json b/src/Symfony/composer.json index f8c7fb20839..43bf24c3867 100644 --- a/src/Symfony/composer.json +++ b/src/Symfony/composer.json @@ -20,19 +20,19 @@ ], "require": { "php": ">=8.1", - "api-platform/documentation": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/elasticsearch": "@dev || ^3.2 || ^4.0", - "api-platform/graphql": "@dev || ^3.2 || ^4.0", - "api-platform/http-cache": "@dev || ^3.2 || ^4.0", - "api-platform/json-schema": "@dev || ^3.2 || ^4.0", - "api-platform/jsonld": "@dev || ^3.2 || ^4.0", - "api-platform/hydra": "@dev || ^3.2 || ^4.0", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", - "api-platform/serializer": "@dev || ^3.2 || ^4.0", - "api-platform/state": "@dev || ^3.2 || ^4.0", - "api-platform/validator": "@dev || ^3.2 || ^4.0", - "api-platform/openapi": "@dev || ^3.2 || ^4.0", + "api-platform/documentation": "^3.2 || ^4.0", + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/elasticsearch": "^3.2 || ^4.0", + "api-platform/graphql": "^3.2 || ^4.0", + "api-platform/http-cache": "^3.2 || ^4.0", + "api-platform/json-schema": "^3.2 || ^4.0", + "api-platform/jsonld": "^3.2 || ^4.0", + "api-platform/hydra": "^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", + "api-platform/serializer": "^3.2 || ^4.0", + "api-platform/state": "^3.2 || ^4.0", + "api-platform/validator": "^3.2 || ^4.0", + "api-platform/openapi": "^3.2 || ^4.0", "symfony/property-info": "^6.4 || ^7.1", "symfony/property-access": "^6.4 || ^7.1", "symfony/serializer": "^6.4 || ^7.1", @@ -45,9 +45,9 @@ "symfony/validator": "^6.4 || ^7.1", "symfony/mercure-bundle": "*", "webonyx/graphql-php": "^15.0", - "api-platform/doctrine-common": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-orm": "@dev || ^3.2 || ^4.0", - "api-platform/doctrine-odm": "@dev || ^3.2 || ^4.0" + "api-platform/doctrine-common": "^3.2 || ^4.0", + "api-platform/doctrine-orm": "^3.2 || ^4.0", + "api-platform/doctrine-odm": "^3.2 || ^4.0" }, "autoload": { "psr-4": { diff --git a/src/Validator/composer.json b/src/Validator/composer.json index 5ec3cb072ce..889952bbc6c 100644 --- a/src/Validator/composer.json +++ b/src/Validator/composer.json @@ -21,7 +21,7 @@ ], "require": { "php": ">=8.1", - "api-platform/metadata": "@dev || ^3.2 || ^4.0", + "api-platform/metadata": "^3.2 || ^4.0", "symfony/web-link": "^6.4 || ^7.1" }, "require-dev": {