diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 735a09d59..188e4bfda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,6 @@ jobs: strategy: matrix: php-version: - - '8.0' - '8.1' - '8.2' - '8.3' @@ -68,7 +67,6 @@ jobs: strategy: matrix: php-version: - - '8.0' - '8.1' - '8.2' - '8.3' diff --git a/CHANGELOG b/CHANGELOG index c19eca486..d2682d6b7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ # 3.20.0 (2025-XX-XX) - * n/a + * Bump minimum PHP version to 8.1 # 3.19.0 (2025-01-28) diff --git a/composer.json b/composer.json index 079f1daf3..366236637 100644 --- a/composer.json +++ b/composer.json @@ -24,11 +24,10 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "^1.3", - "symfony/polyfill-ctype": "^1.8", - "symfony/polyfill-php81": "^1.29" + "symfony/polyfill-ctype": "^1.8" }, "require-dev": { "symfony/phpunit-bridge": "^5.4.9|^6.4|^7.0", diff --git a/doc/intro.rst b/doc/intro.rst index 7d01e5beb..13d13aa0e 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -30,7 +30,7 @@ Slim, Yii, Laravel, and Codeigniter — just to name a few. Prerequisites ------------- -Twig 3.x needs at least **PHP 8.0.2** to run. +Twig 3.x needs at least **PHP 8.1.0** to run. Installation ------------ diff --git a/extra/cache-extra/composer.json b/extra/cache-extra/composer.json index 8b704f34e..4ae0621cd 100644 --- a/extra/cache-extra/composer.json +++ b/extra/cache-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/cache": "^5.4|^6.4|^7.0", "twig/twig": "^3.19|^4.0" }, diff --git a/extra/cssinliner-extra/composer.json b/extra/cssinliner-extra/composer.json index 229843f50..f8cce58e0 100644 --- a/extra/cssinliner-extra/composer.json +++ b/extra/cssinliner-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/deprecation-contracts": "^2.5|^3", "tijsverkoyen/css-to-inline-styles": "^2.0", "twig/twig": "^3.13|^4.0" diff --git a/extra/html-extra/composer.json b/extra/html-extra/composer.json index d902b3967..55555a03d 100644 --- a/extra/html-extra/composer.json +++ b/extra/html-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/deprecation-contracts": "^2.5|^3", "symfony/mime": "^5.4|^6.4|^7.0", "twig/twig": "^3.13|^4.0" diff --git a/extra/inky-extra/composer.json b/extra/inky-extra/composer.json index cb630b96e..3d6ed29b8 100644 --- a/extra/inky-extra/composer.json +++ b/extra/inky-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/deprecation-contracts": "^2.5|^3", "lorenzo/pinky": "^1.0.5", "twig/twig": "^3.13|^4.0" diff --git a/extra/intl-extra/composer.json b/extra/intl-extra/composer.json index 8355df43c..b728753c4 100644 --- a/extra/intl-extra/composer.json +++ b/extra/intl-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "twig/twig": "^3.13|^4.0", "symfony/intl": "^5.4|^6.4|^7.0" }, diff --git a/extra/markdown-extra/composer.json b/extra/markdown-extra/composer.json index 30adf4aa6..5abaf5040 100644 --- a/extra/markdown-extra/composer.json +++ b/extra/markdown-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/deprecation-contracts": "^2.5|^3", "twig/twig": "^3.13|^4.0" }, diff --git a/extra/string-extra/composer.json b/extra/string-extra/composer.json index becf9de89..6b366e169 100644 --- a/extra/string-extra/composer.json +++ b/extra/string-extra/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/string": "^5.4|^6.4|^7.0", "symfony/translation-contracts": "^1.1|^2|^3", "twig/twig": "^3.13|^4.0" diff --git a/extra/twig-extra-bundle/composer.json b/extra/twig-extra-bundle/composer.json index ad3bb807b..88ee8107c 100644 --- a/extra/twig-extra-bundle/composer.json +++ b/extra/twig-extra-bundle/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.0.2", + "php": ">=8.1.0", "symfony/framework-bundle": "^5.4|^6.4|^7.0", "symfony/twig-bundle": "^5.4|^6.4|^7.0", "twig/twig": "^3.2|^4.0"