diff --git a/composer.lock b/composer.lock index 66e32e5071824d3cac22e9524f7f4bb362b2b4cd..903274bdf3c10b080fe099bc792639183f9ae448 100644 --- a/composer.lock +++ b/composer.lock @@ -653,7 +653,7 @@ "dist": { "type": "path", "url": "core", - "reference": "f5caa987fc01923d57a6dba206ad8207c073beab" + "reference": "8f9baa64e9b695577dfeca74d0882b9509cced80" }, "require": { "asm89/stack-cors": "^1.1", @@ -678,7 +678,7 @@ "guzzlehttp/guzzle": "^6.3", "masterminds/html5": "^2.1", "pear/archive_tar": "^1.4.5", - "php": ">=7.0.8", + "php": ">=7.2.3", "stack/builder": "^1.0", "symfony-cmf/routing": "^1.4", "symfony/class-loader": "~3.4.0", diff --git a/composer/Plugin/Scaffold/composer.json b/composer/Plugin/Scaffold/composer.json index 3d515d92f50d8ead3cd621d9f8e9854f60d9f05d..4916c73650a2e95eec6a2e02022f3d1d4a69fc37 100644 --- a/composer/Plugin/Scaffold/composer.json +++ b/composer/Plugin/Scaffold/composer.json @@ -7,7 +7,7 @@ "license": "GPL-2.0-or-later", "require": { "composer-plugin-api": "^1.0.0", - "php": ">=7.0.8" + "php": ">=7.2.3" }, "conflict": { "drupal-composer/drupal-scaffold": "*" diff --git a/composer/Plugin/VendorHardening/composer.json b/composer/Plugin/VendorHardening/composer.json index da71b12a1f3f362bc9119aedbe781fc47026877e..c6aea39869daa8a8e7a57ea85d0d02f05e7b52e2 100644 --- a/composer/Plugin/VendorHardening/composer.json +++ b/composer/Plugin/VendorHardening/composer.json @@ -14,7 +14,7 @@ "class": "Drupal\\Composer\\Plugin\\VendorHardening\\VendorHardeningPlugin" }, "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "composer-plugin-api": "^1.1" } } diff --git a/core/INSTALL.txt b/core/INSTALL.txt index 5dbc9e0233080f57d2a218fbb82b6837efbb3348..3cb23dd4b894eab86fd10d3f4537a77e19745ca2 100644 --- a/core/INSTALL.txt +++ b/core/INSTALL.txt @@ -15,7 +15,7 @@ QUICKSTART ---------------------- Prerequisites: -- PHP 7.0.8 (or greater) (https://php.net). +- PHP 7.2.3 (or greater) (https://php.net). In the instructions below, replace the version x.y.z with the specific version you wish to download. Example: 8.6.0.zip. You can find the latest stable version diff --git a/core/composer.json b/core/composer.json index 438d4312b3b1e96b9a8707040543639899783a5a..7d7408289ce940cf5903264a7026763cac0aff55 100644 --- a/core/composer.json +++ b/core/composer.json @@ -17,7 +17,7 @@ "ext-SPL": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": ">=7.0.8", + "php": ">=7.2.3", "symfony/class-loader": "~3.4.0", "symfony/console": "~3.4.0", "symfony/dependency-injection": "~3.4.26", diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 33a439f8a25a6c9fc400d8027e3a984910153ec5..e6c6431badb25a2e09f8e44a3e772e80425f6fdd 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -34,7 +34,7 @@ * @todo Move this to an appropriate autoloadable class. See * https://www.drupal.org/project/drupal/issues/2908079 */ -const DRUPAL_MINIMUM_PHP = '7.0.8'; +const DRUPAL_MINIMUM_PHP = '7.2.3'; /** * Minimum supported version of PHP. @@ -48,7 +48,7 @@ * @todo Move this to an appropriate autoloadable class. See * https://www.drupal.org/project/drupal/issues/2908079 */ -const DRUPAL_MINIMUM_SUPPORTED_PHP = '7.0.8'; +const DRUPAL_MINIMUM_SUPPORTED_PHP = '7.2.3'; /** * Minimum recommended version of PHP. @@ -60,7 +60,7 @@ * @todo Move this to an appropriate autoloadable class. See * https://www.drupal.org/project/drupal/issues/2908079 */ -const DRUPAL_RECOMMENDED_PHP = '7.2'; +const DRUPAL_RECOMMENDED_PHP = '7.3'; /** * Minimum recommended value of PHP memory_limit. diff --git a/core/install.php b/core/install.php index 8cc3880c81ce9ee89ff8a4243a25b2a580537f49..0a7ffb1a1fcd67bf6fc84defa445427434f75e74 100644 --- a/core/install.php +++ b/core/install.php @@ -25,8 +25,8 @@ // The minimum version is specified explicitly, as DRUPAL_MINIMUM_PHP is not // yet available. It is defined in bootstrap.inc, but it is not possible to // load that file yet as it would cause a fatal error on older versions of PHP. -if (version_compare(PHP_VERSION, '7.0.8') < 0) { - print 'Your PHP installation is too old. Drupal requires at least PHP 7.0.8. See the <a href="https://www.drupal.org/requirements">system requirements</a> page for more information.'; +if (version_compare(PHP_VERSION, '7.2.3') < 0) { + print 'Your PHP installation is too old. Drupal requires at least PHP 7.2.3. See the <a href="https://www.drupal.org/requirements">system requirements</a> page for more information.'; exit; } diff --git a/core/lib/Drupal/Component/Annotation/composer.json b/core/lib/Drupal/Component/Annotation/composer.json index 9092a7f8107c4577a4e7aa2aef8afe4151dbaf4c..c9ed3a14736fc7548584e0c7988114bae80c19d5 100644 --- a/core/lib/Drupal/Component/Annotation/composer.json +++ b/core/lib/Drupal/Component/Annotation/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "doctrine/common": "^2.7", "doctrine/annotations": "^1.4", "drupal/core-file-cache": "^8.8", diff --git a/core/lib/Drupal/Component/Assertion/composer.json b/core/lib/Drupal/Component/Assertion/composer.json index 40ddc38819ccd98c850407b061a475c0c68d934d..9b7bda88117cee7effd2b336f42d06afd92618cb 100644 --- a/core/lib/Drupal/Component/Assertion/composer.json +++ b/core/lib/Drupal/Component/Assertion/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Bridge/composer.json b/core/lib/Drupal/Component/Bridge/composer.json index 47a94a35fe9359e3d940a0bde6471edba04a2623..2f986c83320a0352a3e5c8efd9acf4dd083d3a1a 100644 --- a/core/lib/Drupal/Component/Bridge/composer.json +++ b/core/lib/Drupal/Component/Bridge/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "zendframework/zend-feed": "^2.12" }, "autoload": { diff --git a/core/lib/Drupal/Component/ClassFinder/composer.json b/core/lib/Drupal/Component/ClassFinder/composer.json index 733406a663b6e111ca904256c710c15e47670335..de41d234197ba4c3aa885946f516ef2f756a69ed 100644 --- a/core/lib/Drupal/Component/ClassFinder/composer.json +++ b/core/lib/Drupal/Component/ClassFinder/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "doctrine/common": "^2.7" }, "autoload": { diff --git a/core/lib/Drupal/Component/Datetime/composer.json b/core/lib/Drupal/Component/Datetime/composer.json index 6991d6bb486a4e8cb22a38b425b87d0df246edda..e05806276232743734b2b99bf885aeb7d5e65d36 100644 --- a/core/lib/Drupal/Component/Datetime/composer.json +++ b/core/lib/Drupal/Component/Datetime/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "drupal/core-utility": "^8.8" }, "autoload": { diff --git a/core/lib/Drupal/Component/DependencyInjection/composer.json b/core/lib/Drupal/Component/DependencyInjection/composer.json index a99a41cca4bd778d5ac55e178b4dd442986d9b0d..039ffbe327b63627d8d94b7a7be6dd3c224c935f 100644 --- a/core/lib/Drupal/Component/DependencyInjection/composer.json +++ b/core/lib/Drupal/Component/DependencyInjection/composer.json @@ -11,7 +11,7 @@ "source": "https://www.drupal.org/project/drupal/git-instructions" }, "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "symfony/dependency-injection": ">=3.4 <4.0.0" }, "suggest": { diff --git a/core/lib/Drupal/Component/Diff/composer.json b/core/lib/Drupal/Component/Diff/composer.json index 9cf2adf61594cc2d19177d6050a80341ec784ac5..9963231acb1a2bafd526f0037ebd1f4337d882f8 100644 --- a/core/lib/Drupal/Component/Diff/composer.json +++ b/core/lib/Drupal/Component/Diff/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Discovery/composer.json b/core/lib/Drupal/Component/Discovery/composer.json index fe45a60336611b2f0f606a3215d265199c795ec8..a445df9e96385817c69c851807903405e9fa6ae7 100644 --- a/core/lib/Drupal/Component/Discovery/composer.json +++ b/core/lib/Drupal/Component/Discovery/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "drupal/core-file-cache": "^8.8", "drupal/core-serialization": "^8.8" }, diff --git a/core/lib/Drupal/Component/EventDispatcher/composer.json b/core/lib/Drupal/Component/EventDispatcher/composer.json index 88cc03951caaf7c7ba832ae1c1fac6d01aa03508..c47fbe0402ab7a2bea003fac7492d9110afef37d 100644 --- a/core/lib/Drupal/Component/EventDispatcher/composer.json +++ b/core/lib/Drupal/Component/EventDispatcher/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "symfony/dependency-injection": ">=3.4 <4.0.0", "symfony/event-dispatcher": ">=3.4 <4.0.0" }, diff --git a/core/lib/Drupal/Component/FileCache/composer.json b/core/lib/Drupal/Component/FileCache/composer.json index 5f18f2bb9b5a5ad183fa39bd850cbef70ac66282..77cff4b95c999ebb0c89abdb767ba6cc2825e742 100644 --- a/core/lib/Drupal/Component/FileCache/composer.json +++ b/core/lib/Drupal/Component/FileCache/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/FileSecurity/composer.json b/core/lib/Drupal/Component/FileSecurity/composer.json index 039431346895ba2c1e085991f5a232b87404037c..5f0883b8c99fcb85148dadd70d2b0012693d4bce 100644 --- a/core/lib/Drupal/Component/FileSecurity/composer.json +++ b/core/lib/Drupal/Component/FileSecurity/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/FileSystem/composer.json b/core/lib/Drupal/Component/FileSystem/composer.json index e9433c08e5413124c04b5163270dae4ba82430a3..7410bb68c26f7f906034db43ff75336602e969d5 100644 --- a/core/lib/Drupal/Component/FileSystem/composer.json +++ b/core/lib/Drupal/Component/FileSystem/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Gettext/composer.json b/core/lib/Drupal/Component/Gettext/composer.json index b97b4dcc9a9191a411ad7eed3e2b220031d5be8a..c7bef47a2c3a17204dc4242f56dd31f9fe6cef5e 100644 --- a/core/lib/Drupal/Component/Gettext/composer.json +++ b/core/lib/Drupal/Component/Gettext/composer.json @@ -9,7 +9,7 @@ "source": "https://www.drupal.org/project/drupal/git-instructions" }, "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "drupal/core-utility": "^8.8" }, "autoload": { diff --git a/core/lib/Drupal/Component/Graph/composer.json b/core/lib/Drupal/Component/Graph/composer.json index ea144deb8e0739afcd3681ed1066533142b38cd9..d0723692dc59a6066957100e39380a3b8b863f04 100644 --- a/core/lib/Drupal/Component/Graph/composer.json +++ b/core/lib/Drupal/Component/Graph/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/HttpFoundation/composer.json b/core/lib/Drupal/Component/HttpFoundation/composer.json index a9c5eab46fa99c007455addb980b456d3808d657..2fa47238693699fd2ed59ee6ef43cda6f55b8bfc 100644 --- a/core/lib/Drupal/Component/HttpFoundation/composer.json +++ b/core/lib/Drupal/Component/HttpFoundation/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "symfony/http-foundation": ">=3.4 <4.0.0" }, "autoload": { diff --git a/core/lib/Drupal/Component/PhpStorage/composer.json b/core/lib/Drupal/Component/PhpStorage/composer.json index e2ed734ca4a4c98e2952c0e5d24447523158db3c..0e3e57830558f5f3a4983c2d377c46e1fa714686 100644 --- a/core/lib/Drupal/Component/PhpStorage/composer.json +++ b/core/lib/Drupal/Component/PhpStorage/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "drupal/core-file-security": "^8.8" }, "autoload": { diff --git a/core/lib/Drupal/Component/Plugin/composer.json b/core/lib/Drupal/Component/Plugin/composer.json index 0929759f95245926ef2b4bca636a7b28b3515b99..ae985e1e1c947dd1d4a3d16a0665dd827f34f6c7 100644 --- a/core/lib/Drupal/Component/Plugin/composer.json +++ b/core/lib/Drupal/Component/Plugin/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "symfony/validator": ">=3.4 <4.0.0" }, "autoload": { diff --git a/core/lib/Drupal/Component/ProxyBuilder/composer.json b/core/lib/Drupal/Component/ProxyBuilder/composer.json index 7e024a82453b61cd8277a7a9fda8341b093f6134..8cff0ff40940dc6f3c08a6cd40af076e541918cd 100644 --- a/core/lib/Drupal/Component/ProxyBuilder/composer.json +++ b/core/lib/Drupal/Component/ProxyBuilder/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Render/composer.json b/core/lib/Drupal/Component/Render/composer.json index 87875b59f8a77178203dd15e768dcbe1bfef8eb4..4187a2f111285cdead234a9be9a9f4c00ca6bcc4 100644 --- a/core/lib/Drupal/Component/Render/composer.json +++ b/core/lib/Drupal/Component/Render/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "drupal/core-utility": "^8.8" }, "autoload": { diff --git a/core/lib/Drupal/Component/Serialization/composer.json b/core/lib/Drupal/Component/Serialization/composer.json index 507ef4fe3cba2fb262b5b1aa6a0f786dd5fe467a..c6e134faebf61085dbb74292f79fcfac7f85e4fb 100644 --- a/core/lib/Drupal/Component/Serialization/composer.json +++ b/core/lib/Drupal/Component/Serialization/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "symfony/yaml": ">=3.4 <4.0.0" }, "autoload": { diff --git a/core/lib/Drupal/Component/Utility/composer.json b/core/lib/Drupal/Component/Utility/composer.json index 8caec2de3de005edf6e081514333a4fbd3134a02..b1e2afbe76c100971fff56b5bfcec4f11c601562 100644 --- a/core/lib/Drupal/Component/Utility/composer.json +++ b/core/lib/Drupal/Component/Utility/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8", + "php": ">=7.2.3", "drupal/core-render": "^8.8" }, "autoload": { diff --git a/core/lib/Drupal/Component/Uuid/composer.json b/core/lib/Drupal/Component/Uuid/composer.json index 67c13893e5a3f02529b345ca70676d97c341fc8d..e8a85b95669277543bf3da38f3710cbf492101f4 100644 --- a/core/lib/Drupal/Component/Uuid/composer.json +++ b/core/lib/Drupal/Component/Uuid/composer.json @@ -9,7 +9,7 @@ "source": "https://www.drupal.org/project/drupal/git-instructions" }, "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Version/composer.json b/core/lib/Drupal/Component/Version/composer.json index 3532e94be26434bb8795011fd9ebde26dc8f8bfb..51975e150aca0a4e8db8e35f9910a8dc9f8d0ba4 100644 --- a/core/lib/Drupal/Component/Version/composer.json +++ b/core/lib/Drupal/Component/Version/composer.json @@ -5,7 +5,7 @@ "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0.8" + "php": ">=7.2.3" }, "autoload": { "psr-4": { diff --git a/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php b/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php index 5cb104f62813d1b1c9f4b9792194546e51aba9da..5573121df70e9dabac2d0d335743f70664da3734 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php @@ -261,5 +261,5 @@ class TestThemeEngineExtensionList extends ThemeEngineExtensionList { } if (!defined('DRUPAL_MINIMUM_PHP')) { - define('DRUPAL_MINIMUM_PHP', '5.5.9'); + define('DRUPAL_MINIMUM_PHP', '7.2.3'); } diff --git a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php index 99c6769477978fbae85bc71f0531b3bd60d04a71..375b035345ab68559046a0964bfe8bdeb95788f2 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php @@ -147,5 +147,5 @@ protected function themeRegistryRebuild() { } if (!defined('DRUPAL_MINIMUM_PHP')) { - define('DRUPAL_MINIMUM_PHP', '5.5.9'); + define('DRUPAL_MINIMUM_PHP', '7.2.3'); }