From 53508f35c635e35ac6f9eed9260a83673de80182 Mon Sep 17 00:00:00 2001 From: Jim Parry Date: Thu, 17 Jan 2019 22:14:48 -0800 Subject: [PATCH] Update PHP dependency to 7.2 --- .travis.yml | 1 - README.md | 2 +- admin/framework/README.md | 2 +- admin/framework/composer.json | 2 +- admin/starter/README.md | 2 +- admin/starter/composer.json | 2 +- admin/userguide/composer.json | 2 +- composer.json | 2 +- contributing.md | 2 +- contributing/guidelines.rst | 2 +- public/index.php | 2 +- system/Commands/Server/Serve.php | 2 +- user_guide_src/source/installation/upgrade_4xx.rst | 2 +- user_guide_src/source/intro/requirements.rst | 6 +++--- user_guide_src/source/testing/feature.rst | 2 +- 15 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8ef13ed2de0c..66c688f6b568 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 7.1 - 7.2 - 7.3 - nightly diff --git a/README.md b/README.md index c900a5205bef..2d000684fe76 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ We are not looking for out-of-scope contributions, only those that would be cons Please read the [*Contributing to CodeIgniter*](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing.md) section in the user guide ## Server Requirements -PHP version 7.1 or higher is required, with the following extensions installed: +PHP version 7.2 or higher is required, with the following extensions installed: - [intl](http://php.net/manual/en/intl.requirements.php) - [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library diff --git a/admin/framework/README.md b/admin/framework/README.md index 559185645ec9..4d958de0401f 100644 --- a/admin/framework/README.md +++ b/admin/framework/README.md @@ -56,7 +56,7 @@ We welcome contributions from the community. Please read the [*Contributing to CodeIgniter*](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing.md) section in the development repository. ## Server Requirements -PHP version 7.1 or higher is required, with the following extensions installed: +PHP version 7.2 or higher is required, with the following extensions installed: - [intl](http://php.net/manual/en/intl.requirements.php) - [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library diff --git a/admin/framework/composer.json b/admin/framework/composer.json index 672c5f183c3b..a6844b5a0e0c 100644 --- a/admin/framework/composer.json +++ b/admin/framework/composer.json @@ -5,7 +5,7 @@ "homepage": "https://codeigniter.com", "license": "MIT", "require": { - "php": ">=7.1", + "php": ">=7.2", "ext-curl": "*", "ext-intl": "*", "kint-php/kint": "^2.1", diff --git a/admin/starter/README.md b/admin/starter/README.md index f71eacaf120e..9d1726d52f46 100644 --- a/admin/starter/README.md +++ b/admin/starter/README.md @@ -47,7 +47,7 @@ The user guide updating and deployment is a bit awkward at the moment, but we ar ## Server Requirements -PHP version 7.1 or higher is required, with the following extensions installed: +PHP version 7.2 or higher is required, with the following extensions installed: - [intl](http://php.net/manual/en/intl.requirements.php) - [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library diff --git a/admin/starter/composer.json b/admin/starter/composer.json index b21f3cbbce13..f7ad344b7b5a 100644 --- a/admin/starter/composer.json +++ b/admin/starter/composer.json @@ -5,7 +5,7 @@ "homepage": "https://codeigniter.com", "license": "MIT", "require": { - "php": ">=7.1", + "php": ">=7.2", "codeigniter4/framework": "^4@alpha" }, "require-dev": { diff --git a/admin/userguide/composer.json b/admin/userguide/composer.json index 6eb7612d8a1f..62ed362a81f8 100644 --- a/admin/userguide/composer.json +++ b/admin/userguide/composer.json @@ -5,7 +5,7 @@ "homepage": "https://codeigniter.com", "license": "MIT", "require": { - "php": ">=7.1", + "php": ">=7.2", "codeigniter4/framework": "^4" }, "support": { diff --git a/composer.json b/composer.json index 4a75cdcc5e7b..22a82704cb4b 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "homepage": "https://codeigniter.com", "license": "MIT", "require": { - "php": ">=7.1", + "php": ">=7.2", "ext-curl": "*", "ext-intl": "*", "ext-json": "*", diff --git a/contributing.md b/contributing.md index 8e236f0cc387..78593e2533d9 100644 --- a/contributing.md +++ b/contributing.md @@ -35,7 +35,7 @@ If you change anything that requires a change to documentation then you will nee ### Compatibility -CodeIgniter4 requires PHP 7.1. +CodeIgniter4 requires PHP 7.2. ### Branching diff --git a/contributing/guidelines.rst b/contributing/guidelines.rst index dabfa31ef829..d98bff6a1f08 100644 --- a/contributing/guidelines.rst +++ b/contributing/guidelines.rst @@ -73,7 +73,7 @@ for an example. PHP Compatibility ================= -CodeIgniter4 requires PHP 7.1. +CodeIgniter4 requires PHP 7.2. Backwards Compatibility ======================= diff --git a/public/index.php b/public/index.php index cd38b911b5aa..9a6f1fa10934 100644 --- a/public/index.php +++ b/public/index.php @@ -1,7 +1,7 @@ `_ version 7.1 or newer is required, with the +`PHP `_ version 7.2 or newer is required, with the `*intl* extension `_ -installed. `Why 7.1 `_? +installed. The following PHP extensions should be enabled on your server: ``php-json``, ``php-mbstring``, ``php-mysqlnd``, `php-xml`` @@ -17,7 +17,7 @@ Currently supported databases are: - MySQL (5.1+) via the *MySQLi* driver - PostgreSQL via the *Postgre* driver - - SqLite3 via the *SQLite3* driver + - SQLite3 via the *SQLite3* driver Not all of the drivers have been converted/rewritten for CodeIgniter4. The list below shows the outstanding ones. diff --git a/user_guide_src/source/testing/feature.rst b/user_guide_src/source/testing/feature.rst index 04cbf1addc5c..451f30d69b6d 100644 --- a/user_guide_src/source/testing/feature.rst +++ b/user_guide_src/source/testing/feature.rst @@ -328,7 +328,7 @@ Asserts that $fragment is found within the JSON response. It does not need to ma // Is true $this->assertJSONFragment(['config' => ['key-a']); -.. note:: This simply uses phpUnit's own `assertArraySubset() `_ +.. note:: This simply uses phpUnit's own `assertArraySubset() `_ method to do the comparison. **assertJSONExact($test)**