[wp-trac] [WordPress Trac] #54528: Tests: Disable PHP version check until PHP 8.0 compatibility is achieved.

WordPress Trac noreply at wordpress.org
Sun Nov 28 05:26:05 UTC 2021


#54528: Tests: Disable PHP version check until PHP 8.0 compatibility is achieved.
------------------------------+-----------------------------------
 Reporter:  costdev           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:  has-patch 2nd-opinion
  Focuses:                    |
------------------------------+-----------------------------------
 - PHP 7.4 is [https://www.php.net/supported-versions.php no longer
 displayed as a stable version].
 - The next stable version is PHP 8.0, which we're not compatible with yet.
 - PHP 7.4's change from `stable` to `security` is causing a
 [https://github.com/WordPress/wordpress-
 develop/runs/4343240883?check_suite_focus=true PHPUnit test failure] in
 `Tests_External_HTTP_Basic::test_readme()`.

 If no discussions or decisions have been made on this yet, I suggest that
 we disable the failing assertion in this test method until we either:

 - Reach PHP 8.0 compatibility and bump the recommended PHP version in
 `src/readme.html`.
 - Refactor this part of the test method.
 - Make another decision about this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54528>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list