Skip to content

Commit

Permalink
Fix English typo "A invalid version constraint"
Browse files Browse the repository at this point in the history
To "An invalid version constraint"
  • Loading branch information
Derky authored Jun 19, 2016
1 parent 2098836 commit eb76873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tests/Tests/epv_test_validate_composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private function validateVersion(ComposerFileInterface $file)
if (preg_match($regex, $json['extra']['soft-require']['phpbb/phpbb']))
{
$replace = preg_replace($regex, '$1$2', $json['extra']['soft-require']['phpbb/phpbb']);;
$this->addMessageIfBooleanTrue(true, Output::ERROR, sprintf('A invalid version constraint is used in soft-require: phpbb/phpbb. You can\'t combine a <|<=|~|\^|>|>= with a *|x. Please replace %s with %s', $json['extra']['soft-require']['phpbb/phpbb'], $replace));
$this->addMessageIfBooleanTrue(true, Output::ERROR, sprintf('An invalid version constraint is used in soft-require: phpbb/phpbb. You can\'t combine a <|<=|~|\^|>|>= with a *|x. Please replace %s with %s', $json['extra']['soft-require']['phpbb/phpbb'], $replace));
}
}
}
Expand Down

0 comments on commit eb76873

Please sign in to comment.