1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-05 04:37:43 +02:00

feat(core): Moving to PHP 7.4.0 #524

This commit is contained in:
Awilum
2020-12-27 18:25:37 +03:00
parent b4c842f4f4
commit 16fa2bf28c
4 changed files with 6 additions and 6 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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": "*",

View File

@@ -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',
]);
/**