Skip to content

Remove phpdbg from coverage targets#39

Draft
ohmyfelix wants to merge 1 commit intocontributte:masterfrom
ohmyfelix:chore/remove-phpdbg-coverage
Draft

Remove phpdbg from coverage targets#39
ohmyfelix wants to merge 1 commit intocontributte:masterfrom
ohmyfelix:chore/remove-phpdbg-coverage

Conversation

@ohmyfelix
Copy link
Contributor

Summary

Replace phpdbg with php in the Makefile coverage targets so this repository follows the org-wide coverage runner migration tracked in contributte/contributte#73.

Motivation

phpdbg is being removed from Contributte coverage targets. This keeps the local Makefile aligned with that migration.

Changes

  • switch coverage-clover to -p php
  • switch coverage-html to -p php

Testing

  • Updated Makefile coverage targets
  • Coverage target passes locally (make coverage-clover currently fails because this environment has no Xdebug/PCOV extension and is not running under PHPDBG)
  • Tests pass locally (make tests currently fails on PHP 8.5 because ReflectionProperty::setAccessible() is deprecated in tests/Cases/NetteDatabaseDataSourceTest.phpt)

Use the PHP CLI for coverage targets to match the org-wide phpdbg removal tracked in contributte/contributte#73.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant