From 16fa2bf28cf91d06878957fdc83759f26b8a1d64 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 27 Dec 2020 18:25:37 +0300 Subject: [PATCH] feat(core): Moving to PHP 7.4.0 #524 --- .github/workflows/tests.yml | 2 +- README.md | 2 +- composer.json | 2 +- index.php | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index af717269..0e962caa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - php: ['7.3', '7.4', '8.0'] + php: ['7.4', '8.0'] dependency-version: [prefer-stable] steps: diff --git a/README.md b/README.md index bb57085e..c8dc1892 100755 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The underlying architecture of Flextype is built using well established and best Make sure your server meets the following requirements. * Webserver (Apache with Mod Rewrite) -* PHP 7.3.0 or higher +* PHP 7.4.0 or higher #### PHP EXTENSIONS Flextype needs the following PHP extensions to be enabled: diff --git a/composer.json b/composer.json index 499c220e..8d9dc155 100755 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "issues": "https://github.com/flextype/flextype/issues" }, "require": { - "php": "^7.3 || ^8.0", + "php": "^7.4 || ^8.0", "ext-json": "*", "ext-dom": "*", "ext-spl": "*", diff --git a/index.php b/index.php index 14b9a206..5fd44cba 100755 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ use const PHP_VERSION; /** * Define the application minimum supported PHP version. */ -define('FLEXTYPE_MINIMUM_PHP', '7.3.0'); +define('FLEXTYPE_MINIMUM_PHP', '7.4.0'); /** * Define the PATH to the root directory (without trailing slash). @@ -32,8 +32,8 @@ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); * Define the PATH (without trailing slash). */ define('PATH', [ - 'project' => ROOT_DIR . '/project', - 'tmp' => ROOT_DIR . '/var/tmp', + 'project' => ROOT_DIR . '/project', + 'tmp' => ROOT_DIR . '/var/tmp', ]); /**