From 49efdb9bacb29794abc6b2c1a30629f287f9c873 Mon Sep 17 00:00:00 2001 From: DevDavido <997605+DevDavido@users.noreply.github.com> Date: Mon, 11 Mar 2019 06:53:28 +0100 Subject: [PATCH] Added Laravel 5.8 / PHP 7.3 support (#10) * Updated composer.json to work with Laravel 5.6 * Updated PHPUnit compatibility * Laravel 5.7 compatibility * Laravel 5.7 support * Fix merge * Added PHP 7.3 travis check * Added Laravel 5.8 support * Fix PHPUnit void return type declaration issue * Fix attribute warnings of newer PHPUnit --- .travis.yml | 1 + composer.json | 2 +- phpunit.xml | 2 +- tests/PageTitleTest.php | 4 +++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c7a51a7..d2e1128 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 7.1 - 7.2 + - 7.3 before_script: - travis_retry composer self-update diff --git a/composer.json b/composer.json index 6aeae77..83d8033 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ ], "require": { "php" : "~7.1", - "illuminate/support": "~5.5.0|~5.6.0|~5.7.0" + "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0" }, "require-dev": { "phpunit/phpunit": "~7.0" diff --git a/phpunit.xml b/phpunit.xml index ad53d51..f6068e9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -20,6 +20,6 @@ - + diff --git a/tests/PageTitleTest.php b/tests/PageTitleTest.php index 1a2e7bb..257e49b 100644 --- a/tests/PageTitleTest.php +++ b/tests/PageTitleTest.php @@ -19,8 +19,10 @@ class PageTitleTest extends TestCase /** * Setup the testcase. + * + * @return void */ - public function setUp() + public function setUp(): void { parent::setUp();