PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backup, Restore, Migration & Clone / 4.9.2
WP STAGING – WordPress Backup, Restore, Migration & Clone v4.9.2
4.9.2 4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / Backup / BackupGlitchReason.php
wp-staging / Backup Last commit date
Ajax 1 day ago BackgroundProcessing 1 year ago Dto 2 weeks ago Entity 2 weeks ago Exceptions 1 year ago FileHeader 1 month ago Interfaces 7 months ago Job 2 months ago Request 1 year ago Service 1 day ago Storage 1 month ago Task 1 day ago Traits 10 months ago Utils 3 months ago AfterRestore.php 5 months ago BackupDeleter.php 2 months ago BackupDownload.php 8 months ago BackupFileIndex.php 1 year ago BackupGlitchReason.php 1 year ago BackupHeader.php 1 month ago BackupRepairer.php 7 months ago BackupRetentionHandler.php 1 month ago BackupScheduler.php 2 weeks ago BackupServiceProvider.php 2 months ago BackupValidator.php 7 months ago FileHeader.php 2 weeks ago FileHeaderAttribute.php 2 years ago WithBackupIdentifier.php 1 year ago
BackupGlitchReason.php
20 lines
1 <?php
2
3 namespace WPStaging\Backup;
4
5 /**
6 * This class is responsible for holding the glitch reasons for the backup process.
7 * Glitch is something that unexpected happened during the backup process but was automatically fixed.
8 * Analytics are hard to track, that is why we use `Glitch Modal` so user can explicitly report us when this happens.
9 *
10 * @todo Refactor the slow backup creation logic to use the `Glitch` class and set the reason in FinishBackupTask
11 */
12 class BackupGlitchReason
13 {
14 /** @var string */
15 const SLOW_BACKUP_CREATION = 'REASON_SLOW_BACKUP_CREATION';
16
17 /** @var string */
18 const WRONG_TOTAL_FILES_COUNT = 'REASON_WRONG_TOTAL_FILES_COUNT';
19 }
20