diff --git a/Viewable.php b/Source/Viewable.php similarity index 96% rename from Viewable.php rename to Source/Viewable.php index ec42dc3..a166f34 100644 --- a/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); } } 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": {