Skip to content

Class "SebastianBergmann\CodeCoverage\Filter" is not found during PHPT tests when PHPUnit is used from PHAR #4871

@SharkMachine

Description

@SharkMachine
Q A
PHPUnit version 9.5.12
PHP version 7.4, 8.0, 8.1
Installation Method PHAR

Summary

Getting the following error with code coverage:

Fatal error: Uncaught Error: Class "SebastianBergmann\CodeCoverage\Filter" not found in Standard input code:29

How to reproduce

https://github.com/SharkMachine/xmlseclibs/runs/4911038329?check_suite_focus=true

Expected behavior

No error and code coverage generated

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions