From 2e4f653144c01eb1d96ef6684d6a53bb7e032e6d Mon Sep 17 00:00:00 2001 From: Kevin Laude Date: Tue, 12 May 2020 21:10:10 -0500 Subject: [PATCH 1/4] Test in Laravel 7.0 --- .travis.yml | 7 +++++++ composer.json | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 73ccb4a..8a932eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ cache: # * Laravel 5.5+ requires PHP 7.0+. # * Laravel 5.6+ requires PHP 7.1+. # * Laravel 6.0+ requires PHP 7.2+. +# * Laravel 7.0+ requires PHP 7.2+. # * TravisCI tests in Ubuntu 16.04 Xenial Xerus, which doesn't support PHP 5.5. # Test 5.5 in Trusty Tahr instead. matrix: @@ -84,6 +85,10 @@ matrix: env: LARAVEL_VERSION="5.7.*" - php: "7.2" env: LARAVEL_VERSION="5.8.*" + - php: "7.2" + env: LARAVEL_VERSION="6.0.*" + - php: "7.2" + env: LARAVEL_VERSION="7.0.*" - php: "7.3" env: LARAVEL_VERSION="5.0.*" @@ -105,6 +110,8 @@ matrix: env: LARAVEL_VERSION="5.8.*" - php: "7.3" env: LARAVEL_VERSION="6.0.*" + - php: "7.3" + env: LARAVEL_VERSION="7.0.*" # Code coverage testing isn't necessary, so remove xdebug to speed things up. before_install: diff --git a/composer.json b/composer.json index 90fa0af..3045420 100644 --- a/composer.json +++ b/composer.json @@ -13,8 +13,8 @@ ], "require": { "ext-json": "*", - "illuminate/database": "~5|~6.0", - "illuminate/support": "~5|~6.0" + "illuminate/database": "~5|~6.0|~7.0", + "illuminate/support": "~5|~6.0|~7.0" }, "autoload": { "psr-4": { @@ -23,7 +23,7 @@ }, "require-dev": { "ext-pdo": "*", - "illuminate/events": "~5|~6.0", + "illuminate/events": "~5|~6.0|~7.0", "phpunit/phpunit": "~5.0|~4.8" }, "autoload-dev": { From 666fc0013158964de8060686fad6e73089fc59aa Mon Sep 17 00:00:00 2001 From: Kevin Laude Date: Tue, 12 May 2020 21:22:22 -0500 Subject: [PATCH 2/4] Test in PHP 7.4 --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8a932eb..87f6f33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -113,6 +113,29 @@ matrix: - php: "7.3" env: LARAVEL_VERSION="7.0.*" + - php: "7.4" + env: LARAVEL_VERSION="5.0.*" + - php: "7.4" + env: LARAVEL_VERSION="5.1.*" + - php: "7.4" + env: LARAVEL_VERSION="5.2.*" + - php: "7.4" + env: LARAVEL_VERSION="5.3.*" + - php: "7.4" + env: LARAVEL_VERSION="5.4.*" + - php: "7.4" + env: LARAVEL_VERSION="5.5.*" + - php: "7.4" + env: LARAVEL_VERSION="5.6.*" + - php: "7.4" + env: LARAVEL_VERSION="5.7.*" + - php: "7.4" + env: LARAVEL_VERSION="5.8.*" + - php: "7.4" + env: LARAVEL_VERSION="6.0.*" + - php: "7.4" + env: LARAVEL_VERSION="7.0.*" + # Code coverage testing isn't necessary, so remove xdebug to speed things up. before_install: - phpenv config-rm xdebug.ini From be4c87c61dad69a48edec84f433665968ce62237 Mon Sep 17 00:00:00 2001 From: Kevin Laude Date: Tue, 12 May 2020 21:35:42 -0500 Subject: [PATCH 3/4] Update the copyright year --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index a767fc6..8d47d96 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2015-2019 Kevin Laude +Copyright (c) 2015-2020 Kevin Laude Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: From e775a031380dacf37ac2060773e36c573b98c8da Mon Sep 17 00:00:00 2001 From: Kevin Laude Date: Tue, 12 May 2020 21:35:55 -0500 Subject: [PATCH 4/4] Clarify Laravel 7 support --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ebb416b..7ba5a0c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Latest Unstable Version](https://poser.pugx.org/klaude/eloquent-preferences/v/unstable)](https://packagist.org/packages/klaude/eloquent-preferences) [![License](https://poser.pugx.org/klaude/eloquent-preferences/license)](https://packagist.org/packages/klaude/eloquent-preferences) -Use this library to bind multiple key/value pair preferences to your application's Eloquent models. Preferences are stored in your application's database so they can be easily stored and queried for. This library supports Eloquent 5.x or 6.x installed either standalone or as a part of the full Laravel framework. Issues and pull requests are welcome! See [CONTRIBUTING.md](https://github.com/klaude/eloquent-preferences/blob/master/CONTRIBUTING.md) for more information. +Use this library to bind multiple key/value pair preferences to your application's Eloquent models. Preferences are stored in your application's database so they can be easily stored and queried for. This library supports Eloquent 5, 6, and 7 installed either standalone or as a part of the full Laravel framework. Issues and pull requests are welcome! See [CONTRIBUTING.md](https://github.com/klaude/eloquent-preferences/blob/master/CONTRIBUTING.md) for more information. * [Installation](#installation) * [Configuring In Laravel](#configuring-in-laravel)