upgrade to php 8.1 #380
Replies: 2 comments
-
Hi @steamboatid, thanks for digging into this! Concerning the minimum supported PHP version this library needs to support, we had a discussion about this roughly one year ago: #251 Basically, it boils down to "we need to support the lowest PHP version that still has at least 5% usage share with WordPress" (because this library is used by WordPress). As of today, PHP 5.6 still has a share of 5.97%, and is (very) slowly going down. As PHP 7.0 and 7.1 both have a very low share, we can bump the minimum PHP version to 7.2 hopefully sometime soon. |
Beta Was this translation helpful? Give feedback.
-
We have now raised the PHP requirement to >= 7.2 and support PHP up to 8.3 (as covered by tests). Closing. |
Beta Was this translation helpful? Give feedback.
-
dear all,
i manage to upgrade sabberworm/PHP-CSS-Parser to php 8.1
you may find my repo at steamboatid/PHP-CSS-Parser
i did 4 phase modifications :
phase 1 :
phase 2 :
phase 3 :
phase 4 :
precautions :
Beta Was this translation helpful? Give feedback.
All reactions