Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report uncovered dependencies #285

Merged
merged 1 commit into from
Apr 20, 2020
Merged

Conversation

smoench
Copy link
Contributor

@smoench smoench commented Jan 31, 2020

resolves #231

Symfony\Bundle\DebugBundle\Command\ServerDumpPlaceholderCommand has uncovered dependency on Closure (DebugBundle)
/Users/simon/Projects/symfony/src/Symfony/Component/Console/Command/Command.php::281
	Symfony\Component\Console\Command\Command::28 ->
	Closure::281
Symfony\Bundle\DebugBundle\Command\ServerDumpPlaceholderCommand has uncovered dependency on ReflectionFunction (DebugBundle)
/Users/simon/Projects/symfony/src/Symfony/Component/Console/Command/Command.php::282
	Symfony\Component\Console\Command\Command::28 ->
	ReflectionFunction::282
Symfony\Bundle\DebugBundle\Command\ServerDumpPlaceholderCommand has uncovered dependency on Closure (DebugBundle)
/Users/simon/Projects/symfony/src/Symfony/Component/Console/Command/Command.php::284
	Symfony\Component\Console\Command\Command::28 ->
	Closure::284
Symfony\Bundle\DebugBundle\DependencyInjection\DebugExtension has uncovered dependency on InvalidArgumentException (DebugBundle)
/Users/simon/Projects/symfony/src/Symfony/Bridge/ProxyManager/vendor/symfony/dependency-injection/Extension/ExtensionInterface.php::23
	Symfony\Component\DependencyInjection\Extension\Extension::29 ->
	Symfony\Component\DependencyInjection\Extension\ExtensionInterface::27 ->
	InvalidArgumentException::23
Symfony\Bundle\DebugBundle\DependencyInjection\DebugExtension has uncovered dependency on InvalidArgumentException (DebugBundle)
/Users/simon/Projects/symfony/src/Symfony/Component/ErrorCatcher/vendor/symfony/dependency-injection/Extension/ExtensionInterface.php::23
	Symfony\Component\DependencyInjection\Extension\Extension::29 ->
	Symfony\Component\DependencyInjection\Extension\ExtensionInterface::27 ->
	InvalidArgumentException::23
Symfony\Bundle\DebugBundle\DependencyInjection\DebugExtension has uncovered dependency on InvalidArgumentException (DebugBundle)
/Users/simon/Projects/symfony/src/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.php::23
	Symfony\Component\DependencyInjection\Extension\Extension::29 ->
	Symfony\Component\DependencyInjection\Extension\ExtensionInterface::27 ->
	InvalidArgumentException::23

Report:
Violations: 11093
Skipped violations: 0
Uncovered: 17655
Allowed: 4630

@jakzal Here you go :-) But I need to rework the type resolving a bit and probably ignore internal php classes

@smoench smoench force-pushed the report-uncovered-dependencies branch from ed1b1f5 to 59a4b7d Compare March 27, 2020 13:58
@smoench smoench merged commit 77e08d8 into master Apr 20, 2020
@smoench smoench deleted the report-uncovered-dependencies branch April 20, 2020 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make deptrac complain about namespaces that don't belong to any layers
1 participant