Hello guys, It'me again, one question, this doc <h...
# pact-php
b
Hello guys, It'me again, one question, this doc https://github.com/pact-foundation/pact-php/#provider-verification is update ? Because I got an error from undefined method, and when I searched into VerifierConfig I could find any method..
b
I found the error, I was using version 10.0 beta from pact-php, I think the stable version is 9.0.0, I changed it in my composer.json.Now I got a new error ashashahs, It seems the executable bin pact-provider-verifier does not exist.
y
the readme for the 10.x-beta in on the
ffi
branch. a composer install will download the standalone binaries as long as its enabled, it will ask you for the first time, to allow downloads (its a composer thing)
b
Thanks, We are going to run composer install again
Hey, I came back, ashahs. Now I installed the pact again via composer, but I got the same error, I visualized inside the vendor/pact-foundation/pact-php/pact/bin the binary, but somehow It didn't work, Is there any step that I missed?
Solved this problem, I should have installed bash in my container, I was using only sh
y
Ahh so that is a known issue re: bash. I solved it in the traveling-ruby source, but the changes need to be applied to pact-ruby-standalone, for it to be fully sh compliant and not require bash https://github.com/pact-foundation/pact-ruby-standalone/issues/40 with guidance provided here https://github.com/pact-foundation/pact-ruby-standalone/wiki/Using-the-pact-ruby-standalone-with-Alpine-Linux-Docker https://docs.pact.io/docker#for-pact-implementations-that-use-the-ruby-shared-core-1 1. We can remove bash from the requirements, post resolving of the linked issue 2. It may be prudent to update the main branch for pact-php with a link to the alpine guidance links above. a. https://github.com/pact-foundation/pact-php/#installation