Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

composer: use separate autoload and autoload-dev #140

Closed
@mfn

Description

@mfn

Currently the whole project tree is marked for autoload, from composer.json

    "autoload": {
        "classmap": [
            "./"
        ]
    },

It does not differentiate between autoloading actual source and test related stuff, but should.

(unverified) suggestion:

    "autoload": {
        "classmap": [
            "./src/"
        ]
    },
    "autoload-dev": {
      "classmap": [
        "./tests/"
      ]
    }  

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