Skip to content

Removing test-pack deletes config/bootstrap.php #513

Closed
@leongersen

Description

@leongersen

This is a re-report of #498, which was closed as solved. In that report, the issue was an outdated symfony.lock file. This issue persists with a lock file written by the most recent version of flex.

Version:

symfony/flex       v1.2.6

Reproducing:

# Setup Symfony
composer create-project symfony/website-skeleton my-project

# Remove test-pack
composer remove symfony/test-pack --dev

Output:

Symfony operations: 1 recipe (d383c6fabd7f692fcebff8abb7bad1c1)
- Unconfiguring symfony/phpunit-bridge (>=4.3): From github.com/symfony/recipes:master
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!!
!!  Warning: require(C:\flex\my-project/config/bootstrap.php): failed to open stream: No such file or directory in C:\flex\my-project\bin\console on line 30                                                                                                                    

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