Trying to run victor like composer victor show (after installing nella/victor as a dev-dependency via composer) fails with the following error:
$ composer victor show
> ./vendor/bin/victor 'show'
PHP Warning: require(/var/www/html/test-project/vendor/nella/victor/bin/../vendor/composer/composer/src/bootstrap.php): failed to open stream: No such file or directory in /var/www/html/test-project/vendor/nella/victor/bin/victor on line 8
PHP Fatal error: require(): Failed opening required '/var/www/html/test-project/vendor/nella/victor/bin/../vendor/composer/composer/src/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/html/test-project/vendor/nella/victor/bin/victor on line 8
This is caused by invalid path in bin/victor on line 8.
Changing this:
require __DIR__ . '/../vendor/composer/composer/src/bootstrap.php';
to this:
require __DIR__ . '/../../../composer/composer/src/bootstrap.php';
fixes the error.
I will propose a patch for this issue (via PR) in a few moments.