Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

Symfony2Extension doesn't like namespaces containing Spec #5

Open
@brunoroux

Description

@brunoroux

I tried using the specification pattern on some doctrine repository.

I ended up doing something like this :

bin/phpspec desc GMP/CommonMonetisationBundle/Entity/Specification/FilterOffreActif

which gave me :

Specification for GMP\CommonMonetisationBundle\Entity\ification\FilterOffreActif created in /data/www/desire/src/GMP/CommonMonetisationBundle/Spec/Entity/ification/FilterOffreActifSpec.php.

Seems like Spec acts like a reserved keyword and strips itself from any namespace.

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