[wp-trac] [WordPress Trac] #56022: Enable coverage mode for xDebug in local Docker environment

WordPress Trac noreply at wordpress.org
Mon Jun 20 18:27:40 UTC 2022


#56022: Enable coverage mode for xDebug in local Docker environment
------------------------------+-----------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  6.1
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch
  Focuses:                    |
------------------------------+-----------------------
 Recently, the [https://github.com/WordPress/wpdev-docker-images/pull/81
 version of xDebug included in the PHP 7.2-7.4 Docker containers was
 changed from 2.x to 3.x].

 One of the changes in xDebug 3.0 was a shift from enabling features to
 switching xDebug into modes (see the
 [https://xdebug.org/docs/upgrade_guide#New-Concepts 2.x to 3.0 upgrade
 documentation]). By default, xDebug is in `develop` mode. However, in
 order to generate code coverage reports the `coverage` mode needs to be
 active.

 The code coverage reporting workflow currently runs on PHP 7.4, and was
 affected by this change. The [https://github.com/WordPress/wordpress-
 develop/runs/6928240972?check_suite_focus=true#step:17:38 Code Coverage
 workflow has not been able to generate a coverage report since then].

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


More information about the wp-trac mailing list