bug #3420 [3.0] Migration: fix file name not matching class name (glaubinix)
bug #3420 [3.0] Migration: fix file name not matching class name (glaubinix)

This PR was merged into the 3.0.x-dev branch.

Discussion
----------

[3.0] Migration: fix file name not matching class name

The migration creates classes which do not match the file name if the configuration used names that are not identical to the entity class names.

Example:
```
easy_admin:
  entities:
    Categories:
      class: App\Entity\Category
```

This currently creates a `CategoryCrudController.php` file with a class `CategoriesCrudController`

Commits
-------

dc8314c1 Migration: fix filename not matching

javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle