From 194d98a887f80bf2104a245d8687122427aee810 Mon Sep 17 00:00:00 2001 From: rowasc Date: Tue, 24 Sep 2019 23:06:55 -0300 Subject: [PATCH] style(verifier): fix linter issues --- app/PlatformVerifier/Env.php | 3 ++- tests/unit/App/PlatformVerifier/EnvTest.php | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/PlatformVerifier/Env.php b/app/PlatformVerifier/Env.php index e6c3bd7545..3d3e0efc10 100644 --- a/app/PlatformVerifier/Env.php +++ b/app/PlatformVerifier/Env.php @@ -9,7 +9,8 @@ class Env { private static $NO_ENV = "Required environment variables missing and no environment file found."; - private static $NO_ENV_EXPLAINER = "Please copy the '.env.example' file into a file named '.env' and set your missing variables."; + private static $NO_ENV_EXPLAINER = "Please copy the '.env.example' file into a file named '.env' " . + "and set your missing variables."; private static $REQUIRED_ENV_KEYS = [ "DB_CONNECTION" => "Please set `DB_CONNECTION=mysql` in the environment or .env file.", "DB_HOST" => "Please set the address of your database in the DB_HOST key", diff --git a/tests/unit/App/PlatformVerifier/EnvTest.php b/tests/unit/App/PlatformVerifier/EnvTest.php index e2347ebc49..83b4132548 100644 --- a/tests/unit/App/PlatformVerifier/EnvTest.php +++ b/tests/unit/App/PlatformVerifier/EnvTest.php @@ -46,7 +46,8 @@ public function testMissingEnvFileError() $this->assertGreaterThanOrEqual(2, count($errors)); $this->assertContains([ 'message' => 'Required environment variables missing and no environment file found.', - 'explainer' => "Please copy the '.env.example' file into a file named '.env' and set your missing variables." + 'explainer' => "Please copy the '.env.example' file into a file named '.env' " . + "and set your missing variables." ], $errors); } @@ -62,7 +63,8 @@ public function testSuccessEnvKeys() $this->assertEquals(['success' => [ [ - 'message' => 'Good job! you have configured your system environment and/or .env file with all the required keys.', + 'message' => 'Good job! you have configured your system environment and/or .env file ' . + 'with all the required keys.', 'explainer' => null ] ]], $result);