Skip to content

Commit 11f30cc

Browse files
committed
make complete method public for 2fm-admin upgrade as requested through composer update
1 parent 5e4527f commit 11f30cc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
vendor/
22
.idea/
3+
.phpunit.result.cache

.phpunit.result.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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}}
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.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}}

src/MonitoredCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ protected function hasRunTooManyTimes()
182182
* @param string $message
183183
* @return bool
184184
*/
185-
protected function complete($message = '')
185+
public function complete($message = '')
186186
{
187187
$message = $this->stringFromMessage($message);
188188
$this->output->success($message);

0 commit comments

Comments
 (0)