php-coupling-detector
php-coupling-detector copied to clipboard
Improve exception message of ExtractionException
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.
@jjanvier Because @nidup ask me to do this in his review :)
To avoid to pass the file in the extractor to throw a more accurate exception :)