Set minimum requirements to PHP 7.2.5

This commit is contained in:
Matias Griese
2020-10-30 21:52:04 +02:00
parent ce327dca42
commit c8ee05d671
8 changed files with 137 additions and 186 deletions

View File

@@ -2,6 +2,7 @@
## mm/dd/2020 ## mm/dd/2020
1. [](#new) 1. [](#new)
* Set minimum requirements to **PHP 7.2.5**
* Added `FlexDirectoryInterface` interface * Added `FlexDirectoryInterface` interface
* Renamed `PageCollectionInterface::nonModular()` into `PageCollectionInterface::pages()` and deprecated the old method * Renamed `PageCollectionInterface::nonModular()` into `PageCollectionInterface::pages()` and deprecated the old method
* Renamed `PageCollectionInterface::modular()` into `PageCollectionInterface::modules()` and deprecated the old method' * Renamed `PageCollectionInterface::modular()` into `PageCollectionInterface::modules()` and deprecated the old method'

View File

@@ -21,7 +21,7 @@ The underlying architecture of Grav is designed to use well-established and _bes
# Requirements # Requirements
- PHP 7.1.3 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements) - PHP 7.2.5 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements)
- Check the [Apache](https://learn.getgrav.org/basics/requirements#apache-requirements) or [IIS](https://learn.getgrav.org/basics/requirements#iis-requirements) requirements - Check the [Apache](https://learn.getgrav.org/basics/requirements#apache-requirements) or [IIS](https://learn.getgrav.org/basics/requirements#iis-requirements) requirements
# QuickStart # QuickStart

View File

@@ -1,5 +1,7 @@
# UPGRADE FROM 1.6 TO 1.7.RC17 # UPGRADE FROM 1.6 TO 1.7.RC17
Grav 1.7 REQUIRES PHP 7.2.5
## ADMINISTRATORS ## ADMINISTRATORS
### YAML files ### YAML files

View File

@@ -12,7 +12,7 @@
"homepage": "https://getgrav.org", "homepage": "https://getgrav.org",
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": ">=7.1.3", "php": "^7.2.5 || ^8.0",
"ext-json": "*", "ext-json": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-openssl": "*", "ext-openssl": "*",
@@ -79,7 +79,7 @@
"config": { "config": {
"apcu-autoloader": true, "apcu-autoloader": true,
"platform": { "platform": {
"php": "7.1.3" "php": "7.2.5"
} }
}, },
"repositories": [ "repositories": [

305
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "2779be2a700b07eec4f0ea735b9e5e4d", "content-hash": "a85e1c9dd93c5cd9bd7a41f62c591495",
"packages": [ "packages": [
{ {
"name": "antoligy/dom-string-iterators", "name": "antoligy/dom-string-iterators",
@@ -828,20 +828,20 @@
}, },
{ {
"name": "league/climate", "name": "league/climate",
"version": "3.5.2", "version": "3.6.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/climate.git", "url": "https://github.com/thephpleague/climate.git",
"reference": "6b53a28a58ad9f5f63042e291eb870cf0d02a9c9" "reference": "61eecbde7645528a855a3afef65c5354093b27b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/climate/zipball/6b53a28a58ad9f5f63042e291eb870cf0d02a9c9", "url": "https://api.github.com/repos/thephpleague/climate/zipball/61eecbde7645528a855a3afef65c5354093b27b2",
"reference": "6b53a28a58ad9f5f63042e291eb870cf0d02a9c9", "reference": "61eecbde7645528a855a3afef65c5354093b27b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1", "php": "^7.2",
"psr/log": "^1.0", "psr/log": "^1.0",
"seld/cli-prompt": "^1.0" "seld/cli-prompt": "^1.0"
}, },
@@ -885,7 +885,7 @@
"php", "php",
"terminal" "terminal"
], ],
"time": "2019-12-01T15:25:43+00:00" "time": "2020-10-04T16:02:59+00:00"
}, },
{ {
"name": "matthiasmullie/minify", "name": "matthiasmullie/minify",
@@ -1348,29 +1348,29 @@
}, },
{ {
"name": "pimple/pimple", "name": "pimple/pimple",
"version": "v3.2.3", "version": "v3.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/silexphp/Pimple.git", "url": "https://github.com/silexphp/Pimple.git",
"reference": "9e403941ef9d65d20cba7d54e29fe906db42cf32" "reference": "e55d12f9d6a0e7f9c85992b73df1267f46279930"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/silexphp/Pimple/zipball/9e403941ef9d65d20cba7d54e29fe906db42cf32", "url": "https://api.github.com/repos/silexphp/Pimple/zipball/e55d12f9d6a0e7f9c85992b73df1267f46279930",
"reference": "9e403941ef9d65d20cba7d54e29fe906db42cf32", "reference": "e55d12f9d6a0e7f9c85992b73df1267f46279930",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0", "php": "^7.2.5",
"psr/container": "^1.0" "psr/container": "^1.0"
}, },
"require-dev": { "require-dev": {
"symfony/phpunit-bridge": "^3.2" "symfony/phpunit-bridge": "^3.4|^4.4|^5.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.2.x-dev" "dev-master": "3.3.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -1389,12 +1389,12 @@
} }
], ],
"description": "Pimple, a simple Dependency Injection Container", "description": "Pimple, a simple Dependency Injection Container",
"homepage": "http://pimple.sensiolabs.org", "homepage": "https://pimple.symfony.com",
"keywords": [ "keywords": [
"container", "container",
"dependency injection" "dependency injection"
], ],
"time": "2018-01-21T07:42:36+00:00" "time": "2020-03-03T09:12:48+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@@ -1936,16 +1936,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124" "reference": "20f73dd143a5815d475e0838ff867bce1eebd9d5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/90933b39c7b312fc3ceaa1ddeac7eb48cb953124", "url": "https://api.github.com/repos/symfony/console/zipball/20f73dd143a5815d475e0838ff867bce1eebd9d5",
"reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124", "reference": "20f73dd143a5815d475e0838ff867bce1eebd9d5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1980,11 +1980,6 @@
"symfony/process": "" "symfony/process": ""
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Console\\": "" "Symfony\\Component\\Console\\": ""
@@ -2009,7 +2004,7 @@
], ],
"description": "Symfony Console Component", "description": "Symfony Console Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-09-15T07:58:55+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/contracts", "name": "symfony/contracts",
@@ -2090,16 +2085,16 @@
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
"reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd" "reference": "4204f13d2d0b7ad09454f221bb2195fccdf1fe98"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e17bb5e0663dc725f7cdcafc932132735b4725cd", "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4204f13d2d0b7ad09454f221bb2195fccdf1fe98",
"reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd", "reference": "4204f13d2d0b7ad09454f221bb2195fccdf1fe98",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2128,11 +2123,6 @@
"symfony/http-kernel": "" "symfony/http-kernel": ""
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\EventDispatcher\\": "" "Symfony\\Component\\EventDispatcher\\": ""
@@ -2157,20 +2147,20 @@
], ],
"description": "Symfony EventDispatcher Component", "description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-09-18T14:07:46+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/http-client", "name": "symfony/http-client",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-client.git", "url": "https://github.com/symfony/http-client.git",
"reference": "b1cb966898aaf8df37280fde537a27b6724b3bc4" "reference": "3ead7e297f4cc8a84661ef1f411c029acb34bc11"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-client/zipball/b1cb966898aaf8df37280fde537a27b6724b3bc4", "url": "https://api.github.com/repos/symfony/http-client/zipball/3ead7e297f4cc8a84661ef1f411c029acb34bc11",
"reference": "b1cb966898aaf8df37280fde537a27b6724b3bc4", "reference": "3ead7e297f4cc8a84661ef1f411c029acb34bc11",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2196,11 +2186,6 @@
"symfony/process": "^4.2|^5.0" "symfony/process": "^4.2|^5.0"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\HttpClient\\": "" "Symfony\\Component\\HttpClient\\": ""
@@ -2225,7 +2210,7 @@
], ],
"description": "Symfony HttpClient component", "description": "Symfony HttpClient component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-10-02T13:41:48+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@@ -2667,27 +2652,22 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "9b887acc522935f77555ae8813495958c7771ba7" "reference": "2f4b049fb80ca5e9874615a2a85dc2a502090f05"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/9b887acc522935f77555ae8813495958c7771ba7", "url": "https://api.github.com/repos/symfony/process/zipball/2f4b049fb80ca5e9874615a2a85dc2a502090f05",
"reference": "9b887acc522935f77555ae8813495958c7771ba7", "reference": "2f4b049fb80ca5e9874615a2a85dc2a502090f05",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1.3" "php": ">=7.1.3"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Process\\": "" "Symfony\\Component\\Process\\": ""
@@ -2712,20 +2692,20 @@
], ],
"description": "Symfony Process Component", "description": "Symfony Process Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-09-02T16:08:58+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "0dc22bdf9d1197467bb04d505355180b6f20bcca" "reference": "3718e18b68d955348ad860e505991802c09f5f73"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/0dc22bdf9d1197467bb04d505355180b6f20bcca", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3718e18b68d955348ad860e505991802c09f5f73",
"reference": "0dc22bdf9d1197467bb04d505355180b6f20bcca", "reference": "3718e18b68d955348ad860e505991802c09f5f73",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2753,11 +2733,6 @@
"Resources/bin/var-dump-server" "Resources/bin/var-dump-server"
], ],
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"files": [ "files": [
"Resources/functions/dump.php" "Resources/functions/dump.php"
@@ -2789,20 +2764,20 @@
"debug", "debug",
"dump" "dump"
], ],
"time": "2020-09-18T08:35:10+00:00" "time": "2020-10-26T20:47:51+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "c7885964b1eceb70b0981556d0a9b01d2d97c8d1" "reference": "543cb4dbd45ed803f08a9a65f27fb149b5dd20c2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/c7885964b1eceb70b0981556d0a9b01d2d97c8d1", "url": "https://api.github.com/repos/symfony/yaml/zipball/543cb4dbd45ed803f08a9a65f27fb149b5dd20c2",
"reference": "c7885964b1eceb70b0981556d0a9b01d2d97c8d1", "reference": "543cb4dbd45ed803f08a9a65f27fb149b5dd20c2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2819,11 +2794,6 @@
"symfony/console": "For validating YAML files using the lint command" "symfony/console": "For validating YAML files using the lint command"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Yaml\\": "" "Symfony\\Component\\Yaml\\": ""
@@ -2848,24 +2818,24 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-09-27T03:36:23+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "twig/twig", "name": "twig/twig",
"version": "v1.43.1", "version": "v1.44.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/twigphp/Twig.git", "url": "https://github.com/twigphp/Twig.git",
"reference": "2311602f6a208715252febe682fa7c38e56a3373" "reference": "04b15d4c0bb18ddbf82626320ac07f6a73f199c9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/2311602f6a208715252febe682fa7c38e56a3373", "url": "https://api.github.com/repos/twigphp/Twig/zipball/04b15d4c0bb18ddbf82626320ac07f6a73f199c9",
"reference": "2311602f6a208715252febe682fa7c38e56a3373", "reference": "04b15d4c0bb18ddbf82626320ac07f6a73f199c9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1.3", "php": ">=7.2.5",
"symfony/polyfill-ctype": "^1.8" "symfony/polyfill-ctype": "^1.8"
}, },
"require-dev": { "require-dev": {
@@ -2875,7 +2845,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.43-dev" "dev-master": "1.44-dev"
} }
}, },
"autoload": { "autoload": {
@@ -2912,7 +2882,7 @@
"keywords": [ "keywords": [
"templating" "templating"
], ],
"time": "2020-08-05T15:05:05+00:00" "time": "2020-10-27T19:22:48+00:00"
}, },
{ {
"name": "willdurand/negotiation", "name": "willdurand/negotiation",
@@ -4365,25 +4335,25 @@
}, },
{ {
"name": "phpdocumentor/reflection-common", "name": "phpdocumentor/reflection-common",
"version": "2.1.0", "version": "2.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/ReflectionCommon.git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
"reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b" "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/6568f4687e5b41b054365f9ae03fcb1ed5f2069b", "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
"reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b", "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1" "php": "^7.2 || ^8.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.x-dev" "dev-2.x": "2.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -4410,45 +4380,42 @@
"reflection", "reflection",
"static analysis" "static analysis"
], ],
"time": "2020-04-27T09:25:28+00:00" "time": "2020-06-27T09:03:43+00:00"
}, },
{ {
"name": "phpdocumentor/reflection-docblock", "name": "phpdocumentor/reflection-docblock",
"version": "4.3.4", "version": "5.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" "reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e",
"reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", "reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.0", "ext-filter": "^7.1",
"phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", "php": "^7.2",
"phpdocumentor/type-resolver": "~0.4 || ^1.0.0", "phpdocumentor/reflection-common": "^2.0",
"webmozart/assert": "^1.0" "phpdocumentor/type-resolver": "^1.0",
"webmozart/assert": "^1"
}, },
"require-dev": { "require-dev": {
"doctrine/instantiator": "^1.0.5", "doctrine/instantiator": "^1",
"mockery/mockery": "^1.0", "mockery/mockery": "^1"
"phpdocumentor/type-resolver": "0.4.*",
"phpunit/phpunit": "^6.4"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "4.x-dev" "dev-master": "5.x-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"phpDocumentor\\Reflection\\": [ "phpDocumentor\\Reflection\\": "src"
"src/"
]
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@@ -4459,38 +4426,40 @@
{ {
"name": "Mike van Riel", "name": "Mike van Riel",
"email": "me@mikevanriel.com" "email": "me@mikevanriel.com"
},
{
"name": "Jaap van Otterdijk",
"email": "account@ijaap.nl"
} }
], ],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2019-12-28T18:55:12+00:00" "time": "2020-02-22T12:28:44+00:00"
}, },
{ {
"name": "phpdocumentor/type-resolver", "name": "phpdocumentor/type-resolver",
"version": "1.0.1", "version": "1.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git", "url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9" "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
"reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1", "php": "^7.2 || ^8.0",
"phpdocumentor/reflection-common": "^2.0" "phpdocumentor/reflection-common": "^2.0"
}, },
"require-dev": { "require-dev": {
"ext-tokenizer": "^7.1", "ext-tokenizer": "*"
"mockery/mockery": "~1",
"phpunit/phpunit": "^7.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.x-dev" "dev-1.x": "1.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -4509,37 +4478,37 @@
} }
], ],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"time": "2019-08-22T18:11:29+00:00" "time": "2020-09-17T18:55:26+00:00"
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
"version": "v1.10.3", "version": "1.11.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpspec/prophecy.git", "url": "https://github.com/phpspec/prophecy.git",
"reference": "451c3cd1418cf640de218914901e51b064abb093" "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", "url": "https://api.github.com/repos/phpspec/prophecy/zipball/b20034be5efcdab4fb60ca3a29cba2949aead160",
"reference": "451c3cd1418cf640de218914901e51b064abb093", "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"doctrine/instantiator": "^1.0.2", "doctrine/instantiator": "^1.2",
"php": "^5.3|^7.0", "php": "^7.2",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", "phpdocumentor/reflection-docblock": "^5.0",
"sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", "sebastian/comparator": "^3.0 || ^4.0",
"sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" "sebastian/recursion-context": "^3.0 || ^4.0"
}, },
"require-dev": { "require-dev": {
"phpspec/phpspec": "^2.5 || ^3.2", "phpspec/phpspec": "^6.0",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" "phpunit/phpunit": "^8.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.10.x-dev" "dev-master": "1.11.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -4572,7 +4541,7 @@
"spy", "spy",
"stub" "stub"
], ],
"time": "2020-03-05T15:02:03+00:00" "time": "2020-07-08T12:44:21+00:00"
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
@@ -5652,16 +5621,16 @@
}, },
{ {
"name": "symfony/browser-kit", "name": "symfony/browser-kit",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/browser-kit.git", "url": "https://github.com/symfony/browser-kit.git",
"reference": "9a1786e5020783605a30cff2ceed9aca030e8d80" "reference": "99b640fd5d06877e3242ba0393b40a7877dfe534"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/browser-kit/zipball/9a1786e5020783605a30cff2ceed9aca030e8d80", "url": "https://api.github.com/repos/symfony/browser-kit/zipball/99b640fd5d06877e3242ba0393b40a7877dfe534",
"reference": "9a1786e5020783605a30cff2ceed9aca030e8d80", "reference": "99b640fd5d06877e3242ba0393b40a7877dfe534",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5678,11 +5647,6 @@
"symfony/process": "" "symfony/process": ""
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\BrowserKit\\": "" "Symfony\\Component\\BrowserKit\\": ""
@@ -5707,31 +5671,26 @@
], ],
"description": "Symfony BrowserKit Component", "description": "Symfony BrowserKit Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-10-02T08:38:15+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
"reference": "bf17dc9f6ce144e41f786c32435feea4d8e11dcc" "reference": "719506cffda9dba80c75d94ac50f1a2561520e4f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/bf17dc9f6ce144e41f786c32435feea4d8e11dcc", "url": "https://api.github.com/repos/symfony/css-selector/zipball/719506cffda9dba80c75d94ac50f1a2561520e4f",
"reference": "bf17dc9f6ce144e41f786c32435feea4d8e11dcc", "reference": "719506cffda9dba80c75d94ac50f1a2561520e4f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1.3" "php": ">=7.1.3"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\CssSelector\\": "" "Symfony\\Component\\CssSelector\\": ""
@@ -5760,20 +5719,20 @@
], ],
"description": "Symfony CssSelector Component", "description": "Symfony CssSelector Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-07-05T09:39:30+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/dom-crawler", "name": "symfony/dom-crawler",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dom-crawler.git", "url": "https://github.com/symfony/dom-crawler.git",
"reference": "bdcb7633a501770a0daefbf81d2e6b28c3864f2b" "reference": "30ad9ac96a01913195bf0328d48e29d54fa53e6e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/dom-crawler/zipball/bdcb7633a501770a0daefbf81d2e6b28c3864f2b", "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/30ad9ac96a01913195bf0328d48e29d54fa53e6e",
"reference": "bdcb7633a501770a0daefbf81d2e6b28c3864f2b", "reference": "30ad9ac96a01913195bf0328d48e29d54fa53e6e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5792,11 +5751,6 @@
"symfony/css-selector": "" "symfony/css-selector": ""
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\DomCrawler\\": "" "Symfony\\Component\\DomCrawler\\": ""
@@ -5821,31 +5775,26 @@
], ],
"description": "Symfony DomCrawler Component", "description": "Symfony DomCrawler Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-10-02T07:34:48+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v4.4.15", "version": "v4.4.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "60d08560f9aa72997c44077c40d47aa28a963230" "reference": "26f63b8d4e92f2eecd90f6791a563ebb001abe31"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/60d08560f9aa72997c44077c40d47aa28a963230", "url": "https://api.github.com/repos/symfony/finder/zipball/26f63b8d4e92f2eecd90f6791a563ebb001abe31",
"reference": "60d08560f9aa72997c44077c40d47aa28a963230", "reference": "26f63b8d4e92f2eecd90f6791a563ebb001abe31",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1.3" "php": ">=7.1.3"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Finder\\": "" "Symfony\\Component\\Finder\\": ""
@@ -5870,7 +5819,7 @@
], ],
"description": "Symfony Finder Component", "description": "Symfony Finder Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2020-10-02T07:34:48+00:00" "time": "2020-10-24T11:50:19+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-idn", "name": "symfony/polyfill-intl-idn",
@@ -6011,23 +5960,23 @@
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",
"version": "1.1.3", "version": "1.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/theseer/tokenizer.git", "url": "https://github.com/theseer/tokenizer.git",
"reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" "reference": "75a63c33a8577608444246075ea0af0d052e452a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a",
"reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", "reference": "75a63c33a8577608444246075ea0af0d052e452a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-dom": "*", "ext-dom": "*",
"ext-tokenizer": "*", "ext-tokenizer": "*",
"ext-xmlwriter": "*", "ext-xmlwriter": "*",
"php": "^7.0" "php": "^7.2 || ^8.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -6047,7 +5996,7 @@
} }
], ],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"time": "2019-06-13T22:48:21+00:00" "time": "2020-07-12T23:59:07+00:00"
}, },
{ {
"name": "victorjonsson/markdowndocs", "name": "victorjonsson/markdowndocs",
@@ -6153,7 +6102,7 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=7.1.3", "php": "^7.2.5 || ^8.0",
"ext-json": "*", "ext-json": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-openssl": "*", "ext-openssl": "*",
@@ -6164,6 +6113,6 @@
}, },
"platform-dev": [], "platform-dev": [],
"platform-overrides": { "platform-overrides": {
"php": "7.1.3" "php": "7.2.5"
} }
} }

