Skip to content

Commit d5fb764

Browse files
committed
Raised minimum PHP version to 5.5 in autoloader
1 parent 06a4a7c commit d5fb764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/triagens/ArangoDb/Autoloader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ private static function checkEnvironment()
8989
{
9090
list($major, $minor) = explode('.', phpversion());
9191

92-
if ((int) $major < 5 || ((int) $major === 5 && (int) $minor < 3)) {
93-
throw new ClientException('Incompatible PHP environment. Expecting PHP 5.3 or higher');
92+
if ((int) $major < 5 || ((int) $major === 5 && (int) $minor < 5)) {
93+
throw new ClientException('Incompatible PHP environment. Expecting PHP 5.5 or higher');
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)