2017 © Pedro Peláez
 

library php-coupling-detector

Detect all the coupling issues of your project with respect to the coupling rules you have defined.

image

akeneo/php-coupling-detector

Detect all the coupling issues of your project with respect to the coupling rules you have defined.

  • Wednesday, March 28, 2018
  • by nidup
  • Repository
  • 14 Watchers
  • 14 Stars
  • 768,416 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 5 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

PHP Coupling Detector

The PHP Coupling Detector tool detects all the coupling issues of your project with respect to the coupling rules you have defined., (*1)

At the moment, only PHP coupling issues are detected by analysing the use statements of the classes in your project. But adding a new kind of coupling detections is doable in the future. We could for example imagine to detect the coupling issues of Symfony services that are defined in YAML or XML, (*2)

At the moment, 3 types of rules are supported:, (*3)

  • forbidden: A node respects such a rule if no rule token is present in the node. In case the node does not respect this rule, an error violation will be sent.
  • discouraged: A node respects such a rule if no rule token is present in the node. In case the node does not respect this rule, a warning violation will be sent.
  • only: A node respects such a rule if the node contains only tokens defined in the rule. In case the node does not respect this rule, an error violation will be sent.

Requirements

PHP needs to be a minimum version of PHP 7.2, (*4)

Installation

    $ composer require akeneo/php-coupling-detector

Usage

To discover how to use this tool, please read the usage of the detect and list-unused-requirements commands., (*5)

Development

You can develop out of the box thanks to the provided docker-compose.yml and Makefile files, (*6)

To install the app:, (*7)

    $ make install
    $ make vendor

To launch tests on your machine:, (*8)

    $ make test

The Versions

28/03 2018

dev-master

9999999-dev

Detect all the coupling issues of your project with respect to the coupling rules you have defined.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/03 2018

dev-rule-builder

dev-rule-builder

Detect all the coupling issues of your project with respect to the coupling rules you have defined.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/03 2018

dev-enhance-dot-formater

dev-enhance-dot-formater

Detect all the coupling issues of your project with respect to the coupling rules you have defined.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/03 2018

dev-upgrade-deps

dev-upgrade-deps

Detect all the coupling issues of your project with respect to the coupling rules you have defined.

  Sources   Download

MIT

The Requires

 

The Development Requires

20/06 2017