Description
I have a very strange problem with maker bundle in my symphony 4.1 project. I am using the standard App namespace. The project works fine, no issues with composer update or composer install.
When I try to run bin/console make:entity I get the following warning:
! [NOTE] It looks like your app may be using a namespace other than "App". ! ! To configure this and make your life easier, see: ! https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html#configuration.
My autoload keys in composer.json are:
"autoload": {
"psr-4": {
"App\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\Tests\": "tests/"
}
},
At this point I am not sure where to start the trouble shooting. I have seen some posts to make sure that the services.yaml file is set up correctly, but I cannot find an error there (App related entries below...):
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../../src/*'
exclude: '../../src/{Entity,Migrations,Tests}'
# controllers are imported separately to make sure services can be injected
# as action arguments even if you don't extend any base controller class
App\Controller\:
resource: '../../src/Controller'
tags: ['controller.service_arguments']
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
# create aliases for bundle services to make them compliant with symfony 4
# this listener is required by App\EventListener\MyUserAccessListener
ApiPlatform\Core\EventListener\ReadListener: ~
# this service needs to be public as it replaces the
# API Platform PUT controller for MedicalSchool resources
App\Action\MedicalSchoolPut:
public: true
# this service needs to be public as it replaces the
# API Platform POST controller for File resources
App\Action\FilePost:
public: true`
Any thoughts? Thanks!