Skip to content

Commit

Permalink
[VersionBonding] Update rector warning message for min PHP version pr…
Browse files Browse the repository at this point in the history
…oject (#572)
  • Loading branch information
samsonasik committed Aug 2, 2021
1 parent b34ff8c commit 2c71aa6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@ private function reportWarningMessage(int $minProjectPhpVersion, array $minPhpVe
$phpVersion = new PhpVersion($minProjectPhpVersion);

$warningMessage = sprintf(
'Your project requires min PHP version "%s".%s%d Rectors require higher PHP version and will not run,%sto avoid breaking your codebase.',
'Your project requires min PHP version "%s".%s%d%sSome Rectors rules defined in your configuration require higher PHP version and will not run,%sto avoid breaking your codebase.',
$phpVersion->getVersionString(),
count($minPhpVersions),
PHP_EOL,
PHP_EOL . PHP_EOL,
PHP_EOL
);
$this->symfonyStyle->warning($warningMessage);
Expand Down

0 comments on commit 2c71aa6

Please sign in to comment.