Skip to content

[7.4RC3] Updating phpunit-bridge remove important files #1494

@damienalexandre

Description

@damienalexandre

On a Symfony 7.3 project, I'm upgrading to 7.4RC3 via:

composer config minimum-stability rc
composer config extra.symfony.require "7.4.*"
composer update

I updated some Flex recipes and it all went good.

Then I run:

composer symfony:recipes:update symfony/phpunit-bridge

And my diff is:

On branch upgradeSymfony8
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	deleted:    .env.test
	deleted:    .gitignore
	deleted:    bin/phpunit
	modified:   phpunit.xml.dist
	modified:   symfony.lock
	deleted:    tests/bootstrap.php

Most of those files should not have disappeared, for example : .gitignore should not be removed.

How to reproduce

This was done on a open source project:

Checkout the branch, and run:

composer symfony:recipes:update symfony/phpunit-bridge

(you can use castor start && castor builder to have the project running via Docker and a shell to run the command).

Maybe related to #1401

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