|
@@ 333-338 (lines=6) @@
|
| 330 |
|
ARRAY_FILTER_USE_BOTH |
| 331 |
|
); |
| 332 |
|
} |
| 333 |
|
if ( ! $changes && ! $this->askedNoChanges ) { |
| 334 |
|
$this->askedNoChanges = true; |
| 335 |
|
if ( ! $this->askToContinue( $input, $output, 'All changes were duplicates.' ) ) { |
| 336 |
|
return self::NO_CHANGE_EXIT; |
| 337 |
|
} |
| 338 |
|
} |
| 339 |
|
return self::OK_EXIT; |
| 340 |
|
} |
| 341 |
|
|
|
@@ 610-615 (lines=6) @@
|
| 607 |
|
return $ret; |
| 608 |
|
} |
| 609 |
|
$anyChangesWithContent = $this->doChangesHaveContent( $input, $output, $changes ); |
| 610 |
|
if ( ! $anyChangesWithContent && ! $this->askedNoChanges ) { |
| 611 |
|
$this->askedNoChanges = true; |
| 612 |
|
if ( ! $this->askToContinue( $input, $output, 'There are no changes with content for this write.' ) ) { |
| 613 |
|
return self::NO_CHANGE_EXIT; |
| 614 |
|
} |
| 615 |
|
} |
| 616 |
|
$amendedVersion = null; // Make phpcs happy. |
| 617 |
|
$ret = $this->doAmendChanges( $input, $output, $changelog, $changes, $amendedVersion ); |
| 618 |
|
if ( self::OK_EXIT !== $ret ) { |