@@ 496-498 (lines=3) @@ | ||
493 | $output->writeln( "Cannot compare $version with $curver: {$ex->getMessage()}", OutputInterface::VERBOSITY_DEBUG ); |
|
494 | $cmp = 1; |
|
495 | } |
|
496 | if ( $cmp < 0 && ! $this->askToContinue( $input, $output, "The most recent version in the changelog is $curver, which comes after $version." ) ) { |
|
497 | return self::ASKED_EXIT; |
|
498 | } |
|
499 | if ( 0 === $cmp && ! $this->askToContinue( $input, $output, "The most recent version in the changelog is $curver, which is equivalent to $version." ) ) { |
|
500 | return self::ASKED_EXIT; |
|
501 | } |
|
@@ 499-501 (lines=3) @@ | ||
496 | if ( $cmp < 0 && ! $this->askToContinue( $input, $output, "The most recent version in the changelog is $curver, which comes after $version." ) ) { |
|
497 | return self::ASKED_EXIT; |
|
498 | } |
|
499 | if ( 0 === $cmp && ! $this->askToContinue( $input, $output, "The most recent version in the changelog is $curver, which is equivalent to $version." ) ) { |
|
500 | return self::ASKED_EXIT; |
|
501 | } |
|
502 | } |
|
503 | return $version; |
|
504 | } |