Skip to content

Commit

Permalink
make complete method public for 2fm-admin upgrade as requested throug…
Browse files Browse the repository at this point in the history
…h composer update
  • Loading branch information
jocoDomino committed May 18, 2023
1 parent 5e4527f commit 11f30cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor/
.idea/
.phpunit.result.cache
2 changes: 1 addition & 1 deletion .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":1,"defects":{"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_has_a_name":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_was_started":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_started":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_completed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_gets_a_command_record_by_name":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_been_requested":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_how_many_times_a_command_has_been_requested":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_in_progress_if_it_has_started_but_not_completed_or_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_not_started_or_it_has_completed_or_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_completed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_has_not_completed_if_it_has_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_retrieves_the_number_of_times_that_a_command_has_completed":4,"Warning":6},"times":{"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_has_a_name":0.335,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_was_started":0.022,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_started":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_completed":0.008,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_failed":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_gets_a_command_record_by_name":0.01,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_been_requested":0.01,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_how_many_times_a_command_has_been_requested":0.012,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_in_progress_if_it_has_started_but_not_completed_or_failed":0.012,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_not_started_or_it_has_completed_or_failed":0.011,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_failed":0.011,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_completed":0.011,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_has_not_completed_if_it_has_failed":0.011,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_retrieves_the_number_of_times_that_a_command_has_completed":0.014,"Warning":0.006}}
{"version":1,"defects":{"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_has_a_name":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_was_started":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_started":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_completed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_gets_a_command_record_by_name":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_been_requested":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_how_many_times_a_command_has_been_requested":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_in_progress_if_it_has_started_but_not_completed_or_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_not_started_or_it_has_completed_or_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_completed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_has_not_completed_if_it_has_failed":4,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_retrieves_the_number_of_times_that_a_command_has_completed":4,"Warning":6},"times":{"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_has_a_name":0.356,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_was_started":0.022,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_started":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_the_command_has_completed":0.01,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_records_the_time_at_which_the_command_failed":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_gets_a_command_record_by_name":0.011,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_been_requested":0.011,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_how_many_times_a_command_has_been_requested":0.01,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_in_progress_if_it_has_started_but_not_completed_or_failed":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_not_started_or_it_has_completed_or_failed":0.01,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_is_not_in_progress_if_it_has_failed":0.01,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_checks_if_a_command_has_completed":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::a_command_has_not_completed_if_it_has_failed":0.009,"Konsulting\\Laravel\\MonitoredCommands\\Tests\\CommandRecordTest::it_retrieves_the_number_of_times_that_a_command_has_completed":0.01,"Warning":0.006}}
2 changes: 1 addition & 1 deletion src/MonitoredCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ protected function hasRunTooManyTimes()
* @param string $message
* @return bool
*/
protected function complete($message = '')
public function complete($message = '')
{
$message = $this->stringFromMessage($message);
$this->output->success($message);
Expand Down

0 comments on commit 11f30cc

Please sign in to comment.