Set minimum PHP version to 8.2 in bin/dep

This commit is contained in:
Anton Medvedev 2024-10-27 20:46:11 +01:00
parent 1ba53fd61e
commit 1aef6db0c3
No known key found for this signature in database

View File

@ -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) {