Skip to content

Impact command #44

Open
Open
@tomzx

Description

@tomzx

php bin/php-semver-checker impact my-project compare-results.json

The impact command take the results generated by the compare command and determine if you have anything to do to your code base to support the changes.

The purpose of this command is to go one step further in verifying if you have to apply any modifications to your code in order to integrate new changes. Often, the compare command will flag a code delta as major simply because new methods are added which could potentially conflict with methods in classes sub-classing changed classes. With this command, those detected changes would be tested against your code in order to detect whether or not there is conflict.

The output is a subset of the list of rules that was inputted. This list represents the rules that you need to take action against.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions