From 5188c4fa0b9ea0dfa3763aa34c1c98230c09daef Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 8 Nov 2017 15:27:49 +0100 Subject: [PATCH 1/2] chore(php) Update to PHP 7. --- Viewable.php => Source/Viewable.php | 0 composer.json | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename Viewable.php => Source/Viewable.php (100%) diff --git a/Viewable.php b/Source/Viewable.php similarity index 100% rename from Viewable.php rename to Source/Viewable.php diff --git a/composer.json b/composer.json index 42341b5..4e5793d 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "source": "https://central.hoa-project.net/Resource/Library/View" }, "require": { - "php" : ">=5.5.0", + "php" : ">=7.1", "hoa/consistency": "~1.0" }, "require-dev": { @@ -31,7 +31,8 @@ }, "autoload": { "psr-4": { - "Hoa\\View\\": "." + "Hoa\\View\\" : "Source", + "Hoa\\View\\Test\\": "Test" } }, "suggest": { From 409f2ade201154b9d28defec5112eada58cdeeaa Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 8 Nov 2017 15:32:09 +0100 Subject: [PATCH 2/2] chore(php) Update to PHP 7. --- Source/Viewable.php | 5 ++--- Test/Unit/Viewable.php | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Source/Viewable.php b/Source/Viewable.php index ec42dc3..a166f34 100644 --- a/Source/Viewable.php +++ b/Source/Viewable.php @@ -1,5 +1,7 @@ when($result = new \Mock\Hoa\View\Viewable()) ->object($result) - ->isInstanceOf('Hoa\View\Viewable'); + ->isInstanceOf(LUT\Viewable::class); } }