From db979f0257d3069d02615ae8787f900c0fdcc7c9 Mon Sep 17 00:00:00 2001 From: a-komarev Date: Sun, 9 Sep 2018 20:47:50 +0300 Subject: [PATCH] Add Laravel 5.7 support --- CHANGELOG.md | 6 ++++++ composer.json | 8 ++++--- tests/framework/5.4/phpunit.xml.dist | 2 +- tests/framework/5.5/phpunit.xml.dist | 2 +- tests/framework/5.6/phpunit.xml.dist | 2 +- tests/framework/5.7/composer.json | 8 +++++++ tests/framework/5.7/phpunit.xml.dist | 31 ++++++++++++++++++++++++++++ 7 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 tests/framework/5.7/composer.json create mode 100644 tests/framework/5.7/phpunit.xml.dist diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f540bb..bf7eac8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `laravel-youtrack-sdk` will be documented in this file. +## 4.2.0 - 2018-09-09 + +### Added + +- Laravel 5.7 support + ## 4.1.0 - 2018-02-08 ### Added diff --git a/composer.json b/composer.json index 3ca8234..f5845de 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "require": { "php": "^7.1", "cybercog/youtrack-php-sdk": "^4.0", - "illuminate/support": "~5.4|~5.5|~5.6" + "illuminate/support": "~5.4|~5.5|~5.6|~5.7" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.10", @@ -59,12 +59,14 @@ "test-install": [ "composer install --prefer-dist --no-interaction --working-dir tests/framework/5.4", "composer install --prefer-dist --no-interaction --working-dir tests/framework/5.5", - "composer install --prefer-dist --no-interaction --working-dir tests/framework/5.6" + "composer install --prefer-dist --no-interaction --working-dir tests/framework/5.6", + "composer install --prefer-dist --no-interaction --working-dir tests/framework/5.7" ], "test": [ "./vendor/bin/phpunit --configuration tests/framework/5.4", "./vendor/bin/phpunit --configuration tests/framework/5.5", - "./vendor/bin/phpunit --configuration tests/framework/5.6" + "./vendor/bin/phpunit --configuration tests/framework/5.6", + "./vendor/bin/phpunit --configuration tests/framework/5.7" ] }, "config": { diff --git a/tests/framework/5.4/phpunit.xml.dist b/tests/framework/5.4/phpunit.xml.dist index 16d3581..395cca2 100644 --- a/tests/framework/5.4/phpunit.xml.dist +++ b/tests/framework/5.4/phpunit.xml.dist @@ -9,7 +9,7 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false"> +> ../../Unit/ diff --git a/tests/framework/5.5/phpunit.xml.dist b/tests/framework/5.5/phpunit.xml.dist index 16d3581..395cca2 100644 --- a/tests/framework/5.5/phpunit.xml.dist +++ b/tests/framework/5.5/phpunit.xml.dist @@ -9,7 +9,7 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false"> +> ../../Unit/ diff --git a/tests/framework/5.6/phpunit.xml.dist b/tests/framework/5.6/phpunit.xml.dist index 16d3581..395cca2 100644 --- a/tests/framework/5.6/phpunit.xml.dist +++ b/tests/framework/5.6/phpunit.xml.dist @@ -9,7 +9,7 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false"> +> ../../Unit/ diff --git a/tests/framework/5.7/composer.json b/tests/framework/5.7/composer.json new file mode 100644 index 0000000..f5aa9af --- /dev/null +++ b/tests/framework/5.7/composer.json @@ -0,0 +1,8 @@ +{ + "require": { + "illuminate/support": "~5.7.0" + }, + "require-dev": { + "orchestra/testbench": "3.7.*" + } +} diff --git a/tests/framework/5.7/phpunit.xml.dist b/tests/framework/5.7/phpunit.xml.dist new file mode 100644 index 0000000..395cca2 --- /dev/null +++ b/tests/framework/5.7/phpunit.xml.dist @@ -0,0 +1,31 @@ + + + + + ../../Unit/ + + + + + ./src/ + + + + + + + + + + +