Skip to content

Commit 1aef6db

Browse files
committed
Set minimum PHP version to 8.2 in bin/dep
1 parent 1ba53fd commit 1aef6db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/dep

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
* file that was distributed with this source code.
77
*/
88

9+
// Check PHP version
10+
if (PHP_VERSION_ID < 80200) {
11+
fwrite(STDERR, "PHP 8.2 or higher is required.\n");
12+
exit(1);
13+
}
14+
915
// Detect deploy.php location
1016
$deployFile = null;
1117
foreach ($argv as $i => $arg) {

0 commit comments

Comments
 (0)