@@ -49,7 +49,7 @@ |
||
| 49 | 49 | 'mongodump' => [], |
| 50 | 50 | 'mysqldump' => [ |
| 51 | 51 | '/usr/local/mysql/bin', // Mac OS X |
| 52 | - '/usr/mysql/bin', // Linux |
|
| 52 | + '/usr/mysql/bin', // Linux |
|
| 53 | 53 | ], |
| 54 | 54 | 'tar' => [], |
| 55 | 55 | ]; |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function __construct(Runner $runner = null) |
| 41 | 41 | { |
| 42 | - $this->runner = $runner ? : new Runner\Simple(); |
|
| 42 | + $this->runner = $runner ?: new Runner\Simple(); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
@@ -478,7 +478,7 @@ |
||
| 478 | 478 | $html .= '<tr>' . |
| 479 | 479 | '<td ' . sprintf(TPL::getSnippet('sTableBackupStatusColumn'), $color) . ' colspan="4">' . |
| 480 | 480 | sprintf('backup <em>%s</em>', $backup->getName()) . |
| 481 | - ' <span ' . TPL::getSnippet('sTableBackupStatusText') . '>' . $status . '</span>'. |
|
| 481 | + ' <span ' . TPL::getSnippet('sTableBackupStatusText') . '>' . $status . '</span>' . |
|
| 482 | 482 | '</td>' . |
| 483 | 483 | '</tr>' . |
| 484 | 484 | '<tr>' . |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | $pathRegex = Util\Path::datePlaceholdersToRegex($rawPath); |
| 63 | 63 | $pathRegex .= $pathRegex ? '/' : ''; |
| 64 | 64 | $fileRegex = Util\Path::datePlaceholdersToRegex($this->target->getFilenameRaw()); |
| 65 | - return preg_match('#'.$pathRegex . $fileRegex . '$#i', $targetPath); |
|
| 65 | + return preg_match('#' . $pathRegex . $fileRegex . '$#i', $targetPath); |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | protected function isFilenameMatch(string $filename): bool |
| 75 | 75 | { |
| 76 | - return preg_match('#'.$this->fileRegex . '#i', $filename); |
|
| 76 | + return preg_match('#' . $this->fileRegex . '#i', $filename); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |