DesignPatternDetector icon indicating copy to clipboard operation
DesignPatternDetector copied to clipboard

detection of design patterns in PHP code

Results 6 DesignPatternDetector issues
Sort by recently updated
recently updated
newest added

With old `composer.json` latest `phpmetrics` was installed and it has the constructor with different parameters. We have to convert accepting argument and options in CLI command from string to array....

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 PHP Fatal error: Uncaught TypeError: Argument 1...

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

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

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

Fixed typo with blank chars in README