8000 [PhpUnitBridge] Remove unused method · symfony/symfony@edfdccf · GitHub
[go: up one dir, main page]

Skip to content

Commit edfdccf

Browse files
committed
[PhpUnitBridge] Remove unused method
1 parent d79dbec commit edfdccf

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -296,19 +296,4 @@ public function toString()
296296
"\n".str_replace(' '.getcwd().\DIRECTORY_SEPARATOR, ' ', $exception->getTraceAsString()).
297297
"\n";
298298
}
299-
300-
private function getPackageFromLine(array $line)
301-
{
302-
if (!isset($line['file'])) {
303-
return 'internal function';
304-
}
305-
if (!$this->pathOriginatesFromVendor($line['file'])) {
306-
return 'source code';
307-
}
308-
try {
309-
return $this->getPackage($line['file']);
310-
} catch (\RuntimeException $e) {
311-
return 'unknown';
312-
}
313-
}
314299
}

0 commit comments

Comments
 (0)
0