Giter Site home page Giter Site logo

designpatterndetector's People

Contributors

emanueleminotto avatar halleck45 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

designpatterndetector's Issues

Code was not executing as expected

Execution of code not result in proper output, details below.

cmd used: ./bin/design-pattern ../laravel/vendor

Output with error:
Design pattern detector by Jean-François Lépine https://twitter.com/Halleck45

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Hal\Component\File\Finder::__construct() must be of the type array, string given, called in /var/www/DesignPatternDetector/src/Hal/Application/Command/RunPatternCommand.php on line 74 and defined in /var/www/DesignPatternDetector/vendor/halleck45/phpmetrics/src/Hal/Component/File/Finder.php:53
Stack trace:
#0 /var/www/DesignPatternDetector/src/Hal/Application/Command/RunPatternCommand.php(74): Hal\Component\File\Finder->__construct()
#1 /var/www/DesignPatternDetector/vendor/symfony/console/Command/Command.php(245): Hal\Application\Command\RunPatternCommand->execute()
#2 /var/www/DesignPatternDetector/vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run()
#3 /var/www/DesignPatternDetector/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand()
#4 /var/www/DesignPatternDetector/vendor/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun()
#5 /var/www/DesignPatt in /var/www/DesignPatternDetector/vendor/halleck45/phpmetrics/src/Hal/Component/File/Finder.php on line 53

Stable release?

Any plan for a release? I'm looking forward to use it. :)

When I run the script it errors out

PHP Fatal error: Uncaught Error: Call to a member function getType() on string in DesignPatternDetector/vendor/phpmetrics/phpmetrics/src/Hal/Component/OOP/Extractor/Extractor.php:89

Issue running script

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Hal\Component\File\Finder::__construct() must be of the type array, string given, called in /srv/http/codeCheckers/DesignPatternDetector/src/Hal/Application/Command/RunPatternCommand.php on line 74 and defined in /srv/http/codeCheckers/DesignPatternDetector/vendor/halleck45/phpmetrics/src/Hal/Component/File/Finder.php:55

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.