Update dependencies, Pico now requires PHP 7.0.8+

Pico now depends on Twig 2.12, Symfony YAML 3.4, Parsedown 1.7.4 and Parsedown Extra 0.8.1.
This commit is contained in:
Daniel Rudolf 2020-03-29 14:39:02 +02:00 committed by Jérémy Dufraisse
parent c8feb5bf70
commit 1160cd40af
2 changed files with 7 additions and 7 deletions

View File

@ -31,12 +31,12 @@
"source": "https://github.com/picocms/Pico" "source": "https://github.com/picocms/Pico"
}, },
"require": { "require": {
"php": ">=5.3.6", "php": "^7.0.8",
"ext-mbstring": "*", "ext-mbstring": "*",
"twig/twig": "^1.36", "twig/twig": "^2.12",
"symfony/yaml" : "^2.8", "symfony/yaml" : "^3.4",
"erusev/parsedown": "1.8.0-beta-7", "erusev/parsedown": "1.7.4",
"erusev/parsedown-extra": "0.8.0-beta-1" "erusev/parsedown-extra": "0.8.1"
}, },
"suggest": { "suggest": {
"picocms/pico-theme": "Pico requires a theme to actually display the contents of your website. This is Pico's official default theme.", "picocms/pico-theme": "Pico requires a theme to actually display the contents of your website. This is Pico's official default theme.",

View File

@ -11,8 +11,8 @@
*/ */
// check PHP platform requirements // check PHP platform requirements
if (PHP_VERSION_ID < 50306) { if (PHP_VERSION_ID < 70008) {
die('Pico requires PHP 5.3.6 or above to run'); die('Pico requires PHP 7.0.8 or above to run');
} }
if (!extension_loaded('dom')) { if (!extension_loaded('dom')) {
die("Pico requires the PHP extension 'dom' to run"); die("Pico requires the PHP extension 'dom' to run");