Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 27, 2024
1 parent 6f9c41d commit b4f2109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/RectorConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public function withPhpSets(
bool $php53 = false,
bool $php84 = false, // place on later as BC break when used in php 7.x without named arg
): self {
if ($this->isWithPhpSetsUsed) {
if ($this->isWithPhpSetsUsed === true) {
throw new InvalidConfigurationException(sprintf(
'Method "%s()" can be called only once. It always includes all previous sets UP TO the defined version.%sThe best practise is to call it once with no argument. That way it will pick up PHP version from composer.json and your project will always stay up to date.',
__METHOD__,
Expand Down

0 comments on commit b4f2109

Please sign in to comment.