composer php - How can I use the new directory structure with Symfony >=2.7? -
before symfony 2.7 setting environment variable sensiolabs_enable_new_directory_structure trigger prompt would use symfony 3 directory structure?
starting 2.7 (released yesterday) doesn't work anymore:
composer create-project symfony/framework-standard-edition symfony "2.7.*" any idea why?
i've found use-new-directory-structure shell arg in composer script handler, how use it? pointless @zerkms answer.
using 2.6.*:

using 2.7.*:

it's bug , after research sent pull request.
the nature of bug following:
in symfony/symfony-standard@6272b33 replaced psr-0 composer autoload psr-4 haven't fixed path symfonystandard directory correspondingly.
this causes the
"post-root-package-install": [ "symfonystandard\\composer::hookrootpackageinstall" ], composer script not run successfully, since symfonystandard\\composer cannot resolved.
what call adds handler post-root-package-install event in turn sets couple more event handlers post-install event.
one of handlers 1 scripthandler::definedirectorystructure not invoked @ because of bug.
Comments
Post a Comment