diff --git a/composer.json b/composer.json index 61d5b99..5769537 100644 --- a/composer.json +++ b/composer.json @@ -3,15 +3,13 @@ "description": "Testing Suite For Lumen like Laravel does.", "keywords": ["phpunit", "test", "lumen", "testing", "laravel", "laravel"], "license": "MIT", - "authors": [ - { - "name": "Albert Chen", - "email": "albert.cht@gmail.com" - } - ], + "authors": [{ + "name": "Albert Chen", + "email": "albert.cht@gmail.com" + }], "require": { "php": "^7.1", - "laravel/lumen-framework": "5.3.*|5.4.*|5.5.*|5.6.*|5.7.*" + "laravel/lumen-framework": "5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*" }, "require-dev": { @@ -23,4 +21,4 @@ "AlbertCht\\Lumen\\Testing\\": "src/" } } -} +} \ No newline at end of file diff --git a/src/TestCase.php b/src/TestCase.php index e82cdeb..bbb050f 100644 --- a/src/TestCase.php +++ b/src/TestCase.php @@ -14,14 +14,14 @@ abstract class TestCase extends LumenTestCase Concerns\InteractsWithAuthentication, Concerns\MocksApplicationServices; - static protected $appPath; + protected static $appPath; /** * Setup the test environment. * * @return void */ - public function setUp() + public function setUp(): void { parent::setUp(); $this->appendTraits(); @@ -64,4 +64,4 @@ protected function getAppPath() return static::$appPath; } -} +} \ No newline at end of file