for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CanalTP\AbstractGuzzle\Tests\Mock;
use CanalTP\AbstractGuzzle\GuzzleFactory;
use GuzzleHttp\Subscriber\Mock;
class Guzzle5Mock extends \PHPUnit_Framework_TestCase
{
/**
* Guzzle5Mock constructor.
*/
public function __construct(array $responseCollection)
$client = GuzzleFactory::createGuzzle('');
createGuzzle()
$options
This check looks for function calls that miss required arguments.
$mock = new Mock($responseCollection);
$client->getEmitter()->attach($mock);
return $client;
}
This check looks for function calls that miss required arguments.