8000 Removing test-pack deletes config/bootstrap.php file · Issue #29805 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Removing test-pack deletes config/bootstrap.php file #29805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
devngl opened this issue Jan 6, 2019 · 2 comments
Closed

Removing test-pack deletes config/bootstrap.php file #29805

devngl opened this issue Jan 6, 2019 · 2 comments

Comments

@devngl
Copy link
devngl commented Jan 6, 2019

Symfony version(s) affected: 4.2.2

Description
On a clean installation removing test-pack deletes bootstrap file and leaves the system unusable.

How to reproduce
composer remove symfony/test-pack

symfony/test-pack could not be found in require but it is present in require-dev
Do you want to remove it from require-dev [yes]? yes
Dependency "symfony/process" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/process" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.2.*"
Package operations: 0 installs, 0 updates, 7 removals
  - Removing symfony/test-pack (v1.0.5)
  - Removing symfony/phpunit-bridge (v4.2.1)
  - Removing symfony/panther (v0.2.0)
  - Removing symfony/dom-crawler (v4.2.1)
  - Removing symfony/css-selector (v4.2.1)
  - Removing symfony/browser-kit (v4.2.1)
  - Removing facebook/webdriver (1.6.0)
Writing lock file
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
Symfony operations: 1 recipe (0d0fee1b6ecd75e91c7ee15f9f008add)
  - Unconfiguring symfony/phpunit-bridge (>=4.1): From github.com/symfony/recipes:master
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!
!!  Warning: require(test/config/bootstrap.php): failed to open stream: No such file or directory in test/bin/console on line 26
!!
!!  Fatal error: require(): Failed opening required 'test/config/bootstrap.php' (include_path='.:') in test/bin/console on line 26
!!
Script @auto-scripts was called via post-update-cmd```
@chalasr
Copy link
Member
chalasr commented Jan 7, 2019

I can confirm the bug. However, it is not related to this repository.
Could you please report this issue on https://github.com/symfony/flex?
Closing here, thank you.

@chalasr chalasr closed this as completed Jan 7, 2019
@nicolas-grekas
Copy link
Member

Already reported as symfony/flex#428 and fix in progress at symfony/flex#451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0