Skip to content

Instantly share code, notes, and snippets.

View jminkler's full-sized avatar

Jarret Minkler jminkler

View GitHub Profile
use GuzzleHttp\Psr7\Response;
$string = json_encode(['data' => 'test']);
$response = new Response(200, ['Content-Type' => 'application/json'], $string);
use Guzzle\Http\Message\Response;
@jminkler
jminkler / Testing PHP
Created February 10, 2018 20:37
Testing PHP
Automating code the easy way
3rd party services and webhooks to create reliable repeatable and dependable QA process
Ensure craftmasnship - complexity, deprecated, messy
Prevent Errors - Regression, syntax
Secutiy Vulns
Excpected outcomes
Product quality over time
Enhance product Value