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
We test the latest version from WordPress, in PHP 7.3.
Should we test more versions? (this small WordPress StackExchange is divided between support one or two before the last one or "forcing" users to be updated for features and speed.)
This discussion was converted from issue #6 on February 05, 2021 22:30.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Define versions to support and test.
PHP
Currently, we are testing PHP 7.3.
We should, at least, test the PHP supported versions: 7.4 and 8.0.
However, PHPUnit 7 supported versions support are PHP 7.1 - PHP 7.3.
WordPress doesn't support newer versions off PHPUnit. Issue #46149 intends to solve this but looks stopped until the minimum required PHP version for WordPress is bumped to 7.1.
PHPCompatibilityWP (used in PHP_CodeSniffer) is configured to validate compatibility from PHP 5.6. The reason is WordPress current version supports this version. In this case we are using PHP 8.0.
WordPress
We test the latest version from WordPress, in PHP 7.3.
Should we test more versions? (this small WordPress StackExchange is divided between support one or two before the last one or "forcing" users to be updated for features and speed.)
Beta Was this translation helpful? Give feedback.
All reactions