Skip to content

problems with the autoloader #2

Description

@Wonko52

I cloned the project and started composer install:

Class WebThing\Value located in ./src/WebThing/Value.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Property located in ./src/WebThing/Property.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\PropertyInterface located in ./src/WebThing/PropertyInterface.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\MultipleThings located in ./src/WebThing/MultipleThings.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Thing located in ./src/WebThing/Thing.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Action located in ./src/WebThing/Action.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\EventHandler located in ./src/WebThing/Server/Handlers/EventHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\PropertyHandler located in ./src/WebThing/Server/Handlers/PropertyHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\ActionHandler located in ./src/WebThing/Server/Handlers/ActionHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\EventsHandler located in ./src/WebThing/Server/Handlers/EventsHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\BaseHandler located in ./src/WebThing/Server/Handlers/BaseHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\ThingHandler located in ./src/WebThing/Server/Handlers/ThingHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\ThingsHandler located in ./src/WebThing/Server/Handlers/ThingsHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\ActionIDHandler located in ./src/WebThing/Server/Handlers/ActionIDHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\PropertiesHandler located in ./src/WebThing/Server/Handlers/PropertiesHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\ActionsHandler located in ./src/WebThing/Server/Handlers/ActionsHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\Handlers\WebSocketThingHandler located in ./src/WebThing/Server/Handlers/WebSocketThingHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Server\WebThingServer located in ./src/WebThing/Server/WebThingServer.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\ActionInterface located in ./src/WebThing/ActionInterface.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\ThingsInterface located in ./src/WebThing/ThingsInterface.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\EventInterface located in ./src/WebThing/EventInterface.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\SingleThing located in ./src/WebThing/SingleThing.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\ThingInterface located in ./src/WebThing/ThingInterface.php does not comply with psr-4 autoloading standard. Skipping.
Class WebThing\Event located in ./src/WebThing/Event.php does not comply with psr-4 autoloading standard. Skipping.
Class Crimson\RequestHandler located in ./vendor/malik/crimson/src/Crimson/RequestHandler.php does not comply with psr-4 autoloading standard. Skipping.
Class Crimson\HttpServer located in ./vendor/malik/crimson/src/Crimson/HttpServer.php does not comply with psr-4 autoloading standard. Skipping.
Class Crimson\App located in ./vendor/malik/crimson/src/Crimson/App.php does not comply with psr-4 autoloading standard. Skipping.

I changed in composer.json

"psr-4": {
      "WebThing\\": "src/"
    }

to

"psr-4": {
      "WebThing\\": "src/WebThing/"
    }

So it works for WebThing.
For Crimson\App the problem still exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions