public function setup() { if (null === self::$result) { $result = humbug_get_contents('https://www.howsmyssl.com/a/check'); self::$result = json_decode($result, true); } }
public function setup() { if (PHP_VERSION_ID >= 50600) { $this->markTestSkipped('Under PHP 5.6+ no requests will be modified.'); } if (null === self::$result) { $result = humbug_get_contents('https://howsmyssl.com/a/check'); self::$result = json_decode($result, true); } }