-
-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Description
Q | A |
---|---|
php-code-coverage version | 9.1.9 |
PHP version | 7.4.5 |
Driver | Xdebug |
Xdebug version (if used) | v2.9.1 |
Installation Method | Composer |
Usage Method | PHPUnit |
PHPUnit version (if used) | 9.3.10 |
Using the example code in the README, results in some psalm errors about using classes and methods that are marked as @internal
.
ERROR: InternalMethod - The method SebastianBergmann\CodeCoverage\Driver\Driver::forLineCoverage is internal to SebastianBergmann but called from Coverage (see https://psalm.dev/175)
$driver = Driver::forLineCoverage($filter);
ERROR: InternalClass - SebastianBergmann\CodeCoverage\Driver\Driver is internal to SebastianBergmann but called from Coverage (see https://psalm.dev/174)
$driver = Driver::forLineCoverage($filter);
ERROR: InternalClass - SebastianBergmann\CodeCoverage\Report\Html\Facade is internal to SebastianBergmann but called from FormatCoverageResults (see https://psalm.dev/174)
$writer = new \SebastianBergmann\CodeCoverage\Report\Html\Facade();
ERROR: InternalMethod - The method SebastianBergmann\CodeCoverage\Report\Html\Facade::process is internal to SebastianBergmann but called from FormatCoverageResults (see https://psalm.dev/175)
$writer->process($combinedCoverage, $output);
Here's the example code, from this repo, that I tried to emulate: https://github.com/sebastianbergmann/php-code-coverage/blob/1894b1ae28a543838b200ec337a8748e34b84a5e/README.md#usage
Metadata
Metadata
Assignees
Labels
No labels