migrations-generator icon indicating copy to clipboard operation
migrations-generator copied to clipboard

PSR-0 problem in laravel-4-generators: Class names and file locations do not match

Open cweiske opened this issue 6 years ago • 1 comments

(The bug is for xethron/laravel-4-generators, but that one has no bug tracker and this package here depends on it).

When using composer 1.10-dev to generate the autoloader (composer dump) there are deprecation notices shown:

Deprecation Notice: Class Way\Generators\Templates\Data\Controller located in ./vendor/xethron/laravel-4-generators/src/Way/Generators/templates/Data/Controller.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v1.11+. Deprecation Notice: Class Way\Generators\Templates\Data\Migration located in ./vendor/xethron/laravel-4-generators/src/Way/Generators/templates/Data/Migration.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v1.11+.

cweiske avatar Dec 06 '19 12:12 cweiske

Use https://github.com/oscarafdev/migrations-generator for Laravel 6+

oscarafdev avatar Dec 10 '19 19:12 oscarafdev