prep for php8, minimum requirements php7.2, phpunit 8

This commit is contained in:
Milos Stojanovic
2021-02-04 14:31:41 +01:00
parent cfa32285f6
commit 73ea87a039
6 changed files with 1368 additions and 816 deletions

4
dist/index.php vendored
View File

@@ -9,8 +9,8 @@
* file that was distributed with this source code.
*/
if (version_compare(PHP_VERSION, '7.1.3', '<')) {
echo 'Minimum requirement is PHP 7.1.3. You are using: '.PHP_VERSION."\n";
if (version_compare(PHP_VERSION, '7.2', '<')) {
echo 'Minimum requirement is PHP 7.2 You are using: '.PHP_VERSION."\n";
die;
}