php-semver-checker icon indicating copy to clipboard operation
php-semver-checker copied to clipboard

Impact command

Open tomzx opened this issue 10 years ago • 0 comments

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.

tomzx avatar Jan 27 '15 12:01 tomzx