vipsoft / DoctrineDataFixturesExtension

Doctrine Data Fixtures Extension for Behat
MIT License
21 stars 35 forks source link

[Behat 3] Extension contains 1 abstract method and must therefore be declared abstract or implement... #34

Closed tristanbes closed 10 years ago

tristanbes commented 10 years ago
 Class VIPSoft\DoctrineDataFixturesExtension\Extension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process) in vendor/vipsoft/doctrine-data-fixtures-extension/src/VIPSoft/DoctrineDataFixturesExtension/Extension.php on line 93

I'm using those dependancies :

        "behat/behat": "3.0.*@dev",
        "behat/symfony2-extension": "dev-master",
        "behat/mink-extension": "2.0.*@dev",
        "behat/common-contexts": "1.2.*@dev",
        "sensiolabs/behat-page-object-extension": "2.0.*@dev",
        "vipsoft/doctrine-data-fixtures-extension": "3.0.*@dev",
        "sanpi/behatch-contexts": "dev-master",
        "behat/mink": "dev-master",
        "behat/mink-browserkit-driver": "dev-master",
        "behat/mink-goutte-driver": "dev-master"

Problem is solved when manually implementing the

    /**
     * You can modify the container here before it is dumped to PHP code.
     *
     * @param ContainerBuilder $container
     *
     * @api
     */
    public function process(ContainerBuilder $container)
    {
    }

Do you want me to send a PR with the fix attached or the cause is elsewhere ?

robocoder commented 10 years ago

Thanks.