Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: composer.json config #6640

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 99 additions & 72 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,67 @@
{
"name": "api-platform/core",
"authors": [
{
"name": "Kévin Dunglas",
"email": "kevin@dunglas.fr",
"homepage": "https://dunglas.fr"
}
],
"autoload": {
"psr-4": {
"ApiPlatform\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ApiPlatform\\Tests\\": "tests/",
"App\\": "tests/Fixtures/app/var/tmp/src/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"phpstan/extension-installer": true,
"php-http/discovery": true,
"soyuka/pmu": true
}
},
"conflict": {
"doctrine/common": "<3.2.2",
"doctrine/dbal": "<2.10",
"doctrine/orm": "<2.14.0",
"doctrine/mongodb-odm": "<2.4",
"doctrine/persistence": "<1.3",
"symfony/framework-bundle": "6.4.6 || 7.1.6",
"symfony/var-exporter": "<6.1.1",
"phpunit/phpunit": "<9.5",
"phpspec/prophecy": "<1.15",
"elasticsearch/elasticsearch": ">=8.0,<8.4"
},
"description": "Build a fully-featured hypermedia or GraphQL API in minutes!",
"type": "library",
"extra": {
"branch-alias": {
"dev-3.4": "3.4.x-dev",
"dev-main": "4.0.x-dev"
},
"symfony": {
"require": "^6.4 || ^7.1"
},
"pmu": {
"projects": [
"./src/*/composer.json",
"src/Doctrine/*/composer.json"
]
},
"thanks": {
"name": "api-platform/api-platform",
"url": "https://github.com/api-platform/api-platform"
}
},
"homepage": "https://api-platform.com",
"keywords": [
"REST",
"GraphQL",
Expand All @@ -13,15 +73,31 @@
"HAL",
"Swagger"
],
"homepage": "https://api-platform.com",
"license": "MIT",
"authors": [
{
"name": "Kévin Dunglas",
"email": "kevin@dunglas.fr",
"homepage": "https://dunglas.fr"
}
],
"name": "api-platform/core",
"replace": {
"api-platform/doctrine-common": "self.version",
"api-platform/doctrine-odm": "self.version",
"api-platform/doctrine-orm": "self.version",
"api-platform/documentation": "self.version",
"api-platform/elasticsearch": "self.version",
"api-platform/graphql": "self.version",
"api-platform/http-cache": "self.version",
"api-platform/hydra": "self.version",
"api-platform/json-api": "self.version",
"api-platform/json-hal": "self.version",
"api-platform/json-schema": "self.version",
"api-platform/jsonld": "self.version",
"api-platform/laravel": "self.version",
"api-platform/metadata": "self.version",
"api-platform/openapi": "self.version",
"api-platform/parameter-validator": "self.version",
"api-platform/ramsey-uuid": "self.version",
"api-platform/serializer": "self.version",
"api-platform/state": "self.version",
"api-platform/symfony": "self.version",
"api-platform/validator": "self.version"
},
"require": {
"php": ">=8.1",
"doctrine/inflector": "^1.0 || ^2.0",
Expand All @@ -38,24 +114,25 @@
"willdurand/negotiation": "^3.0"
},
"require-dev": {
"api-platform/json-schema": "^3.4 || ^4.0",
"api-platform/metadata": "^3.4 || ^4.0",
"api-platform/state": "^3.4 || ^4.0",
"api-platform/doctrine-common": "^3.4 || ^4.0",
"api-platform/doctrine-odm": "^3.4 || ^4.0",
"api-platform/doctrine-orm": "^3.4 || ^4.0",
"api-platform/documentation": "^3.4 || ^4.0",
"api-platform/elasticsearch": "^3.4 || ^4.0",
"api-platform/graphql": "^3.4 || ^4.0",
"api-platform/http-cache": "^3.4 || ^4.0",
"api-platform/hydra": "^3.4 || ^4.0",
"api-platform/json-api": "^3.3 || ^4.0",
"api-platform/json-schema": "^3.4 || ^4.0",
"api-platform/jsonld": "^3.4 || ^4.0",
"api-platform/metadata": "^3.4 || ^4.0",
"api-platform/openapi": "^3.4 || ^4.0",
"api-platform/parameter-validator": "^3.4",
"api-platform/ramsey-uuid": "^3.4 || ^4.0",
"api-platform/jsonld": "^3.4 || ^4.0",
"api-platform/serializer": "^3.4 || ^4.0",
"api-platform/json-api": "^3.3 || ^4.0",
"api-platform/http-cache": "^3.4 || ^4.0",
"api-platform/elasticsearch": "^3.4 || ^4.0",
"api-platform/hydra": "^3.4 || ^4.0",
"api-platform/documentation": "^3.4 || ^4.0",
"api-platform/state": "^3.4 || ^4.0",
"api-platform/validator": "^3.4 || ^4.0",
"api-platform/graphql": "^3.4 || ^4.0",
"behat/behat": "^3.11",
"behat/behat": "^3.11",
"behat/mink": "^1.9",
"doctrine/cache": "^1.11 || ^2.1",
"doctrine/common": "^3.2.2",
Expand Down Expand Up @@ -120,18 +197,6 @@
"twig/twig": "^1.42.3 || ^2.12 || ^3.0",
"webonyx/graphql-php": "^14.0 || ^15.0"
},
"conflict": {
"doctrine/common": "<3.2.2",
"doctrine/dbal": "<2.10",
"doctrine/orm": "<2.14.0",
"doctrine/mongodb-odm": "<2.4",
"doctrine/persistence": "<1.3",
"symfony/framework-bundle": "6.4.6 || 7.1.6",
"symfony/var-exporter": "<6.1.1",
"phpunit/phpunit": "<9.5",
"phpspec/prophecy": "<1.15",
"elasticsearch/elasticsearch": ">=8.0,<8.4"
},
"suggest": {
"doctrine/mongodb-odm-bundle": "To support MongoDB. Only versions 4.0 and later are supported.",
"elasticsearch/elasticsearch": "To support Elasticsearch.",
Expand All @@ -150,43 +215,5 @@
"symfony/web-profiler-bundle": "To use the data collector.",
"webonyx/graphql-php": "To support GraphQL."
},
"autoload": {
"psr-4": {
"ApiPlatform\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ApiPlatform\\Tests\\": "tests/",
"App\\": "tests/Fixtures/app/var/tmp/src/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"phpstan/extension-installer": true,
"php-http/discovery": true,
"soyuka/pmu": true
}
},
"extra": {
"branch-alias": {
"dev-3.4": "3.4.x-dev",
"dev-main": "4.0.x-dev"
},
"symfony": {
"require": "^6.4 || ^7.1"
},
"pmu": {
"projects": ["./src/*/composer.json", "src/Doctrine/*/composer.json"]
},
"thanks": {
"name": "api-platform/api-platform",
"url": "https://github.com/api-platform/api-platform"
}
}
"type": "library"
}
2 changes: 1 addition & 1 deletion src/Doctrine/Odm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"api-platform/metadata": "^3.4 || ^4.0",
"api-platform/state": "^3.4 || ^4.0",
"doctrine/mongodb-odm": "^2.2",
"doctrine/mongodb-odm-bundle": "^5.0",
"symfony/property-info": "^6.4 || ^7.1"
},
"require-dev": {
"api-platform/parameter-validator": "^3.2",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/mongodb-odm-bundle": "^5.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^10.0",
"symfony/cache": "^6.4 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Doctrine/Orm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"api-platform/doctrine-common": "^3.4 || ^4.0",
"api-platform/metadata": "^3.4 || ^4.0",
"api-platform/state": "^3.4 || ^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": "^3.2",
"doctrine/doctrine-bundle": "^2.11",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^10.0",
"ramsey/uuid": "^4.7",
Expand Down
Loading