From a813436e0be1ac5ed95ece8fa390782ea7742106 Mon Sep 17 00:00:00 2001 From: Vincent <407859+vincentchalamon@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:08:24 +0200 Subject: [PATCH] chore: update doctrine/orm for hotfix (#418) --- api/composer.lock | 16 ++++++++-------- api/config/packages/api_platform.yaml | 2 +- .../Http/Protection/ResourceResourceHandler.php | 4 ++-- helm/api-platform/Chart.yaml | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/api/composer.lock b/api/composer.lock index e875e2ce9..0de35908c 100644 --- a/api/composer.lock +++ b/api/composer.lock @@ -1494,16 +1494,16 @@ }, { "name": "doctrine/orm", - "version": "3.1.2", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "f79d166a4e844beb9389f23bdb44abdbf58cec38" + "reference": "37946d3a21ddf837c0d84f8156ee60a92102e332" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/f79d166a4e844beb9389f23bdb44abdbf58cec38", - "reference": "f79d166a4e844beb9389f23bdb44abdbf58cec38", + "url": "https://api.github.com/repos/doctrine/orm/zipball/37946d3a21ddf837c0d84f8156ee60a92102e332", + "reference": "37946d3a21ddf837c0d84f8156ee60a92102e332", "shasum": "" }, "require": { @@ -1525,12 +1525,12 @@ "require-dev": { "doctrine/coding-standard": "^12.0", "phpbench/phpbench": "^1.0", - "phpstan/phpstan": "1.10.59", + "phpstan/phpstan": "1.11.1", "phpunit/phpunit": "^10.4.0", "psr/log": "^1 || ^2 || ^3", "squizlabs/php_codesniffer": "3.7.2", "symfony/cache": "^5.4 || ^6.2 || ^7.0", - "vimeo/psalm": "5.22.2" + "vimeo/psalm": "5.24.0" }, "suggest": { "ext-dom": "Provides support for XSD validation for XML mapping files", @@ -1576,9 +1576,9 @@ ], "support": { "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/3.1.2" + "source": "https://github.com/doctrine/orm/tree/3.2.0" }, - "time": "2024-04-15T14:20:40+00:00" + "time": "2024-05-23T14:27:52+00:00" }, { "name": "doctrine/persistence", diff --git a/api/config/packages/api_platform.yaml b/api/config/packages/api_platform.yaml index 217ebaa22..7d98d4da6 100644 --- a/api/config/packages/api_platform.yaml +++ b/api/config/packages/api_platform.yaml @@ -1,6 +1,6 @@ api_platform: title: API Platform's demo - version: 3.3.6 + version: 3.3.6-1 description: | This is a demo application of the [API Platform](https://api-platform.com) framework. [Its source code](https://github.com/api-platform/demo) includes various examples, check it out! diff --git a/api/src/Security/Http/Protection/ResourceResourceHandler.php b/api/src/Security/Http/Protection/ResourceResourceHandler.php index 46b6d9c65..73dc4b627 100644 --- a/api/src/Security/Http/Protection/ResourceResourceHandler.php +++ b/api/src/Security/Http/Protection/ResourceResourceHandler.php @@ -30,7 +30,7 @@ public function create(object $resource, UserInterface $owner, array $context = operationName: $context['operation_name'] ?? null, httpOperation: true, ); - $shortName = strtolower(preg_replace('~(?<=\\w)([A-Z])~', '-$1', $operation->getShortName())); + $shortName = strtolower(preg_replace('~(?<=\w)([A-Z])~', '-$1', $operation->getShortName())); $resourceIri = $this->iriConverter->getIriFromResource( resource: $resource, referenceType: UrlGeneratorInterface::ABS_PATH, @@ -56,7 +56,7 @@ public function delete(object $resource, UserInterface $owner, array $context = operationName: $context['operation_name'] ?? null, httpOperation: true, ); - $shortName = strtolower(preg_replace('~(?<=\\w)([A-Z])~', '-$1', $operation->getShortName())); + $shortName = strtolower(preg_replace('~(?<=\w)([A-Z])~', '-$1', $operation->getShortName())); $resourceIri = $this->iriConverter->getIriFromResource( resource: $resource, referenceType: UrlGeneratorInterface::ABS_PATH, diff --git a/helm/api-platform/Chart.yaml b/helm/api-platform/Chart.yaml index 210ae6936..da9265aca 100644 --- a/helm/api-platform/Chart.yaml +++ b/helm/api-platform/Chart.yaml @@ -17,12 +17,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.3.6 +version: 3.3.6-1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 3.3.6 +appVersion: 3.3.6-1 dependencies: - name: postgresql