Skip to content

PSR-0 Underscore compatability #2859

Open
@bchubb-web

Description

@bchubb-web

I work on some legacy projects that use underscore based PSR-0 classnames, e.g

"psr-0": {
    "Foo_": "src/"
},

and the file src/Foo/Bar.php, would have a classname of Foo_Bar, but phpactor suggests it be Bar, and a namespace of Foo

IMO it should take into account the delineating character and suggest namespaces/classnames based on that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions