pact-foundation / pact-php

PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
273 stars 92 forks source link

chore: Fix call to undefined method #582

Closed tienvx closed 5 months ago

tienvx commented 5 months ago

Fix this error:

------ --------------------------------------------------------------------------- 
  Line   tests/PhpPact/Standalone/ProviderVerifier/VerifierTest.php                 
 ------ --------------------------------------------------------------------------- 
  172    Call to an undefined method                                                
         PhpPact\Standalone\ProviderVerifier\Model\Source\Url::setEnablePending().  
 ------ ---------------------------------------------------------------------------

It also fix a warning in IDE https://github.com/pact-foundation/pact-php/pull/517

For https://github.com/pact-foundation/pact-php/pull/564