Skip to content

Commit 27f15a3

Browse files
authored
ci: conflict sebastian/comparator (#6032)
* ci: conflict sebastian/comparator * for lowest
1 parent a35f0da commit 27f15a3

File tree

15 files changed

+407
-356
lines changed

15 files changed

+407
-356
lines changed

composer.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22
"name": "api-platform/core",
33
"description": "Build a fully-featured hypermedia or GraphQL API in minutes!",
44
"type": "library",
5-
"keywords": ["REST", "GraphQL", "API", "JSON-LD", "Hydra", "JSONAPI", "OpenAPI", "HAL", "Swagger"],
5+
"keywords": [
6+
"REST",
7+
"GraphQL",
8+
"API",
9+
"JSON-LD",
10+
"Hydra",
11+
"JSONAPI",
12+
"OpenAPI",
13+
"HAL",
14+
"Swagger"
15+
],
616
"homepage": "https://api-platform.com",
717
"license": "MIT",
818
"authors": [
@@ -94,7 +104,8 @@
94104
"doctrine/orm": "<2.14.0",
95105
"doctrine/mongodb-odm": "<2.4",
96106
"doctrine/persistence": "<1.3",
97-
"symfony/var-exporter" : "<6.1.1",
107+
"symfony/var-exporter": "<6.1.1",
108+
"sebastian/comparator": ">=5.0",
98109
"phpunit/phpunit": "<9.5",
99110
"phpspec/prophecy": "<1.15",
100111
"elasticsearch/elasticsearch": ">=8.0,<8.4"

src/Documentation/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"homepage": "https://api-platform.com/community/contributors"
2020
}
2121
],
22+
"conflict": {
23+
"sebastian/comparator": ">=5.0"
24+
},
2225
"require": {
2326
"api-platform/openapi": "*@dev || ^3.1",
2427
"api-platform/metadata": "*@dev || ^3.1"

src/Elasticsearch/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"php-http/discovery": false
5757
}
5858
},
59+
"conflict": {
60+
"sebastian/comparator": ">=5.0"
61+
},
5962
"extra": {
6063
"branch-alias": {
6164
"dev-main": "3.2.x-dev"

src/GraphQl/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
"/Tests/"
4848
]
4949
},
50+
"conflict": {
51+
"sebastian/comparator": ">=5.0"
52+
},
5053
"config": {
5154
"preferred-install": {
5255
"*": "dist"

src/HttpCache/composer.json

Lines changed: 67 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,74 @@
11
{
2-
"name": "api-platform/http-cache",
3-
"description": "API Platform HttpCache component",
4-
"type": "library",
5-
"keywords": [
6-
"Cache",
7-
"Http"
8-
],
9-
"homepage": "https://api-platform.com",
10-
"license": "MIT",
11-
"authors": [
12-
{
13-
"name": "Kévin Dunglas",
14-
"email": "[email protected]",
15-
"homepage": "https://dunglas.fr"
2+
"name": "api-platform/http-cache",
3+
"description": "API Platform HttpCache component",
4+
"type": "library",
5+
"keywords": [
6+
"Cache",
7+
"Http"
8+
],
9+
"homepage": "https://api-platform.com",
10+
"license": "MIT",
11+
"authors": [
12+
{
13+
"name": "Kévin Dunglas",
14+
"email": "[email protected]",
15+
"homepage": "https://dunglas.fr"
16+
},
17+
{
18+
"name": "API Platform Community",
19+
"homepage": "https://api-platform.com/comunnity/contributors"
20+
}
21+
],
22+
"require": {
23+
"php": ">=8.1",
24+
"api-platform/metadata": "*@dev || ^3.1",
25+
"api-platform/state": "*@dev || ^3.1",
26+
"symfony/http-foundation": "^6.1"
1627
},
17-
{
18-
"name": "API Platform Community",
19-
"homepage": "https://api-platform.com/comunnity/contributors"
20-
}
21-
],
22-
"require": {
23-
"php": ">=8.1",
24-
"api-platform/metadata": "*@dev || ^3.1",
25-
"api-platform/state": "*@dev || ^3.1",
26-
"symfony/http-foundation": "^6.1"
27-
},
28-
"require-dev": {
29-
"guzzlehttp/guzzle": "^6.0 || ^7.0",
30-
"symfony/dependency-injection": "^6.1",
31-
"phpspec/prophecy-phpunit": "^2.0",
32-
"symfony/phpunit-bridge": "^6.1",
33-
"symfony/http-client": "^6.1"
34-
},
35-
"autoload": {
36-
"psr-4": {
37-
"ApiPlatform\\HttpCache\\": ""
28+
"require-dev": {
29+
"guzzlehttp/guzzle": "^6.0 || ^7.0",
30+
"symfony/dependency-injection": "^6.1",
31+
"phpspec/prophecy-phpunit": "^2.0",
32+
"symfony/phpunit-bridge": "^6.1",
33+
"symfony/http-client": "^6.1"
3834
},
39-
"exclude-from-classmap": [
40-
"/Tests/"
41-
]
42-
},
43-
"config": {
44-
"preferred-install": {
45-
"*": "dist"
35+
"autoload": {
36+
"psr-4": {
37+
"ApiPlatform\\HttpCache\\": ""
38+
},
39+
"exclude-from-classmap": [
40+
"/Tests/"
41+
]
42+
},
43+
"conflict": {
44+
"sebastian/comparator": ">=5.0"
4645
},
47-
"sort-packages": true,
48-
"allow-plugins": {
49-
"composer/package-versions-deprecated": true,
50-
"phpstan/extension-installer": true
51-
}
52-
},
53-
"extra": {
54-
"branch-alias": {
55-
"dev-main": "3.2.x-dev"
46+
"config": {
47+
"preferred-install": {
48+
"*": "dist"
49+
},
50+
"sort-packages": true,
51+
"allow-plugins": {
52+
"composer/package-versions-deprecated": true,
53+
"phpstan/extension-installer": true
54+
}
5655
},
57-
"symfony": {
58-
"require": "^6.1"
59-
}
60-
},
61-
"repositories": [
62-
{
63-
"type": "path",
64-
"url": "../Metadata"
56+
"extra": {
57+
"branch-alias": {
58+
"dev-main": "3.2.x-dev"
59+
},
60+
"symfony": {
61+
"require": "^6.1"
62+
}
6563
},
66-
{
67-
"type": "path",
68-
"url": "../State"
69-
}
70-
]
64+
"repositories": [
65+
{
66+
"type": "path",
67+
"url": "../Metadata"
68+
},
69+
{
70+
"type": "path",
71+
"url": "../State"
72+
}
73+
]
7174
}

src/Hydra/composer.json

Lines changed: 73 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,79 @@
11
{
2-
"name": "api-platform/hydra",
3-
"description": "API Hydra support",
4-
"type": "library",
5-
"keywords": [
6-
"REST",
7-
"GraphQL",
8-
"API",
9-
"JSON-LD",
10-
"Hydra",
11-
"JSONAPI",
12-
"OpenAPI",
13-
"HAL",
14-
"Swagger"
15-
],
16-
"homepage": "https://api-platform.com",
17-
"license": "MIT",
18-
"authors": [
19-
{
20-
"name": "Kévin Dunglas",
21-
"email": "[email protected]",
22-
"homepage": "https://dunglas.fr"
2+
"name": "api-platform/hydra",
3+
"description": "API Hydra support",
4+
"type": "library",
5+
"keywords": [
6+
"REST",
7+
"GraphQL",
8+
"API",
9+
"JSON-LD",
10+
"Hydra",
11+
"JSONAPI",
12+
"OpenAPI",
13+
"HAL",
14+
"Swagger"
15+
],
16+
"homepage": "https://api-platform.com",
17+
"license": "MIT",
18+
"authors": [
19+
{
20+
"name": "Kévin Dunglas",
21+
"email": "[email protected]",
22+
"homepage": "https://dunglas.fr"
23+
},
24+
{
25+
"name": "API Platform Community",
26+
"homepage": "https://api-platform.com/community/contributors"
27+
}
28+
],
29+
"require": {
30+
"php": ">=8.1",
31+
"api-platform/state": "*@dev || ^3.1",
32+
"api-platform/metadata": "*@dev || ^3.1",
33+
"api-platform/jsonld": "*@dev || ^3.1"
2334
},
24-
{
25-
"name": "API Platform Community",
26-
"homepage": "https://api-platform.com/community/contributors"
27-
}
28-
],
29-
"require": {
30-
"php": ">=8.1",
31-
"api-platform/state": "*@dev || ^3.1",
32-
"api-platform/metadata": "*@dev || ^3.1",
33-
"api-platform/jsonld": "*@dev || ^3.1"
34-
},
35-
"require-dev": {
36-
},
37-
"autoload": {
38-
"psr-4": {
39-
"ApiPlatform\\Hydra\\": ""
35+
"require-dev": {},
36+
"autoload": {
37+
"psr-4": {
38+
"ApiPlatform\\Hydra\\": ""
39+
},
40+
"exclude-from-classmap": [
41+
"/Tests/"
42+
]
4043
},
41-
"exclude-from-classmap": [
42-
"/Tests/"
43-
]
44-
},
45-
"config": {
46-
"preferred-install": {
47-
"*": "dist"
44+
"config": {
45+
"preferred-install": {
46+
"*": "dist"
47+
},
48+
"sort-packages": true,
49+
"allow-plugins": {
50+
"composer/package-versions-deprecated": true,
51+
"phpstan/extension-installer": true
52+
}
4853
},
49-
"sort-packages": true,
50-
"allow-plugins": {
51-
"composer/package-versions-deprecated": true,
52-
"phpstan/extension-installer": true
53-
}
54-
},
55-
"extra": {
56-
"branch-alias": {
57-
"dev-main": "3.2.x-dev"
54+
"conflict": {
55+
"sebastian/comparator": ">=5.0"
5856
},
59-
"symfony": {
60-
"require": "^6.1"
61-
}
62-
},
63-
"repositories": [
64-
{
65-
"type": "path",
66-
"url": "../State"
67-
},
68-
{
69-
"type": "path",
70-
"url": "../Metadata"
71-
},
72-
{
73-
"type": "path",
74-
"url": "../JsonLd"
75-
}
76-
]
57+
"extra": {
58+
"branch-alias": {
59+
"dev-main": "3.2.x-dev"
60+
},
61+
"symfony": {
62+
"require": "^6.1"
63+
}
64+
},
65+
"repositories": [
66+
{
67+
"type": "path",
68+
"url": "../State"
69+
},
70+
{
71+
"type": "path",
72+
"url": "../Metadata"
73+
},
74+
{
75+
"type": "path",
76+
"url": "../JsonLd"
77+
}
78+
]
7779
}

0 commit comments

Comments
 (0)