From d5c4d0d12d9e9e4701965ad7c73f1ee3c8e6828a Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Thu, 8 Feb 2018 16:06:26 +0100 Subject: [PATCH] Fix Symfony 4 + Flex support --- composer.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ebad5e6..7a8fb79 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mhujer/javascript-error-handler-bundle", - "type": "library", + "type": "symfony-bundle", "description": "Converts JavaScript errors to alerts, so you won't miss them if you don't have the browser console open.", "keywords": [ "javascript", @@ -18,7 +18,12 @@ ], "require": { "php": "7.1.*||7.2.*", - "symfony/symfony": "~3.3|~4.0" + "symfony/config": "^3.3|^4.0", + "symfony/dependency-injection": "^3.3|^4.0", + "symfony/event-dispatcher": "^3.3|^4.0", + "symfony/expression-language": "^3.3|^4.0", + "symfony/http-foundation": "^3.3|^4.0", + "symfony/http-kernel": "^3.3|^4.0" }, "require-dev": { "consistence/coding-standard": "2.2.1",