Skip to content

Commit

Permalink
Extension: Extends from Composer namespace can fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Jun 23, 2021
1 parent 9cf787e commit d6e0dc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PluginComponentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ private function createPluginServices(ContainerBuilder $builder): array
continue;
}
} catch (\Throwable $e) {
if (preg_match('/^Interface "Composer\\\[^"]+" not found$/u', $e->getMessage())) {
continue;
}
Debugger::log($e, ILogger::WARNING);
try {
trigger_error('Class "' . $class . '" is broken: ' . $e->getMessage());
Expand Down

0 comments on commit d6e0dc6

Please sign in to comment.