whitespace
This commit is contained in:
2
main/.gitignore
vendored
Normal file
2
main/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
LICENSE
|
||||||
|
README.md
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
require_once(dirname(__FILE__) . "/http/HttpClient.php");
|
require_once(dirname(__FILE__) . "/http/HttpClient.php");
|
||||||
require_once(dirname(__FILE__) . "/http/MashapeResponse.php");
|
require_once(dirname(__FILE__) . "/http/MashapeResponse.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -4,4 +4,4 @@ interface Authentication {
|
|||||||
|
|
||||||
public function handleParams();
|
public function handleParams();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -37,4 +37,4 @@ class AuthenticationUtil {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -18,7 +18,4 @@ class BasicAuthentication extends HeaderAuthentication {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -17,6 +17,4 @@ class CustomHeaderAuthentication extends HeaderAuthentication {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
@@ -6,4 +6,4 @@ abstract class HeaderAuthentication implements Authentication {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -14,5 +14,4 @@ class MashapeAuthentication extends HeaderAuthentication {
|
|||||||
return $this->headers;
|
return $this->headers;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@@ -21,7 +21,4 @@ class OAuth10aAuthentication extends OAuthAuthentication {
|
|||||||
return $headers;
|
return $headers;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -17,8 +17,4 @@ class OAuth2Authentication extends OAuthAuthentication {
|
|||||||
return $params;
|
return $params;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -37,6 +37,4 @@ class OAuthAuthentication implements Authentication {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
@@ -17,5 +17,4 @@ class QueryAuthentication implements Authentication {
|
|||||||
return $this->params;
|
return $this->params;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@@ -67,4 +67,4 @@ define("EXCEPTION_CURL",
|
|||||||
define("EXCEPTION_SYSTEM_ERROR_CODE", 2000);
|
define("EXCEPTION_SYSTEM_ERROR_CODE", 2000);
|
||||||
define("EXCEPTION_JSONDECODE_REQUEST", "Can't deserialize the response JSON: %s");
|
define("EXCEPTION_JSONDECODE_REQUEST", "Can't deserialize the response JSON: %s");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -34,4 +34,4 @@ class MashapeClientException extends Exception {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -43,4 +43,4 @@ if (!function_exists('http-chunked-decode')) {
|
|||||||
return ($hex == dechex($dec));
|
return ($hex == dechex($dec));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -31,4 +31,4 @@ class ContentType
|
|||||||
const JSON = "JSON";
|
const JSON = "JSON";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -131,4 +131,4 @@ class HttpClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -33,4 +33,4 @@ class HttpMethod
|
|||||||
const PATCH = "PATCH";
|
const PATCH = "PATCH";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -89,3 +89,4 @@ class HttpUtils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -58,4 +58,4 @@ class MashapeResponse {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -36,4 +36,4 @@ class UrlUtils {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -37,4 +37,4 @@ if (!function_exists('json_decode')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -803,4 +803,4 @@ if (class_exists('PEAR_Error')) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user