-
-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: upgrade Timber requirements (PHP 8.1/WP 6.0/Twig 3.5) #2970
Conversation
- PHP >=8.1 - WP >=6.0 - Twig >= 3.0 - Remove symfony/polyfill-php80 - Update workflow matrix accordingly
Half of the WordPress ecosystem (core, plugins, themes) runs on PHP 7.4. |
I disagree. Those who insist on sticking with an out of date version of PHP can stick with Timber 1.x |
All right. One can upgrade/fix core, the theme, and self-created plugins but how about other plugins? |
This is the type of discussion that will keep the ecosystem on PHP 7.4 indefinitely. |
💯 Agreed! I may also add:
|
Issue
As previously discussed, Timber >=2.1 will drop support for PHP <= 8.1 and WP <= 6.0.
Packagist stats shows pretty wide 8.1+ adoption and we should encourage users to move forward.
Solution
Impact
Usage Changes
Considerations
Twig <= 3.5 has security issues, so I bumped directly to Twig 3.5:
Testing