Skip to content

Commit

Permalink
Set minimum PHP version to 8.2 in bin/dep
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 27, 2024
1 parent 1ba53fd commit 1aef6db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/dep
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
* file that was distributed with this source code.
*/

// Check PHP version
if (PHP_VERSION_ID < 80200) {
fwrite(STDERR, "PHP 8.2 or higher is required.\n");
exit(1);
}

// Detect deploy.php location
$deployFile = null;
foreach ($argv as $i => $arg) {
Expand Down

0 comments on commit 1aef6db

Please sign in to comment.