├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── _config.yml ├── bin └── php-coupling-detector ├── composer.json ├── doc ├── DETECT.md └── LIST_UNUSED_REQUIREMENTS.md ├── docker-compose.yml ├── phpspec.yml ├── spec ├── CouplingDetectorSpec.php ├── Domain │ └── RuleSpec.php ├── NodeParser │ ├── NodeParserResolverSpec.php │ ├── PhpClass │ │ ├── ClassNameExtractorSpec.php │ │ ├── NamespaceExtractorSpec.php │ │ └── UseDeclarationsExtractorSpec.php │ └── PhpClassNodeParserSpec.php ├── RuleBuilderSpec.php ├── RuleCheckerSpec.php └── fixtures │ └── InvalidNode.php └── src ├── Configuration ├── Configuration.php └── DefaultFinder.php ├── Console ├── Application.php ├── Command │ ├── DetectCommand.php │ └── ListUnusedRequirementsCommand.php └── OutputFormatter.php ├── CouplingDetector.php ├── Domain ├── Node.php ├── NodeInterface.php ├── Rule.php ├── RuleInterface.php ├── Violation.php └── ViolationInterface.php ├── Event ├── Events.php ├── NodeChecked.php ├── NodeParsedEvent.php ├── PostNodesParsedEvent.php ├── PostRulesCheckedEvent.php ├── PreNodesParsedEvent.php ├── PreRulesCheckedEvent.php └── RuleCheckedEvent.php ├── Formatter ├── AbstractFormatter.php ├── Console │ ├── DotFormatter.php │ └── PrettyFormatter.php └── SimpleFormatter.php ├── NodeParser ├── ExtractionException.php ├── NodeParserInterface.php ├── NodeParserResolver.php ├── PhpClass │ ├── ClassNameExtractor.php │ ├── NamespaceExtractor.php │ └── UseDeclarationsExtractor.php └── PhpClassNodeParser.php ├── RuleBuilder.php └── RuleChecker.php /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/_config.yml -------------------------------------------------------------------------------- /bin/php-coupling-detector: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/bin/php-coupling-detector -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/composer.json -------------------------------------------------------------------------------- /doc/DETECT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/doc/DETECT.md -------------------------------------------------------------------------------- /doc/LIST_UNUSED_REQUIREMENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/doc/LIST_UNUSED_REQUIREMENTS.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /phpspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/phpspec.yml -------------------------------------------------------------------------------- /spec/CouplingDetectorSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/CouplingDetectorSpec.php -------------------------------------------------------------------------------- /spec/Domain/RuleSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/Domain/RuleSpec.php -------------------------------------------------------------------------------- /spec/NodeParser/NodeParserResolverSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/NodeParser/NodeParserResolverSpec.php -------------------------------------------------------------------------------- /spec/NodeParser/PhpClass/ClassNameExtractorSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/NodeParser/PhpClass/ClassNameExtractorSpec.php -------------------------------------------------------------------------------- /spec/NodeParser/PhpClass/NamespaceExtractorSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/NodeParser/PhpClass/NamespaceExtractorSpec.php -------------------------------------------------------------------------------- /spec/NodeParser/PhpClass/UseDeclarationsExtractorSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/NodeParser/PhpClass/UseDeclarationsExtractorSpec.php -------------------------------------------------------------------------------- /spec/NodeParser/PhpClassNodeParserSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/NodeParser/PhpClassNodeParserSpec.php -------------------------------------------------------------------------------- /spec/RuleBuilderSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/RuleBuilderSpec.php -------------------------------------------------------------------------------- /spec/RuleCheckerSpec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/spec/RuleCheckerSpec.php -------------------------------------------------------------------------------- /spec/fixtures/InvalidNode.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Configuration/Configuration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Configuration/Configuration.php -------------------------------------------------------------------------------- /src/Configuration/DefaultFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Configuration/DefaultFinder.php -------------------------------------------------------------------------------- /src/Console/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Console/Application.php -------------------------------------------------------------------------------- /src/Console/Command/DetectCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Console/Command/DetectCommand.php -------------------------------------------------------------------------------- /src/Console/Command/ListUnusedRequirementsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Console/Command/ListUnusedRequirementsCommand.php -------------------------------------------------------------------------------- /src/Console/OutputFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Console/OutputFormatter.php -------------------------------------------------------------------------------- /src/CouplingDetector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/CouplingDetector.php -------------------------------------------------------------------------------- /src/Domain/Node.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Domain/Node.php -------------------------------------------------------------------------------- /src/Domain/NodeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Domain/NodeInterface.php -------------------------------------------------------------------------------- /src/Domain/Rule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Domain/Rule.php -------------------------------------------------------------------------------- /src/Domain/RuleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Domain/RuleInterface.php -------------------------------------------------------------------------------- /src/Domain/Violation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Domain/Violation.php -------------------------------------------------------------------------------- /src/Domain/ViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Domain/ViolationInterface.php -------------------------------------------------------------------------------- /src/Event/Events.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/Events.php -------------------------------------------------------------------------------- /src/Event/NodeChecked.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/NodeChecked.php -------------------------------------------------------------------------------- /src/Event/NodeParsedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/NodeParsedEvent.php -------------------------------------------------------------------------------- /src/Event/PostNodesParsedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/PostNodesParsedEvent.php -------------------------------------------------------------------------------- /src/Event/PostRulesCheckedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/PostRulesCheckedEvent.php -------------------------------------------------------------------------------- /src/Event/PreNodesParsedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/PreNodesParsedEvent.php -------------------------------------------------------------------------------- /src/Event/PreRulesCheckedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/PreRulesCheckedEvent.php -------------------------------------------------------------------------------- /src/Event/RuleCheckedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Event/RuleCheckedEvent.php -------------------------------------------------------------------------------- /src/Formatter/AbstractFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Formatter/AbstractFormatter.php -------------------------------------------------------------------------------- /src/Formatter/Console/DotFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Formatter/Console/DotFormatter.php -------------------------------------------------------------------------------- /src/Formatter/Console/PrettyFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Formatter/Console/PrettyFormatter.php -------------------------------------------------------------------------------- /src/Formatter/SimpleFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/Formatter/SimpleFormatter.php -------------------------------------------------------------------------------- /src/NodeParser/ExtractionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/ExtractionException.php -------------------------------------------------------------------------------- /src/NodeParser/NodeParserInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/NodeParserInterface.php -------------------------------------------------------------------------------- /src/NodeParser/NodeParserResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/NodeParserResolver.php -------------------------------------------------------------------------------- /src/NodeParser/PhpClass/ClassNameExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/PhpClass/ClassNameExtractor.php -------------------------------------------------------------------------------- /src/NodeParser/PhpClass/NamespaceExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/PhpClass/NamespaceExtractor.php -------------------------------------------------------------------------------- /src/NodeParser/PhpClass/UseDeclarationsExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/PhpClass/UseDeclarationsExtractor.php -------------------------------------------------------------------------------- /src/NodeParser/PhpClassNodeParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/NodeParser/PhpClassNodeParser.php -------------------------------------------------------------------------------- /src/RuleBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/RuleBuilder.php -------------------------------------------------------------------------------- /src/RuleChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akeneo/php-coupling-detector/HEAD/src/RuleChecker.php --------------------------------------------------------------------------------