Updated dependencies (mayor)

- nelmio/api-doc-bundle 4.x to 5.6
- phpstan/phpdoc-parser 1.x to 2.x
- Fixed deprecations.
This commit is contained in:
2025-10-21 22:31:56 +02:00
parent ed6b8335c8
commit 734a4a8fee
8 changed files with 80 additions and 81 deletions
+2 -2
View File
@@ -14,11 +14,11 @@
"doctrine/doctrine-migrations-bundle": "^3.3", "doctrine/doctrine-migrations-bundle": "^3.3",
"doctrine/orm": "^3.3", "doctrine/orm": "^3.3",
"easycorp/easyadmin-bundle": "^4.25", "easycorp/easyadmin-bundle": "^4.25",
"nelmio/api-doc-bundle": "^4.30", "nelmio/api-doc-bundle": "^5.0",
"nelmio/cors-bundle": "^2.4", "nelmio/cors-bundle": "^2.4",
"php-ds/php-ds": "^1.5", "php-ds/php-ds": "^1.5",
"phpdocumentor/reflection-docblock": "^5.4", "phpdocumentor/reflection-docblock": "^5.4",
"phpstan/phpdoc-parser": "^1.28", "phpstan/phpdoc-parser": "^2.0",
"runtime/frankenphp-symfony": "^0.2.0", "runtime/frankenphp-symfony": "^0.2.0",
"symfony/asset": "7.3.*", "symfony/asset": "7.3.*",
"symfony/asset-mapper": "7.3.*", "symfony/asset-mapper": "7.3.*",
Generated
+72 -69
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "43383caff173db6f35aa57fff168f3cb", "content-hash": "ddcad66be2104e4ef3b314028d941b46",
"packages": [ "packages": [
{ {
"name": "composer/semver", "name": "composer/semver",
@@ -1406,74 +1406,74 @@
}, },
{ {
"name": "nelmio/api-doc-bundle", "name": "nelmio/api-doc-bundle",
"version": "v4.38.2", "version": "v5.6.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nelmio/NelmioApiDocBundle.git", "url": "https://github.com/nelmio/NelmioApiDocBundle.git",
"reference": "fdc1cf5bc57287787db59f205a8e77485bd22072" "reference": "eb0453607560e63bbbc6a746978933f77a787575"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/fdc1cf5bc57287787db59f205a8e77485bd22072", "url": "https://api.github.com/repos/nelmio/NelmioApiDocBundle/zipball/eb0453607560e63bbbc6a746978933f77a787575",
"reference": "fdc1cf5bc57287787db59f205a8e77485bd22072", "reference": "eb0453607560e63bbbc6a746978933f77a787575",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "php": ">=8.1",
"php": ">=7.4", "phpdocumentor/reflection-docblock": "^5.0",
"phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0",
"phpdocumentor/type-resolver": "^1.8.2", "phpdocumentor/type-resolver": "^1.8.2",
"psr/cache": "^1.0 || ^2.0 || ^3.0", "psr/cache": "^1.0 || ^2.0 || ^3.0",
"psr/container": "^1.0 || ^2.0", "psr/container": "^1.0 || ^2.0",
"psr/log": "^1.0 || ^2.0 || ^3.0", "psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/config": "^5.4 || ^6.4 || ^7.1", "symfony/config": "^6.4 || ^7.1",
"symfony/console": "^5.4 || ^6.4 || ^7.1", "symfony/console": "^6.4 || ^7.1",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.1", "symfony/dependency-injection": "^6.4 || ^7.1",
"symfony/deprecation-contracts": "^2.1 || ^3", "symfony/deprecation-contracts": "^2.1 || ^3",
"symfony/framework-bundle": "^5.4.24 || ^6.4 || ^7.1", "symfony/framework-bundle": "^6.4 || ^7.1",
"symfony/http-foundation": "^5.4 || ^6.4 || ^7.1", "symfony/http-foundation": "^6.4 || ^7.1",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.1", "symfony/http-kernel": "^6.4 || ^7.1",
"symfony/options-resolver": "^5.4 || ^6.4 || ^7.1", "symfony/options-resolver": "^6.4 || ^7.1",
"symfony/property-info": "^5.4.10 || ^6.4 || ^7.1", "symfony/property-info": "^6.4 || ^7.1",
"symfony/routing": "^5.4 || ^6.4 || ^7.1", "symfony/routing": "^6.4 || ^7.1",
"zircote/swagger-php": "^4.11.1 || ^5.0" "zircote/swagger-php": "^4.11.1 || ^5.0"
}, },
"conflict": { "conflict": {
"zircote/swagger-php": "4.8.7" "zircote/swagger-php": "4.8.7 || 5.5.0"
}, },
"require-dev": { "require-dev": {
"api-platform/core": "^2.7.0 || ^3", "api-platform/core": "^3.2",
"composer/package-versions-deprecated": "1.11.99.1",
"doctrine/annotations": "^2.0",
"friendsofphp/php-cs-fixer": "^3.52", "friendsofphp/php-cs-fixer": "^3.52",
"friendsofsymfony/rest-bundle": "^2.8 || ^3.0", "friendsofsymfony/rest-bundle": "^3.2.0",
"jms/serializer": "^1.14 || ^3.0", "jms/serializer": "^3.32",
"jms/serializer-bundle": "^2.3 || ^3.0 || ^4.0 || ^5.0", "jms/serializer-bundle": "^5.5",
"phpstan/phpstan": "^1.10", "phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^1.3", "phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^1.5", "phpstan/phpstan-strict-rules": "^2.0",
"phpstan/phpstan-symfony": "^1.3", "phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^9.6 || ^10.5", "phpunit/phpunit": "^10.5",
"symfony/asset": "^5.4 || ^6.4 || ^7.1", "symfony/asset": "^6.4 || ^7.1",
"symfony/browser-kit": "^5.4 || ^6.4 || ^7.1", "symfony/browser-kit": "^6.4 || ^7.1",
"symfony/cache": "^5.4 || ^6.4 || ^7.1", "symfony/cache": "^6.4 || ^7.1",
"symfony/dom-crawler": "^5.4 || ^6.4 || ^7.1", "symfony/dom-crawler": "^6.4 || ^7.1",
"symfony/expression-language": "^5.4 || ^6.4 || ^7.1", "symfony/expression-language": "^6.4 || ^7.1",
"symfony/form": "^5.4 || ^6.4 || ^7.1", "symfony/finder": "^6.4 || ^7.1",
"symfony/phpunit-bridge": "^6.4", "symfony/form": "^6.4 || ^7.1",
"symfony/property-access": "^5.4 || ^6.4 || ^7.1", "symfony/phpunit-bridge": "^6.4 || ^7.1",
"symfony/security-csrf": "^5.4 || ^6.4 || ^7.1", "symfony/property-access": "^6.4 || ^7.1",
"symfony/serializer": "^5.4 || ^6.4 || ^7.1", "symfony/security-csrf": "^6.4 || ^7.1",
"symfony/stopwatch": "^5.4 || ^6.4 || ^7.1", "symfony/security-http": "^6.4 || ^7.1",
"symfony/templating": "^5.4 || ^6.4 || ^7.1", "symfony/serializer": "^6.4 || ^7.1",
"symfony/twig-bundle": "^5.4 || ^6.4 || ^7.1", "symfony/stopwatch": "^6.4 || ^7.1",
"symfony/uid": "^5.4 || ^6.4 || ^7.1", "symfony/templating": "^6.4 || ^7.1",
"symfony/validator": "^5.4 || ^6.4 || ^7.1", "symfony/translation": "^6.4 || ^7.1",
"willdurand/hateoas-bundle": "^1.0 || ^2.0" "symfony/twig-bundle": "^6.4 || ^7.1",
"symfony/uid": "^6.4 || ^7.1",
"symfony/validator": "^6.4 || ^7.1",
"willdurand/hateoas-bundle": "^2.7",
"willdurand/negotiation": "^3.0"
}, },
"suggest": { "suggest": {
"api-platform/core": "For using an API oriented framework.", "api-platform/core": "For using an API oriented framework.",
"doctrine/annotations": "For using doctrine annotations",
"friendsofsymfony/rest-bundle": "For using the parameters annotations.", "friendsofsymfony/rest-bundle": "For using the parameters annotations.",
"jms/serializer-bundle": "For describing your models.", "jms/serializer-bundle": "For describing your models.",
"symfony/asset": "For using the Swagger UI.", "symfony/asset": "For using the Swagger UI.",
@@ -1489,7 +1489,8 @@
"type": "symfony-bundle", "type": "symfony-bundle",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-4.x": "4.x-dev" "dev-4.x": "4.x-dev",
"dev-5.x": "5.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -1507,7 +1508,7 @@
"homepage": "https://github.com/nelmio/NelmioApiDocBundle/contributors" "homepage": "https://github.com/nelmio/NelmioApiDocBundle/contributors"
} }
], ],
"description": "Generates documentation for your REST API from annotations and attributes", "description": "Generates documentation for your REST API from attributes",
"keywords": [ "keywords": [
"api", "api",
"doc", "doc",
@@ -1516,7 +1517,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/nelmio/NelmioApiDocBundle/issues", "issues": "https://github.com/nelmio/NelmioApiDocBundle/issues",
"source": "https://github.com/nelmio/NelmioApiDocBundle/tree/v4.38.2" "source": "https://github.com/nelmio/NelmioApiDocBundle/tree/v5.6.5"
}, },
"funding": [ "funding": [
{ {
@@ -1524,7 +1525,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-03-24T15:00:53+00:00" "time": "2025-10-20T08:34:48+00:00"
}, },
{ {
"name": "nelmio/cors-bundle", "name": "nelmio/cors-bundle",
@@ -1879,30 +1880,30 @@
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
"version": "1.33.0", "version": "2.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git", "url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" "reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/1e0cd5370df5dd2e556a36b9c62f62e555870495",
"reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0" "php": "^7.4 || ^8.0"
}, },
"require-dev": { "require-dev": {
"doctrine/annotations": "^2.0", "doctrine/annotations": "^2.0",
"nikic/php-parser": "^4.15", "nikic/php-parser": "^5.3.0",
"php-parallel-lint/php-parallel-lint": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0", "phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^1.5", "phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^1.0", "phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.6",
"symfony/process": "^5.2" "symfony/process": "^5.2"
}, },
"type": "library", "type": "library",
@@ -1920,9 +1921,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types", "description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": { "support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues", "issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.0"
}, },
"time": "2024-10-13T11:25:22+00:00" "time": "2025-08-30T15:50:23+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@@ -7777,22 +7778,23 @@
}, },
{ {
"name": "zircote/swagger-php", "name": "zircote/swagger-php",
"version": "5.4.2", "version": "5.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zircote/swagger-php.git", "url": "https://github.com/zircote/swagger-php.git",
"reference": "4f6bac8bdb9e762c6a4de12ef62160d4e5a17caa" "reference": "a1b6fba7695bed5ba8a0052f615fe828912e3f5a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zircote/swagger-php/zipball/4f6bac8bdb9e762c6a4de12ef62160d4e5a17caa", "url": "https://api.github.com/repos/zircote/swagger-php/zipball/a1b6fba7695bed5ba8a0052f615fe828912e3f5a",
"reference": "4f6bac8bdb9e762c6a4de12ef62160d4e5a17caa", "reference": "a1b6fba7695bed5ba8a0052f615fe828912e3f5a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"nikic/php-parser": "^4.19 || ^5.0", "nikic/php-parser": "^4.19 || ^5.0",
"php": ">=7.4", "php": ">=7.4",
"phpstan/phpdoc-parser": "^2.0",
"psr/log": "^1.1 || ^2.0 || ^3.0", "psr/log": "^1.1 || ^2.0 || ^3.0",
"symfony/deprecation-contracts": "^2 || ^3", "symfony/deprecation-contracts": "^2 || ^3",
"symfony/finder": "^5.0 || ^6.0 || ^7.0", "symfony/finder": "^5.0 || ^6.0 || ^7.0",
@@ -7811,7 +7813,8 @@
"vimeo/psalm": "^4.30 || ^5.0" "vimeo/psalm": "^4.30 || ^5.0"
}, },
"suggest": { "suggest": {
"doctrine/annotations": "^2.0" "doctrine/annotations": "^2.0",
"radebatz/type-info-extras": "^1.0.2"
}, },
"bin": [ "bin": [
"bin/openapi" "bin/openapi"
@@ -7857,9 +7860,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/zircote/swagger-php/issues", "issues": "https://github.com/zircote/swagger-php/issues",
"source": "https://github.com/zircote/swagger-php/tree/5.4.2" "source": "https://github.com/zircote/swagger-php/tree/5.5.1"
}, },
"time": "2025-10-09T01:32:43+00:00" "time": "2025-10-17T21:07:41+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
+1
View File
@@ -1,4 +1,5 @@
nelmio_api_doc: nelmio_api_doc:
type_info: true
documentation: documentation:
info: info:
title: SomniaRooms title: SomniaRooms
+1 -1
View File
@@ -14,7 +14,7 @@ use App\Request\BookingDetailsRequest;
use App\Response\BookingCreateResponse; use App\Response\BookingCreateResponse;
use App\Service\PricesService; use App\Service\PricesService;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Nelmio\ApiDocBundle\Annotation\Model; use Nelmio\ApiDocBundle\Attribute\Model;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\Attribute\Route;
+1 -1
View File
@@ -9,7 +9,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\Attribute\Route;
use App\Repository\ConfigVariableRepository; use App\Repository\ConfigVariableRepository;
use Nelmio\ApiDocBundle\Annotation\Model; use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA; use OpenApi\Attributes as OA;
class ConfigVariableController extends AbstractController class ConfigVariableController extends AbstractController
+1 -6
View File
@@ -3,17 +3,12 @@
namespace App\Controller; namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Doctrine\ORM\EntityManagerInterface;
use App\Repository\RoomCategoryRepository; use App\Repository\RoomCategoryRepository;
use App\Entity\RoomCategory; use App\Entity\RoomCategory;
use App\Entity\RoomCategoryPhoto; use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Annotation\Model;
use OpenApi\Annotations\Property;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\Attribute\Route;
use OpenApi\Attributes as OA; use OpenApi\Attributes as OA;
use Symfony\Component\HttpKernel\Exception\HttpException;
class RoomCategoryController extends AbstractController class RoomCategoryController extends AbstractController
{ {
+1 -1
View File
@@ -15,7 +15,7 @@ use App\Response\SearchPricesResponsePriceItem;
use App\Service\ConfigVariableService; use App\Service\ConfigVariableService;
use App\Service\PricesService; use App\Service\PricesService;
use DateTimeInterface; use DateTimeInterface;
use Nelmio\ApiDocBundle\Annotation\Model; use Nelmio\ApiDocBundle\Attribute\Model;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\Attribute\Route;
use OpenApi\Attributes as OA; use OpenApi\Attributes as OA;
+1 -1
View File
@@ -2,7 +2,7 @@
namespace App\Response; namespace App\Response;
use Nelmio\ApiDocBundle\Annotation\Model; use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA; use OpenApi\Attributes as OA;
use OpenApi\Attributes\Items; use OpenApi\Attributes\Items;