mirko-pagliai / cakephp-thumber

cakephp-thumber is a CakePHP plugin to create thumbnails
MIT License
7 stars 4 forks source link

Namespace incorrect in Command files #50

Closed jmwmulle closed 5 years ago

jmwmulle commented 5 years ago

Line 20 of both ClearAllCommand.php & ClearCommand.php reads

use MeTools\Console\Command;

should be

use Cake\Console\Command;

Cake console doesn't function otherwise.

mirko-pagliai commented 5 years ago

The problem appears to be in the composer.json file. The mirko-pagliai/me-tools package should be in the require section, instead it is in the require-dev section. I will fix it. For now, try installing the packages manually

jmwmulle commented 5 years ago

Yup, composer require mirko-pagliai/me-tools solved it, ty.