Skip to content

Commit 67d099f

Browse files
chore: use api-platform/symfony:^4.0 instead of api-platform/core
1 parent 0bc35e8 commit 67d099f

File tree

7 files changed

+441
-455
lines changed

7 files changed

+441
-455
lines changed

api/composer.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"php": ">=8.3",
66
"ext-ctype": "*",
77
"ext-iconv": "*",
8-
"api-platform/doctrine-orm": "^3.4",
9-
"api-platform/graphql": "^3.4",
10-
"api-platform/symfony": "^3.4",
8+
"api-platform/doctrine-orm": "^4.0",
9+
"api-platform/graphql": "^4.0",
10+
"api-platform/symfony": "^4.0",
1111
"doctrine/common": "^3.4",
1212
"doctrine/doctrine-bundle": "^2.11",
1313
"doctrine/doctrine-fixtures-bundle": "^3.5",
@@ -105,18 +105,6 @@
105105
]
106106
},
107107
"conflict": {
108-
"api-platform/doctrine-common": "^4.0@alpha",
109-
"api-platform/documentation": "^4.0@alpha",
110-
"api-platform/graphql": "^4.0@alpha",
111-
"api-platform/http-cache": "^4.0@alpha",
112-
"api-platform/hydra": "^4.0@alpha",
113-
"api-platform/json-schema": "^4.0@alpha",
114-
"api-platform/jsonld": "^4.0@alpha",
115-
"api-platform/metadata": "^4.0@alpha",
116-
"api-platform/openapi": "^4.0@alpha",
117-
"api-platform/serializer": "^4.0@alpha",
118-
"api-platform/state": "^4.0@alpha",
119-
"api-platform/validator": "^4.0@alpha",
120108
"symfony/symfony": "*"
121109
},
122110
"extra": {

api/composer.lock

Lines changed: 435 additions & 417 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/config/packages/api_platform.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
api_platform:
22
title: API Platform's demo
3-
version: 3.4.0
3+
version: 4.0.0
44
description: |
55
This is a demo application of the [API Platform](https://api-platform.com) framework.
66
[Its source code](https://github.com/api-platform/demo) includes various examples, check it out!
@@ -28,9 +28,6 @@ api_platform:
2828
extra_properties:
2929
standard_put: true
3030
rfc_7807_compliant_errors: true
31-
use_symfony_listeners: false
32-
event_listeners_backward_compatibility_layer: false
33-
keep_legacy_inflector: false
3431
serializer:
3532
hydra_prefix: true
3633
oauth:

api/phpstan.dist.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,3 @@ parameters:
1717
- src/Kernel.php
1818
ignoreErrors:
1919
- message: '#no (?:return|value) type specified in iterable type array\.#'
20-
# 3.4 BC layer
21-
- message: '#Call to an undefined method ApiPlatform\\Metadata\\IriConverterInterface::getIriFromResource\(\)\.#'
22-
- message: '#Access to undefined constant ApiPlatform\\Metadata\\UrlGeneratorInterface.+#'

api/src/ApiResource/.gitignore

Whitespace-only changes.

api/symfony.lock

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
"api-platform/core": {
3-
"version": "3.2",
4-
"recipe": {
5-
"repo": "github.com/symfony/recipes",
6-
"branch": "main",
7-
"version": "3.2",
8-
"ref": "696d44adc3c0d4f5d25a2f1c4f3700dd8a5c6db9"
9-
},
10-
"files": [
11-
"config/packages/api_platform.yaml",
12-
"config/routes/api_platform.yaml",
13-
"src/ApiResource/.gitignore"
14-
]
15-
},
162
"api-platform/schema-generator": {
173
"version": "v4.0.0"
184
},

helm/api-platform/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ type: application
1717
# This is the chart version. This version number should be incremented each time you make changes
1818
# to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 3.4.0
20+
version: 4.0.0
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to
2424
# follow Semantic Versioning. They should reflect the version the application is using.
25-
appVersion: 3.4.0
25+
appVersion: 4.0.0
2626

2727
dependencies:
2828
- name: postgresql

0 commit comments

Comments
 (0)