diff --git a/.gitignore b/.gitignore index f3ae3118..bf66b2e0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ composer.lock vendor .phpunit.result.cache .php-cs-fixer.cache +.phpunit.cache diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results deleted file mode 100644 index 794e2fd1..00000000 --- a/.phpunit.cache/test-results +++ /dev/null @@ -1 +0,0 @@ -{"version":"pest_2.34.7","defects":{"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_only_the_files":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_using_a_custom_filename":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_includes_files_from_the_local_disks_in_the_backup":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_excludes_the_temporary_directory_from_the_backup":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_using_a_custom_filename_as_option":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_to_a_specific_disk":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_twice_a_day_at_same_time_in_12h_clock":7,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_excludes_the_previous_local_backups_from_the_backup":7,"P\\Tests\\Events\\BackupWasSuccessfulTest::__pest_evaluable_it_will_fire_an_event_after_a_backup_was_completed_successfully":7,"P\\Tests\\Events\\BackupZipWasCreatedTest::__pest_evaluable_it_will_fire_a_backup_zip_was_created_event_when_the_zip_was_created":7},"times":{"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_can_count_all_the_files":0.007,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_will_not_take_into_account_non_zip_files":0.001,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_can_handle_empty_disks":0,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_can_return_all_files_in_order_of_descending_age":0.001,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_will_hold_backup_objects":0,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_can_determine_the_newest_backup":0.001,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_can_determine_the_oldest_backup":0.001,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_can_determine_the_size_of_the_backups":0.001,"P\\Tests\\BackupDestination\\BackupCollectionTest::__pest_evaluable_it_need_a_float_type_size":0.001,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_can_determine_the_disk_of_the_backup":0,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_can_determine_the_path_of_the_backup":0,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_can_get_backup_as_stream_resource":0,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_when_its_unable_to_read_the_stream_throws_exception":0.003,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_can_delete_itself":0.001,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_can_determine_its_size":0,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_can_determine_its_size_even_after_it_has_been_deleted":0,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_push_backup_extra_option_to_write_stream_if_set":0.004,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_push_empty_default_backup_extra_option_to_write_stream_if_not_set":0,"P\\Tests\\BackupDestination\\BackupTest::__pest_evaluable_it_need_a_float_type_size":0,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_only_the_files":0.035,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_using_a_custom_filename":0.008,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_includes_files_from_the_local_disks_in_the_backup":0.006,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_excludes_the_backup_destination_from_the_backup":0.006,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_using_relative_path":0.017,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_using_short_relative_path":0.016,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_excludes_the_temporary_directory_from_the_backup":0.007,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_using_a_custom_filename_as_option":0.008,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_to_a_specific_disk":0.007,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_selectively_backup_db":0.257,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_backup_twice_a_day_at_same_time_in_12h_clock":0.007,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_will_fail_when_try_to_backup_only_the_files_and_only_the_db":0.004,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_will_fail_when_trying_to_backup_a_non_existing_database":0.004,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_will_fail_when_trying_to_backup_to_an_non_existing_diskname":0.004,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_will_fail_when_there_are_no_files_to_be_backed_up":0.006,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_avoid_full_path_on_database_backup":0.071,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_appends_the_database_type_to_backup_file_name_to_prevent_overwrite":0.126,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_renames_database_dump_file_extension_when_specified":0.125,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_appends_timestamp_to_database_backup_file_name":0.067,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_should_trigger_the_backup_failed_event":0.006,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_should_omit_the_backup_failed_event_with_no_notifications_flag":0.006,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_compresses_the_database_dump":0.016,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_will_encrypt_backup_when_notifications_are_disabled":0.108,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_can_use_different_compression_methods_for_backup_file":0.135,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_excludes_the_previous_local_backups_from_the_backup":0.008,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_should_try_again_after_encountering_an_exception_when_using_the_tries_argument":0.008,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_should_try_again_after_encountering_an_exception_when_using_the_tries_configuration_option":0.011,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_should_wait_before_trying_again_when_retry__delay_is_configured__with_Sleep_helper_":0.01,"P\\Tests\\Commands\\BackupCommandTest::__pest_evaluable_it_uses_connection_name_in_place_of_database_name_for_dump_filename":0.067,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_can_remove_old_backups_until_using_less_than_maximum_storage":0.007,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_can_remove_old_backups_from_the_backup_directory":0.4,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_will_leave_non_zip_files_alone":0.007,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_will_never_delete_the_newest_backup":0.005,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_should_trigger_the_cleanup_successful_event":0.005,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_should_omit_the_cleanup_successful_event_when_the_notifications_are_disabled":0.005,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_should_display_correct_used_storage_amount_after_cleanup":0.01,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_should_try_again_after_encountering_an_exception_when_using_the_tries_argument":0.005,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_should_try_again_after_encountering_an_exception_when_using_the_tries_configuration_option":0.005,"P\\Tests\\Commands\\CleanupCommandTest::__pest_evaluable_it_should_wait_before_trying_again_when_retry__delay_is_configured__with_Sleep_helper_":0.005,"P\\Tests\\Commands\\ListCommandTest::__pest_evaluable_it_can_run_the_list_command":0.007,"P\\Tests\\Commands\\MonitorCommandTest::__pest_evaluable_it_can_run_the_monitor_command":0.068,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_create_instances_of_mysql_and_pgsql_and_mongodb":0.001,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_create_sqlite_instance":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_create_mongodb_instance":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_create_instance_from_database_url":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_will_use_the_read_db_when_one_is_defined":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_will_use_the_first_read_db_when_multiple_are_defined":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_will_throw_an_exception_when_creating_an_unknown_type_of_dumper":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_add_named_options_to_the_dump_command":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_add_named_options_with_an_array_value_to_the_dump_command":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_add_arbritrary_options_to_the_dump_command":0,"P\\Tests\\DbDumperFactoryTest::__pest_evaluable_it_can_create_instances_of_custom_dumpers":0,"P\\Tests\\Events\\BackupHasFailedTest::__pest_evaluable_it_will_fire_an_event_when_a_backup_has_failed":0.01,"P\\Tests\\Events\\BackupHasFailedTest::__pest_evaluable_it_will_fire_a_backup_failed_event_when_there_are_no_files_or_databases_to_be_backed_up":0.009,"P\\Tests\\Events\\BackupManifestWasCreatedTest::__pest_evaluable_it_will_fire_a_backup_manifest_was_created_event_when_the_manifest_was_created":0.01,"P\\Tests\\Events\\BackupWasSuccessfulTest::__pest_evaluable_it_will_fire_an_event_after_a_backup_was_completed_successfully":0.012,"P\\Tests\\Events\\BackupZipWasCreatedTest::__pest_evaluable_it_will_fire_a_backup_zip_was_created_event_when_the_zip_was_created":0.012,"P\\Tests\\Events\\CleanupHasFailedTest::__pest_evaluable_it_will_fire_an_event_when_a_cleanup_has_failed":0.004,"P\\Tests\\Events\\CleanupWasSuccessfulTest::__pest_evaluable_it_will_fire_an_event_after_a_cleanup_was_completed_successfully":0.005,"P\\Tests\\Events\\DumpingDatabaseTest::__pest_evaluable_it_will_fire_a_dumping_database_event":0.016,"P\\Tests\\Events\\UnhealthyBackupWasFoundTest::__pest_evaluable_it_will_fire_an_event_on_failed_health_check":0.006,"P\\Tests\\Events\\UnhealthyBackupWasFoundTest::__pest_evaluable_it_sends_an_notification_containing_the_exception_message_for_handled_health_check_errors":0.007,"P\\Tests\\Events\\UnhealthyBackupWasFoundTest::__pest_evaluable_it_sends_an_notification_containing_the_exception_for_unexpected_health_check_errors":0.005,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_can_select_all_the_files_in_a_directory_and_subdirectories":0,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_can_exclude_files_from_a_given_subdirectory":0,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_can_exclude_files_with_wildcards_from_a_given_subdirectory":0.001,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_can_select_files_from_multiple_directories":0,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_can_exclude_files_from_multiple_directories":0.001,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_returns_an_empty_array_when_not_specifying_any_directories":0,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_returns_an_empty_array_if_everything_is_excluded":0,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_can_select_a_single_file":0,"P\\Tests\\FileSelectionTest::__pest_evaluable_it_provides_a_factory_method":0,"P\\Tests\\FormatTest::__pest_evaluable_it_can_determine_a_human_readable_filesize":0,"P\\Tests\\FormatTest::__pest_evaluable_it_can_determine_the_age_in_days":0.001,"P\\Tests\\HealthChecks\\IsReachableTest::__pest_evaluable_it_succeeds_when_destination_is_reachable":0.004,"P\\Tests\\HealthChecks\\IsReachableTest::__pest_evaluable_it_fails_when_backup_destination_is_not_reachable":0.005,"P\\Tests\\HealthChecks\\MaximumAgeInDaysTest::__pest_evaluable_it_succeeds_when_a_fresh_backup_present":0.005,"P\\Tests\\HealthChecks\\MaximumAgeInDaysTest::__pest_evaluable_it_fails_when_no_backups_are_present":0.005,"P\\Tests\\HealthChecks\\MaximumAgeInDaysTest::__pest_evaluable_it_fails_when_max_days_has_been_exceeded":0.006,"P\\Tests\\HealthChecks\\MaximumAgeInDaysTest::__pest_evaluable_it_accepts_a_shorthand_value_in_config":0.005,"P\\Tests\\HealthChecks\\MaximumStorageInMegabytesTest::__pest_evaluable_it_succeeds_when_a_fresh_backup_is_present":0.006,"P\\Tests\\HealthChecks\\MaximumStorageInMegabytesTest::__pest_evaluable_it_fails_when_max_mb_has_been_exceeded":0.005,"P\\Tests\\Listeners\\EncryptBackupArchiveTest::__pest_evaluable_it_keeps_archive_unencrypted_without_password":0.001,"P\\Tests\\Listeners\\EncryptBackupArchiveTest::__pest_evaluable_it_encrypts_archive_with_password#(257)":0.004,"P\\Tests\\Listeners\\EncryptBackupArchiveTest::__pest_evaluable_it_encrypts_archive_with_password#(258)":0.006,"P\\Tests\\Listeners\\EncryptBackupArchiveTest::__pest_evaluable_it_encrypts_archive_with_password#(259)":0.008,"P\\Tests\\Listeners\\EncryptBackupArchiveTest::__pest_evaluable_it_can_not_open_encrypted_archive_without_password":0.004,"P\\Tests\\ManifestTest::__pest_evaluable_it_will_create_an_empty_file_when_it_is_instantiated":0,"P\\Tests\\ManifestTest::__pest_evaluable_it_provides_a_factory_method":0,"P\\Tests\\ManifestTest::__pest_evaluable_it_can_determine_its_own_path":0,"P\\Tests\\ManifestTest::__pest_evaluable_it_can_count_the_amount_of_files_in_it":0,"P\\Tests\\ManifestTest::__pest_evaluable_it_implements_the_countable_interface":0,"P\\Tests\\ManifestTest::__pest_evaluable_a_file_can_be_added_to_it":0,"P\\Tests\\ManifestTest::__pest_evaluable_an_array_of_files_can_be_added_to_it":0,"P\\Tests\\ManifestTest::__pest_evaluable_it_will_not_add_an_empty_path":0,"P\\Tests\\ManifestTest::__pest_evaluable_it_can_return_a_generator_to_loop_over_all_the_files_in_the_manifest":0,"P\\Tests\\Notifications\\EventHandlerTest::__pest_evaluable_it_will_send_a_notification_by_default_when_a_backup_has_failed":0,"P\\Tests\\Notifications\\EventHandlerTest::__pest_evaluable_it_will_send_a_notification_via_the_configured_notification_channels#(['mail'])":0,"P\\Tests\\Notifications\\EventHandlerTest::__pest_evaluable_it_will_send_a_notification_via_the_configured_notification_channels#(['mail', 'slack'])":0,"P\\Tests\\Notifications\\EventHandlerTest::__pest_evaluable_it_will_send_a_notification_via_the_configured_notification_channels#(['mail', 'slack', 'discord'])":0.005,"P\\Tests\\Notifications\\EventHandlerTest::__pest_evaluable_it_it_will_send_backup_failed_notification_once":0.043,"P\\Tests\\Notifications\\EventHandlerTest::__pest_evaluable_it_it_will_send_backup_failed_notification_once_with_retries":0.046,"P\\Tests\\ZipTest::__pest_evaluable_it_can_create_a_zip_file":0,"P\\Tests\\ZipTest::__pest_evaluable_it_can_report_its_own_size":0.001}} \ No newline at end of file