Completed
Push — master ( 741f1a...42bbb8 )
by Bernhard
03:50
created
src/Helper/SelfCheck.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * Constants being needed
41 41
      */
42 42
     const AUTO_SELF_CHECK_TIMESTAMP_FILE = 'last_auto_selfcheck_timestamp';
43
-    const AUTO_SELF_CHECK_DELAY = 24*60*60;
43
+    const AUTO_SELF_CHECK_DELAY = 24 * 60 * 60;
44 44
 
45 45
     /**
46 46
      * Makes an auto-self check but buffers for a certain amount of time
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
     public static function autoCheck(Application $application)
55 55
     {
56 56
         $storage = StorageFactory::getStorage();
57
-        $lastCheckTimestampFilepath = dirname($storage->getLogFilePath()) .
58
-            DIRECTORY_SEPARATOR .
57
+        $lastCheckTimestampFilepath = dirname($storage->getLogFilePath()).
58
+            DIRECTORY_SEPARATOR.
59 59
             static::AUTO_SELF_CHECK_TIMESTAMP_FILE;
60 60
         $lastCheckTimestamp = (int) file_get_contents($lastCheckTimestampFilepath);
61 61
         if ($lastCheckTimestamp < time() - static::AUTO_SELF_CHECK_DELAY) {
Please login to merge, or discard this patch.
src/Command/SelfCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     {
85 85
         try {
86 86
             $client = new PackagistClient();
87
-            $package = $client->get(static::PACKAGE_VENDOR . '/' . strtolower($this->getApplication()->getName()));
87
+            $package = $client->get(static::PACKAGE_VENDOR.'/'.strtolower($this->getApplication()->getName()));
88 88
         } catch (ConnectException $e) {
89 89
             $output->writeln('<comment>Could not check for available new versions. Are you offline?.</comment>');
90 90
             return 1;
Please login to merge, or discard this patch.