From f4b599f6d0a7c75e741be1e2efe25e147c0f4195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 4 Dec 2017 23:11:29 +0100 Subject: [PATCH] [2.x] Fix compatibility with Symfony 3.4 and 4.0 --- Resources/config/formatters.xml | 4 ++-- Resources/config/services.xml | 2 +- composer.json | 24 ++++++++++++------------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Resources/config/formatters.xml b/Resources/config/formatters.xml index 6aafe7535..9d55d2158 100644 --- a/Resources/config/formatters.xml +++ b/Resources/config/formatters.xml @@ -19,7 +19,7 @@ + parent="nelmio_api_doc.formatter.abstract_formatter" public="true"> @@ -61,7 +61,7 @@ + parent="nelmio_api_doc.formatter.abstract_formatter" public="true" /> diff --git a/Resources/config/services.xml b/Resources/config/services.xml index 552584d69..0ca714a51 100644 --- a/Resources/config/services.xml +++ b/Resources/config/services.xml @@ -26,7 +26,7 @@ - + diff --git a/composer.json b/composer.json index c36fc6b43..78ddc0596 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,9 @@ ], "require": { "php": ">=5.4", - "symfony/twig-bundle": "~2.3|~3.0", - "symfony/framework-bundle": "~2.3|~3.0", - "symfony/console": "~2.3|~3.0", + "symfony/twig-bundle": "~2.3|~3.0|~4.0", + "symfony/framework-bundle": "~2.3|~3.0|~4.0", + "symfony/console": "~2.3|~3.0|~4.0", "michelf/php-markdown": "~1.4" }, "conflict": { @@ -28,20 +28,20 @@ "symfony/symfony": "~2.7.8" }, "require-dev": { - "symfony/css-selector": "~2.3|~3.0", - "symfony/browser-kit": "~2.3|~3.0", - "symfony/validator": "~2.3|~3.0", - "symfony/yaml": "~2.3|~3.0", - "symfony/form": "~2.3|~3.0", - "symfony/finder": "~2.3|~3.0", - "symfony/serializer": "~2.7|~3.0", + "symfony/css-selector": "~2.3|~3.0|~4.0", + "symfony/browser-kit": "~2.3|~3.0|~4.0", + "symfony/validator": "~2.3|~3.0|~4.0", + "symfony/yaml": "~2.3|~3.0|~4.0", + "symfony/form": "~2.3|~3.0|~4.0", + "symfony/finder": "~2.3|~3.0|~4.0", + "symfony/serializer": "~2.7|~3.0|~4.0", "doctrine/orm": "~2.3", "doctrine/doctrine-bundle": "~1.5", "friendsofsymfony/rest-bundle": "~1.0|~2.0", "jms/serializer-bundle": ">=0.11", - "dunglas/api-bundle": "~1.0@dev", + "dunglas/api-bundle": "~1.0", "sensio/framework-extra-bundle": "~3.0", - "symfony/phpunit-bridge": "~2.7|~3.0" + "symfony/phpunit-bridge": "~2.7|~3.0|~4.0" }, "suggest": { "symfony/form": "For using form definitions as input.",