Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

32
vendor/google/auth/tests/BaseTest.php vendored Normal file
View File

@@ -0,0 +1,32 @@
<?php
namespace Google\Auth\tests;
use GuzzleHttp\ClientInterface;
abstract class BaseTest extends \PHPUnit_Framework_TestCase
{
public function onlyGuzzle6()
{
$version = ClientInterface::VERSION;
if ('6' !== $version[0]) {
$this->markTestSkipped('Guzzle 6 only');
}
}
public function onlyGuzzle5()
{
$version = ClientInterface::VERSION;
if ('5' !== $version[0]) {
$this->markTestSkipped('Guzzle 5 only');
}
}
/**
* @see Google\Auth\$this->getValidKeyName
*/
public function getValidKeyName($key)
{
return preg_replace('|[^a-zA-Z0-9_\.! ]|', '', $key);
}
}