Skip to content

Commit

Permalink
fix(req-checker): Fix PHP 7.2 compatibility (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Nov 25, 2023
1 parent 01fa11a commit fb17065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirement-checker/rector-src.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

$rectorConfig->sets([
LevelSetList::UP_TO_PHP_72,
// DowngradeLevelSetList::DOWN_TO_PHP_72,
DowngradeLevelSetList::DOWN_TO_PHP_72,
]);
};
4 changes: 2 additions & 2 deletions requirement-checker/src/Checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ private static function createCondition($type, $condition): IsFulfilled
throw new InvalidArgumentException(
sprintf(
'Unknown requirement type "%s".',
$type,
),
$type
)
);
}
}
Expand Down

0 comments on commit fb17065

Please sign in to comment.