Skip to content

Commit

Permalink
[4.0] Increase php minimum (joomla#25252)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman authored and wilsonge committed Jun 17, 2019
1 parent d179fa1 commit 63be43f
Show file tree
Hide file tree
Showing 8 changed files with 547 additions and 352 deletions.
2 changes: 1 addition & 1 deletion administrator/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '7.0');
define('JOOMLA_MINIMUM_PHP', '7.2');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
Expand Down
2 changes: 1 addition & 1 deletion api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '7.0');
define('JOOMLA_MINIMUM_PHP', '7.2');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
Expand Down
2 changes: 1 addition & 1 deletion cli/joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
const JOOMLA_MINIMUM_PHP = '7.0';
const JOOMLA_MINIMUM_PHP = '7.2';

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.0.8"
"php": "7.2"
},
"preferred-install": {
"joomla/application": "dist",
Expand Down Expand Up @@ -51,7 +51,7 @@
}
},
"require": {
"php": ">=7.0",
"php": ">=7.2",
"joomla/application": "~2.0@dev",
"joomla/archive": "~1.1.5",
"joomla/authentication": "~2.0@dev",
Expand Down
Loading

0 comments on commit 63be43f

Please sign in to comment.