diff --git a/.travis.yml b/.travis.yml index 7a96344..52e5cb6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 env: matrix: diff --git a/composer.json b/composer.json index 0d182eb..ad3e951 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^7.1", + "php": "^7.1|^8.0", "illuminate/encryption": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0" }, "require-dev": { diff --git a/src/EditCredentialsCommand.php b/src/EditCredentialsCommand.php index efb7aad..f26fe66 100644 --- a/src/EditCredentialsCommand.php +++ b/src/EditCredentialsCommand.php @@ -39,7 +39,7 @@ public function handle(Credentials $credentials) fwrite($handle, json_encode($decrypted, JSON_PRETTY_PRINT | JSON_FORCE_OBJECT)); - $editor = config('credential.editor', 'vi'); + $editor = config('credentials.editor', 'vi'); $process = new Process([$editor, $meta['uri']]);