This problem is here:
private function getComposerVendorDir() { $composerJson = json_decode(file_get_contents(__DIR__.'/../composer.json')); if (isset($composerJson->config)) { return $composerJson->config->{'vendor-dir'}; } return __DIR__.'/../vendor/composer'; }
In particular:
return $composerJson->config->{'vendor-dir'};
The condition on isset($composerJson->config) returns true, which leads to the above statement. However, when you look at the generated composer .json:
"config": { "bin-dir": "bin" },
Missing vendor-dir . Create Notification:
PHP Notice: Undefined property: stdClass::$vendor-dir
Therefore, the function returns null, so this requirement is not met:
$this->addRequirement( is_dir($this->getComposerVendorDir()),
This is a bug in symfony/symfony-standard . Most likely it has already been fixed, but you can also bring it up on Github.
EDIT:
It looks like they already have 2.7 uses:
$this->addRequirement( is_dir(__DIR__.'/../vendor/composer'), 'Vendor libraries must be installed', 'Vendor libraries are missing. Install composer following instructions from <a href="http://getcomposer.org/">http:
There is nothing wrong with your project, it's just a mistake in the standard version. As long as you automatically load the classes, you're fine.
source share