Giter VIP home page Giter VIP logo

cd-checker's Introduction

selective/cd-checker

Circular dependency checker for PHP.

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Features

Detection of circular dependencies between:

  • Class A and class B
  • Class A and class A (self-reference)
  • Scan directories recursive
  • Exclude pattern
  • Ability to check a single file

Requirements

  • PHP 7.2+

Installation

composer require selective/cd-checker

Usage

Linux

$ vendor/bin/cd-checker {params}

Windows

> vendor\bin\cd-checker {params}

Parameters

Shortcut Name Description
-h --help Display help message.
-d --directory=DIRECTORY Directory to scan. [default: "./"]
-f --file=filename Single file to scan.
-x --exclude=EXCLUDE Files and directories to exclude. You can use exclude patterns ex. tests/*
-q --quiet Do not output any message.
-V --version Display this application version.
none --ansi Force ANSI output.
none --no-ansi Disable ANSI output.
-n --no-interaction Do not ask any interactive question.
-v -vv -vvv --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.

License

  • MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.