-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Steps to reproduce:
- check out
phpspec/phpspec
- add this tool to composer requires and update
- run
vendor/bin/roave-backward-compatibility-check
Error:
[Symfony\Component\Process\Exception\ProcessFailedException]
The command "'git' 'rev-parse' ''" failed.
Exit Code: 128(Invalid exit argument)
The input parameter --from
is optional so its default value is NULL
. this is explicitly cast to a string ''
in AssertBackwardsCompatible::parseRevisionFromInput
, but the implementation of GitParseRevision
then builds a the CLI with an empty string, which breaks as above