@@ 335-340 (lines=6) @@ | ||
332 | ARRAY_FILTER_USE_BOTH |
|
333 | ); |
|
334 | } |
|
335 | if ( ! $changes && ! $this->askedNoChanges ) { |
|
336 | $this->askedNoChanges = true; |
|
337 | if ( ! $this->askToContinue( $input, $output, 'All changes were duplicates.' ) ) { |
|
338 | return self::NO_CHANGE_EXIT; |
|
339 | } |
|
340 | } |
|
341 | return self::OK_EXIT; |
|
342 | } |
|
343 | ||
@@ 617-622 (lines=6) @@ | ||
614 | return $ret; |
|
615 | } |
|
616 | $anyChangesWithContent = $this->doChangesHaveContent( $input, $output, $changes ); |
|
617 | if ( ! $anyChangesWithContent && ! $this->askedNoChanges ) { |
|
618 | $this->askedNoChanges = true; |
|
619 | if ( ! $this->askToContinue( $input, $output, 'There are no changes with content for this write.' ) ) { |
|
620 | return self::NO_CHANGE_EXIT; |
|
621 | } |
|
622 | } |
|
623 | $amendedVersion = null; // Make phpcs happy. |
|
624 | $ret = $this->doAmendChanges( $input, $output, $changelog, $changes, $amendedVersion ); |
|
625 | if ( self::OK_EXIT !== $ret ) { |