Closed CreativeNative closed 2 years ago
For a correct composer PSR-4 autoloading, the folder "src/CirclicalUser" should be only "src/".
https://getcomposer.org/doc/01-basic-usage.md#autoloading
Here is an example: https://github.com/joequery/ComposerPSR4Example
So this:
src/CirclicalUser/Entity/Authentication.php
has to be this:
src/Entity/Authentication.php
The composer.json has to be updated like so:
"autoload": { "psr-4": { "CirclicalUser \\": "src/" }, },
The file /Module.php can be deleted.
For a correct composer PSR-4 autoloading, the folder "src/CirclicalUser" should be only "src/".
https://getcomposer.org/doc/01-basic-usage.md#autoloading
Here is an example: https://github.com/joequery/ComposerPSR4Example
So this:
src/CirclicalUser/Entity/Authentication.php
has to be this:
src/Entity/Authentication.php
The composer.json has to be updated like so:
The file /Module.php can be deleted.