Skip to content

composer install --no-scripts installs 0.13.4 instead of 0.15.0 #876

@someniatko

Description

@someniatko
Question Answer
Infection version 0.13.4 (infection.phar --version) but intended is 0.15.0
Test Framework version PHPUnit 8.4.3
PHP version 7.4.0
Platform Alpine Linux, also Windows 10 - results are the same
Github Repo -
  1. add infection/infection ^0.15 to your composer.json file
  2. remove vendor folder and composer.lock file for the clean experiment
  3. run composer install --no-scripts (composer.lock file will be generated)
  4. observe that in composer.lock version is set to correct one (for now it's 0.15.0)
  5. run vendor/bin/infection --version.

Expected:
Infection - PHP Mutation Testing Framework 0.15.x@<hash>

Actual:
Infection - PHP Mutation Testing Framework 0.13.4@f0f8327f5e60d1a7d8ab4ea01074c6250ab96f57

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions