Skip to content

Commit

Permalink
Update test fixture transitive dep to be php 8 compatible
Browse files Browse the repository at this point in the history
```
[dependabot-core-dev] ~/dependabot-core/composer $ DEBUG_HELPERS=true rspec ./spec/dependabot/composer/update_checker_spec.rb:717
Run options: include {:locations=>{"./spec/dependabot/composer/update_checker_spec.rb"=>[717]}}

Randomized with seed 14137
php -d memory_limit=-1 /opt/composer/v2/bin/run
{"error":"Your requirements could not be resolved to an installable set of packages.\n  Problem 1\n    - doctrine\/instantiator 1.0.5 requires php >=5.3,<8.0-DEV -> your php version (8.2.1) does not satisfy that requirement.\n    - phpunit\/phpunit 5.1.3 requires phpunit\/phpunit-mock-objects >=3.0.5 -> satisfiable by phpunit\/phpunit-mock-objects[3.0.6].\n    - phpunit\/phpunit-mock-objects 3.0.6 requires doctrine\/instantiator ^1.0.2 -> satisfiable by doctrine\/instantiator[1.0.5].\n    - phpunit\/phpunit is locked to version 5.1.3 and an update of this package was not requested.\n"}
```

`doctrine/instantiator` is an indirect dep, so fine to bump w/o affecting
the unit test. So I ran `composer update doctrine/instantiator` to only
bump that dep (and any pins it required bumping) and then committing the results.

The test now passes.
  • Loading branch information
jeffwidman committed Jan 25, 2023
1 parent 7873332 commit df4b905
Showing 1 changed file with 60 additions and 46 deletions.
106 changes: 60 additions & 46 deletions composer/spec/fixtures/projects/autoload/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df4b905

Please sign in to comment.