@@ -112,9 +112,9 @@ public function __construct(bool $verbose = false, bool $colors = false, bool $d
112
112
{
113
113
$ this ->console = new Console ;
114
114
$ this ->runtime = new Runtime ;
115
- $ this ->debug = $ debug ;
115
+ $ this ->debug = $ debug ;
116
116
$ this ->verbose = $ verbose ;
117
- $ this ->colors = $ colors && $ this ->console ->hasColorSupport ();
117
+ $ this ->colors = $ colors && $ this ->console ->hasColorSupport ();
118
118
}
119
119
120
120
/**
@@ -194,7 +194,7 @@ public function write($buffer): void
194
194
*/
195
195
public function onBackupStart (Event \Backup \Start $ event ): void
196
196
{
197
- $ this ->numBackups ++;
197
+ $ this ->numBackups ++;
198
198
if ($ this ->debug ) {
199
199
$ backup = $ event ->getConfiguration ();
200
200
$ this ->writeWithAsterisk ('backup: [ ' . $ backup ->getSource ()->type . '] ' );
@@ -257,7 +257,7 @@ public function onBackupEnd(Event\Backup\End $event): void
257
257
*/
258
258
public function onCheckStart (Event \Check \Start $ event ): void
259
259
{
260
- $ this ->numChecks ++;
260
+ $ this ->numChecks ++;
261
261
if ($ this ->debug ) {
262
262
$ check = $ event ->getConfiguration ();
263
263
$ this ->writeWithAsterisk ('check: [ ' . $ check ->type . '] ' );
@@ -298,7 +298,7 @@ public function onCheckEnd(Event\Check\End $event): void
298
298
*/
299
299
public function onCryptStart (Event \Crypt \Start $ event ): void
300
300
{
301
- $ this ->numCrypts ++;
301
+ $ this ->numCrypts ++;
302
302
if ($ this ->debug ) {
303
303
$ crypt = $ event ->getConfiguration ();
304
304
$ this ->writeWithAsterisk ('crypt: [ ' . $ crypt ->type . '] ' );
@@ -348,7 +348,7 @@ public function onCryptEnd(Event\Crypt\End $event): void
348
348
*/
349
349
public function onSyncStart (Event \Sync \Start $ event ): void
350
350
{
351
- $ this ->numSyncs ++;
351
+ $ this ->numSyncs ++;
352
352
if ($ this ->debug ) {
353
353
$ sync = $ event ->getConfiguration ();
354
354
$ this ->writeWithAsterisk ('sync: [ ' . $ sync ->type . '] ' );
@@ -398,7 +398,7 @@ public function onSyncEnd(Event\Sync\End $event): void
398
398
*/
399
399
public function onCleanupStart (Event \Cleanup \Start $ event ): void
400
400
{
401
- $ this ->numCleanups ++;
401
+ $ this ->numCleanups ++;
402
402
if ($ this ->debug ) {
403
403
$ cleanup = $ event ->getConfiguration ();
404
404
$ this ->writeWithAsterisk ('cleanup: [ ' . $ cleanup ->type . '] ' );
@@ -567,16 +567,16 @@ protected function printBackupVerbose(Result\Backup $backup): void
567
567
);
568
568
}
569
569
$ chExecuted = str_pad ($ backup ->checkCount (), 8 , ' ' , STR_PAD_LEFT );
570
- $ chFailed = str_pad ($ backup ->checkCountFailed (), 6 , ' ' , STR_PAD_LEFT );
570
+ $ chFailed = str_pad ($ backup ->checkCountFailed (), 6 , ' ' , STR_PAD_LEFT );
571
571
$ crExecuted = str_pad ($ backup ->cryptCount (), 8 , ' ' , STR_PAD_LEFT );
572
- $ crSkipped = str_pad ($ backup ->cryptCountSkipped (), 7 , ' ' , STR_PAD_LEFT );
573
- $ crFailed = str_pad ($ backup ->cryptCountFailed (), 6 , ' ' , STR_PAD_LEFT );
572
+ $ crSkipped = str_pad ($ backup ->cryptCountSkipped (), 7 , ' ' , STR_PAD_LEFT );
573
+ $ crFailed = str_pad ($ backup ->cryptCountFailed (), 6 , ' ' , STR_PAD_LEFT );
574
574
$ syExecuted = str_pad ($ backup ->syncCount (), 8 , ' ' , STR_PAD_LEFT );
575
- $ sySkipped = str_pad ($ backup ->syncCountSkipped (), 7 , ' ' , STR_PAD_LEFT );
576
- $ syFailed = str_pad ($ backup ->syncCountFailed (), 6 , ' ' , STR_PAD_LEFT );
575
+ $ sySkipped = str_pad ($ backup ->syncCountSkipped (), 7 , ' ' , STR_PAD_LEFT );
576
+ $ syFailed = str_pad ($ backup ->syncCountFailed (), 6 , ' ' , STR_PAD_LEFT );
577
577
$ clExecuted = str_pad ($ backup ->cleanupCount (), 8 , ' ' , STR_PAD_LEFT );
578
- $ clSkipped = str_pad ($ backup ->cleanupCountSkipped (), 7 , ' ' , STR_PAD_LEFT );
579
- $ clFailed = str_pad ($ backup ->cleanupCountFailed (), 6 , ' ' , STR_PAD_LEFT );
578
+ $ clSkipped = str_pad ($ backup ->cleanupCountSkipped (), 7 , ' ' , STR_PAD_LEFT );
579
+ $ clFailed = str_pad ($ backup ->cleanupCountFailed (), 6 , ' ' , STR_PAD_LEFT );
580
580
581
581
$ out = PHP_EOL . ' | executed | skipped | failed | ' . PHP_EOL
582
582
. '----------+----------+---------+--------+ ' . PHP_EOL
0 commit comments