Skip to content

Commit 2eaa6fe

Browse files
Revert "Take #[IgnorePhpunitDeprecations] attribute into account for test runner deprecations"
This reverts commit b3be029.
1 parent 33fa3d1 commit 2eaa6fe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Event/Emitter/DispatchingEmitter.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,13 +1208,6 @@ public function testSuiteFinished(TestSuite $testSuite): void
12081208
*/
12091209
public function testRunnerTriggeredPhpunitDeprecation(string $message): void
12101210
{
1211-
try {
1212-
if (TestMethodBuilder::fromCallStack()->metadata()->isIgnorePhpunitDeprecations()->isNotEmpty()) {
1213-
return;
1214-
}
1215-
} catch (NoTestCaseObjectOnCallStackException) {
1216-
}
1217-
12181211
$this->dispatcher->dispatch(
12191212
new TestRunner\DeprecationTriggered(
12201213
$this->telemetryInfo(),

0 commit comments

Comments
 (0)