Completed
Push — master ( c6b8da...8b57b5 )
by Sebastian
20s queued 13s
created
src/Log/Prometheus.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $this->write('# HELP phpbu_backup_success Whether or not the backup succeeded' . PHP_EOL);
88 88
         $this->write('# TYPE phpbu_backup_success gauge' . PHP_EOL);
89 89
         foreach ($event->getResult()->getBackups() as $backupResult) {
90
-            $this->write('phpbu_backup_success{name="' . $backupResult->getName() . '} ' . (int)$backupResult->allOk() . PHP_EOL);
90
+            $this->write('phpbu_backup_success{name="' . $backupResult->getName() . '} ' . (int) $backupResult->allOk() . PHP_EOL);
91 91
         }
92 92
 
93 93
         $this->write(PHP_EOL);
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $this->write('# HELP phpbu_backup_last_run The unix timestamp of the last run' . PHP_EOL);
105 105
         $this->write('# TYPE phpbu_backup_last_run counter' . PHP_EOL);
106 106
         foreach ($this->backupStats as $backupName => $backupStats) {
107
-            $this->write('phpbu_backup_last_run{name="' . $backupName . '} ' . (int)$this->backupStats[$backupName]['lastRun'] . PHP_EOL);
107
+            $this->write('phpbu_backup_last_run{name="' . $backupName . '} ' . (int) $this->backupStats[$backupName]['lastRun'] . PHP_EOL);
108 108
         }
109 109
 
110 110
         $this->write(PHP_EOL);
Please login to merge, or discard this patch.