You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
sebastianbergmann
changed the title
@internal methods/classes are documented in README's example usage
Driver::forLineCoverage() and Driver::forLineAndPathCoverage() are marked as internal
Sep 18, 2020
Using the example code in the README, results in some psalm errors about using classes and methods that are marked as
@internal
.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
The text was updated successfully, but these errors were encountered: