Skip to content

Commit 21703b1

Browse files
staabmsebastianbergmann
authored andcommitted
more precise method name
1 parent 64c3077 commit 21703b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Runner/Phpt/TestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ private function shouldTestBeSkipped(array $sections, array $settings): bool
350350
$output = $this->runCodeInLocalSandbox($skipIfCode);
351351
}
352352

353-
$this->triggerWarningOnPhpErrors('SKIPIF', $output);
353+
$this->triggerRunnerWarningOnPhpErrors('SKIPIF', $output);
354354

355355
if (strncasecmp('skip', ltrim($output), 4) === 0) {
356356
$message = '';
@@ -446,7 +446,7 @@ private function runClean(array $sections, bool $collectCoverage): void
446446
$output = $this->runCodeInLocalSandbox($cleanCode);
447447
}
448448

449-
$this->triggerWarningOnPhpErrors('CLEAN', $output);
449+
$this->triggerRunnerWarningOnPhpErrors('CLEAN', $output);
450450
}
451451

452452
/**
@@ -685,7 +685,7 @@ private function settings(bool $collectCoverage): array
685685
return $settings;
686686
}
687687

688-
private function triggerWarningOnPhpErrors(string $section, string $output): void
688+
private function triggerRunnerWarningOnPhpErrors(string $section, string $output): void
689689
{
690690
if (str_contains($output, 'Parse error:')) {
691691
EventFacade::emitter()->testRunnerTriggeredPhpunitWarning(

0 commit comments

Comments
 (0)