Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use namespaces for all classes #3

@robocoder

Description

@robocoder

From https://github.com/opensky/Symfony2-coding-standard/issues/34

There's a note that libraries like Pimple won't conform to this. This comes up with AppCache.php and AppKernel.php too.

Isn't the solution to wrap the class in a bracketed namespace? e.g.,

namespace
{
    class Pimple
    {
        ...
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions