Test Setup Failed
Push — develop ( fb72f9...afdb67 )
by Joseph
03:04
created
tests/EditDouble.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $this->info('Plaintext contents: ' . $contents);
22 22
 
23
-        if($this->option('append')) {
23
+        if ($this->option('append')) {
24 24
             $contents = trim($contents . " " . $this->option('append'));
25 25
         }
26 26
 
Please login to merge, or discard this patch.
tests/DecryptTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function testDecryptMissingFile()
25 25
     {
26 26
         // Make sure no file is present
27
-        if(file_exists($this->getFilePathForEnvironment('testing'))) {
27
+        if (file_exists($this->getFilePathForEnvironment('testing'))) {
28 28
             unlink($this->getFilePathForEnvironment('testing'));
29 29
         }
30 30
 
Please login to merge, or discard this patch.
tests/EditTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function testEditEmptyFile()
14 14
     {
15 15
         // Make sure no file is present
16
-        if(file_exists($this->getFilePathForEnvironment('testing'))) {
16
+        if (file_exists($this->getFilePathForEnvironment('testing'))) {
17 17
             unlink($this->getFilePathForEnvironment('testing'));
18 18
         }
19 19
 
Please login to merge, or discard this patch.
src/EnvSecurityServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
     protected function verifyDirectory()
58 58
     {
59 59
         try {
60
-            if (! is_dir(config('env-security.store'))) {
61
-                if (! mkdir(config('env-security.store'))) {
60
+            if (!is_dir(config('env-security.store'))) {
61
+                if (!mkdir(config('env-security.store'))) {
62 62
                     throw new RuntimeException(
63 63
                         sprintf('Error creating the cipertext directory - %s', config('env-security.store'))
64 64
                     );
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     public function register()
97 97
     {
98
-        $this->app->singleton(EnvSecurityManager::class, function () {
98
+        $this->app->singleton(EnvSecurityManager::class, function() {
99 99
             return new EnvSecurityManager($this->app);
100 100
         });
101 101
         $this->app->alias(EnvSecurityManager::class, 'sts.env-security');
Please login to merge, or discard this patch.
src/Console/Edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
      */
98 98
     protected function loadEnvContents()
99 99
     {
100
-        if($ciphertext = $this->loadEncrypted($this->environment())) {
100
+        if ($ciphertext = $this->loadEncrypted($this->environment())) {
101 101
             return $this->envSecurity->decrypt($ciphertext);
102 102
         }
103 103
 
Please login to merge, or discard this patch.