From bebe8d3317e50c507cec81fc368f557a2e9b4a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Barray?= Date: Mon, 27 Nov 2017 16:44:54 +0100 Subject: [PATCH 1/2] :rotating_light: Add a build to dev deps --- .travis.yml | 3 ++- composer.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 89b4d38..1e54f88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,9 @@ php: env: matrix: + - COMPOSER_PREFER="" - COMPOSER_PREFER="--prefer-stable" - - COMPOSER_PREFER="--prefer-lowest" + - COMPOSER_PREFER="--prefer-stable --prefer-lowest" matrix: allow_failures: diff --git a/composer.json b/composer.json index 13a6bb9..aac0efa 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,7 @@ "email": "dev@verylastroom.com" } ], + "minimum-stability": "dev", "autoload": { "psr-4": { "Rezzza\\SymfonyRestApiJson\\": "src" } }, From 14fc08dfe6c08ece4134a5faf0e7faa948644e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Barray?= Date: Mon, 27 Nov 2017 16:45:31 +0100 Subject: [PATCH 2/2] :package: Allow to use sf4 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index aac0efa..d2a80b9 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ "psr-4": { "Rezzza\\SymfonyRestApiJson\\Tests\\": "tests" } }, "require": { - "symfony/http-kernel": "^2.8|^3.0", - "symfony/http-foundation": "^2.8|^3.0", - "symfony/debug": "^2.8|^3.0", + "symfony/http-kernel": "^2.8|^3.0|^4.0", + "symfony/http-foundation": "^2.8|^3.0|^4.0", + "symfony/debug": "^2.8|^3.0|^4.0", "jakeasmith/http_build_url": "^1.0", "justinrainbow/json-schema": ">=3.0 <6.0" },