8000 Remove unused piece of code · symfony/symfony@31c8700 · GitHub
[go: up one dir, main page]

Skip to content

Commit 31c8700

Browse files
committed
Remove unused piece of code
1 parent d690792 commit 31c8700

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
@@ -281,19 +281,4 @@ public function toString()
281281
"\n".str_replace(' '.getcwd().\DIRECTORY_SEPARATOR, ' ', $exception->getTraceAsString()).
282282
"\n";
283283
}
284-
285-
private function getPackageFromLine(array $line)
286-
{
287-
if (!isset($line['file'])) {
288-
return 'internal function';
289-
}
290-
if (!$this->pathOriginatesFromVendor($line['file'])) {
291-
return 'source code';
292-
}
293-
try {
294-
return $this->getPackage($line['file']);
295-
} catch (\RuntimeException $e) {
296-
return 'unknown';
297-
}
298-
}
299284
}

0 commit comments

Comments
 (0)
0