pathfinder icon indicating copy to clipboard operation
pathfinder copied to clipboard

Composer issue?

Open Netmonster opened this issue 4 years ago • 2 comments

Hello,

I've been noticing a strange issue with composer and pathfinder. When using compose 1.10.x or 2.x I get the following error when running composer install. This doesn't happen when using a 1.9.x version. I see a double "r" in the controller.

Any one else experiencing this?

Class Exodus4D\Pathfinder\Controller\Controller located in ./app/Controller/Controllerr.php does not comply with psr-4 autoloading standard. Skipping. Class Exodus4D\Pathfinder\Model\Universe\AbstractUniverseModel located in ./app/Model/Universe/abstractuniversemodel.php does not comply with psr-4 autoloading standard. Skipping. Class Exodus4D\Pathfinder\Model\AbstractModel located in ./app/Model/AbstractModell.php does not comply with psr-4 autoloading standard. Skipping. Class Exodus4D\Pathfinder\Model\Pathfinder\AbstractPathfinderModel located in ./app/Model/Pathfinder/AbstractPathfinderModell.php does not comply with psr-4 autoloading standard. Skipping. Class Exodus4D\Pathfinder\Db\Sql\Mysql\TableModifier located in ./app/Db/Sql/Mysql/tablemodifier.php does not comply with psr-4 autoloading standard. Skipping. Class Exodus4D\Pathfinder\Db\Sql\Mysql\Column located in ./app/Db/Sql/Mysql/tablemodifier.php does not comply with psr-4 autoloading standard. Skipping. Class Exodus4D\Pathfinder\Db\Sql\Mysql\Constraint located in ./app/Db/Sql/Mysql/tablemodifier.php does not comply with psr-4 autoloading standard. Skipping.

Netmonster avatar Mar 11 '21 21:03 Netmonster

The error is saying the class name and file structure does not match. Easy fix is to rename the files in the directory, then run composer dump-autoload to fix it.

drkthunder02 avatar May 02 '21 12:05 drkthunder02

how

Xyncgas avatar Oct 08 '22 08:10 Xyncgas