Skip to content

Commit

Permalink
fix(deps): update dependency api-platform/core to v3.1.10 (#3372)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency api-platform/core to v3.1.10

* identifier cache is now inluded in api-platform/core (api-platform/core#5466)

* fix moved ClassInfoTrait

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Urban Suppiger <urban@suppiger.net>
  • Loading branch information
renovate[bot] and usu authored May 2, 2023
1 parent df4361e commit 971442d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 21 deletions.
2 changes: 1 addition & 1 deletion api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"php": ">=8.1.0",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/core": "3.1.4",
"api-platform/core": "3.1.10",
"composer/package-versions-deprecated": "1.11.99",
"cweagans/composer-patches": "1.7.3",
"doctrine/doctrine-bundle": "2.9.1",
Expand Down
14 changes: 7 additions & 7 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions api/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,4 @@ services:
# see vendor/api-platform/core/src/Symfony/Bundle/Resources/config/metadata/property.xml:41
api_platform.cache.metadata.identifier:
parent: cache.adapter.array
tags: [ cache.pool ]
api_platform.metadata.property.identifier_metadata_factory.cached:
class: ApiPlatform\Metadata\Property\Factory\CachedPropertyMetadataFactory
decorates: api_platform.metadata.property.identifier_metadata_factory
decoration_priority: 99
arguments:
- '@api_platform.cache.metadata.identifier'
- '@api_platform.metadata.property.identifier_metadata_factory.cached.inner'
tags: [ cache.pool ]
2 changes: 1 addition & 1 deletion api/src/Entity/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use ApiPlatform\Metadata\GetCollection;
use ApiPlatform\Metadata\Patch;
use ApiPlatform\Metadata\Post;
use ApiPlatform\Util\ClassInfoTrait;
use ApiPlatform\Metadata\Util\ClassInfoTrait;
use App\InputFilter;
use App\Repository\CategoryRepository;
use App\State\CategoryCreateProcessor;
Expand Down
2 changes: 1 addition & 1 deletion api/src/Entity/ContentNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
use ApiPlatform\Metadata\GetCollection;
use ApiPlatform\Util\ClassInfoTrait;
use ApiPlatform\Metadata\Util\ClassInfoTrait;
use App\Doctrine\Filter\ContentNodePeriodFilter;
use App\Entity\ContentNode\ColumnLayout;
use App\InputFilter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use ApiPlatform\Exception\ResourceClassNotFoundException;
use ApiPlatform\Metadata\GetCollection;
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;
use ApiPlatform\Util\ClassInfoTrait;
use ApiPlatform\Metadata\Util\ClassInfoTrait;
use App\Entity\BaseEntity;
use App\Metadata\Resource\Factory\UriTemplateFactory;
use App\Metadata\Resource\OperationHelper;
Expand Down
2 changes: 1 addition & 1 deletion api/src/Util/EntityMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Util;

use ApiPlatform\Util\ClassInfoTrait;
use ApiPlatform\Metadata\Util\ClassInfoTrait;
use App\Entity\BaseEntity;

class EntityMap {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Validator\ContentNode;

use ApiPlatform\Util\ClassInfoTrait;
use ApiPlatform\Metadata\Util\ClassInfoTrait;
use App\Entity\ContentNode;
use App\Entity\ContentType;
use Symfony\Component\Validator\Constraint;
Expand Down

0 comments on commit 971442d

Please sign in to comment.