View File

@@ -10,7 +10,7 @@
namespace Grav; namespace Grav;
\define('GRAV_REQUEST_TIME', microtime(true)); \define('GRAV_REQUEST_TIME', microtime(true));
\define('GRAV_PHP_MIN', '7.1.3'); \define('GRAV_PHP_MIN', '7.2.5');
if (version_compare($ver = PHP_VERSION, $req = GRAV_PHP_MIN, '<')) { if (version_compare($ver = PHP_VERSION, $req = GRAV_PHP_MIN, '<')) {
die(sprintf('You are running PHP %s, but Grav needs at least <strong>PHP %s</strong> to run.', $ver, $req)); die(sprintf('You are running PHP %s, but Grav needs at least <strong>PHP %s</strong> to run.', $ver, $req));

View File

@@ -13,7 +13,7 @@ define('GRAV_TESTING', true);
define('DS', '/'); define('DS', '/');
if (!defined('GRAV_PHP_MIN')) { if (!defined('GRAV_PHP_MIN')) {
define('GRAV_PHP_MIN', '7.1.3'); define('GRAV_PHP_MIN', '7.2.5');
} }
// Directories and Paths // Directories and Paths

View File

@@ -32,9 +32,8 @@ class Install
'versions' => [ 'versions' => [
'7.4' => '7.4.0', '7.4' => '7.4.0',
'7.3' => '7.3.1', '7.3' => '7.3.1',
'7.2' => '7.2.0', '7.2' => '7.2.5',
'7.1' => '7.1.3', '' => '7.4.12'
'' => '7.3.15'
] ]
], ],
'grav' => [ 'grav' => [