php-coupling-detector icon indicating copy to clipboard operation
php-coupling-detector copied to clipboard

Improve exception message of ExtractionException

Open pierallard opened this issue 7 years ago • 2 comments

When there was an issue on ClassNameExtractor or NamespaceExtractor, the Exception does not link to any file. This PR improve the exception message to include the errored file.

pierallard avatar Jun 20 '17 15:06 pierallard

@jjanvier Because @nidup ask me to do this in his review :)

pierallard avatar Jun 20 '17 22:06 pierallard

To avoid to pass the file in the extractor to throw a more accurate exception :)

nidup avatar Jun 20 '17 22:06 nidup