mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 17:27:22 +01:00
Merge branch 'master' into datasets-scope
# Conflicts: # tests/.snapshots/success.txt
This commit is contained in:
@ -28,7 +28,9 @@ final class Backtrace
|
||||
foreach (debug_backtrace(self::BACKTRACE_OPTIONS) as $trace) {
|
||||
assert(array_key_exists(self::FILE, $trace));
|
||||
|
||||
if (Str::endsWith($trace[self::FILE], 'overrides/Runner/TestSuiteLoader.php')) {
|
||||
$traceFile = str_replace(DIRECTORY_SEPARATOR, '/', $trace[self::FILE]);
|
||||
|
||||
if (Str::endsWith($traceFile, 'overrides/Runner/TestSuiteLoader.php')) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@ -85,7 +85,7 @@ final class Coverage
|
||||
|
||||
$totalWidth = (new Terminal())->getWidth();
|
||||
|
||||
$dottedLineLength = $totalWidth <= 70 ? $totalWidth : 70;
|
||||
$dottedLineLength = $totalWidth - 6;
|
||||
|
||||
$totalCoverage = $codeCoverage->getReport()->percentageOfExecutedLines();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user