From 1227ed3ad55bb94a7ce87669dc270214115399e4 Mon Sep 17 00:00:00 2001 From: Ryan Teixeira Date: Wed, 13 Jun 2018 17:53:32 -0400 Subject: [PATCH 1/2] Update YourClassTest.php Update to work with phpunit 6. --- tests/YourClassTest.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/YourClassTest.php b/tests/YourClassTest.php index cf03578..544a878 100644 --- a/tests/YourClassTest.php +++ b/tests/YourClassTest.php @@ -1,4 +1,5 @@ assertTrue(is_object($var)); unset($var); @@ -30,10 +33,10 @@ public function testIsThereAnySyntaxError(){ * any typo before you even use this library in a real project. * */ - public function testMethod1(){ + public function testMethod1() + { $var = new Buonzz\Template\YourClass; $this->assertTrue($var->method1("hey") == 'Hello World'); unset($var); - } - -} \ No newline at end of file + } +} From 5db0ef8364fee615cf5fe184af418e9578e7f266 Mon Sep 17 00:00:00 2001 From: Ryan Teixeira Date: Wed, 13 Jun 2018 17:55:17 -0400 Subject: [PATCH 2/2] Update composer.json Update to work with phpunit 6 and php 7. --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 4ff8ea6..1602a4d 100644 --- a/composer.json +++ b/composer.json @@ -11,12 +11,12 @@ ], "type": "project", "require": { - "php": ">=5.4" + "php": ">=7.1" }, - "require-dev": { - "phpunit/phpunit": "5.2.*" + "require-dev": { + "phpunit/phpunit": "6.*" }, - "autoload": { + "autoload": { "psr-4": { "Buonzz\\Template\\": "src/" }