diff --git a/CHANGELOG.md b/CHANGELOG.md index 737cf60..5271fe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `laravel-artisan-dd` will be documented in this file +## 2.1.0 - 2018-02-27 + +- drop support for PHP 7.1 + ## 2.0.3 - 2018-02-27 - add support for Laravel 5.8 diff --git a/composer.json b/composer.json index 082133d..a1e7d7b 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ } ], "require": { - "php": "^7.1", + "php": "^7.2", "laravel/framework": "~5.8.0" }, "require-dev": { "orchestra/testbench": "~3.8.0", - "phpunit/phpunit": "^7.0" + "phpunit/phpunit": "^8.0" }, "autoload": { "psr-4": { diff --git a/tests/DdCommandTest.php b/tests/DdCommandTest.php index 90f2116..28de301 100644 --- a/tests/DdCommandTest.php +++ b/tests/DdCommandTest.php @@ -9,7 +9,7 @@ class DdCommandTest extends TestCase /** @test */ public function it_will_not_run_if_the_environment_is_not_local() { - Artisan::call('dd', ['code' => 'app()->environment()']); + Artisan::call('dd "app()->environment()"'); $this->seeInConsoleOutput('This command can only run if'); }