You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But WP-CLI minimum supported version is WordPress 3.7
This should probably be replaced with a strpos($r_body, 'pubDate') !== false
A larger issue is that this wasn't caught by phpcs. Looking in the vendor dir for wp-cli-tests the last entry in the changelog for php-compatibility is 2019 😬
I'm not really familiar with the details of how composer installs packages, but seems that something isn't catching these errors which should. Possible there are other PHP compatibility errors that aren't being caught.
I can submit a PR for this particular issue if that seems right
I'm not really familiar with the details of how composer installs packages, but seems that something isn't catching these errors which should. Possible there are other PHP compatibility errors that aren't being caught.
That sounds strange indeed 🤔 Mind opening an issue on the wp-cli-tests repo so we can look into it further?
I'm not really familiar with the details of how composer installs packages, but seems that something isn't catching these errors which should. Possible there are other PHP compatibility errors that aren't being caught.
That sounds strange indeed 🤔 Mind opening an issue on the wp-cli-tests repo so we can look into it further?
Latest tagged version 9.3.5 of PHPCompatibility does not know about PHP 8. When I tried with dev-develop version, those functions are detected.
Activity
Use strpos instead of str_contains
swissspidy commentedon Aug 14, 2024
That sounds strange indeed 🤔 Mind opening an issue on the wp-cli-tests repo so we can look into it further?
ernilambar commentedon Aug 15, 2024
Latest tagged version
9.3.5ofPHPCompatibilitydoes not know about PHP 8. When I tried withdev-developversion, those functions are detected.