Behat 找不到 PhpExecutableFinder

Behat can't find PhpExecutableFinder

执行 Behat 时出现以下错误:

PHP Fatal error:  Class 'Symfony\Component\Process\PhpExecutableFinder' not found

我不知道它是否正常,但是 PhpExecutableFinder 在调用 php composer.phar 更新后位于我的 composer.phar 中。

{
    "require": {
        "php": ">=5.4",
        "ext-mcrypt": "*",
        "slim/slim": "~2.0",
        "slim/views": "0.1.*",
        "twig/twig": "1.18.*",
        "propel/propel": "~2.0@dev",
        "zeflasher/propel2-geocodable-behavior": "dev-master",

        "behat/behat": "3.0.*@stable",
        "behat/mink": "1.6.*@stable",
        "behat/mink-extension": "@stable",
        "behat/mink-goutte-driver": "@stable",
        "behat/mink-selenium2-driver": "@stable",
        "peridot-php/leo": "~1.0"
    },

    "autoload": {
        "classmap": ["website/", "vendor/"]
    }
}

是我现在的composer.json。任何人都可以复制它吗? composer.phar 正在自我更新。

composer require symfony/process

问题解决了。我不知道为什么它不包含在behat中。