Skip to content

Commit beec695

Browse files
made repo silverstripe includable by removeing requireonces and adding _config.phps
1 parent 225c5b6 commit beec695

30 files changed

+71
-71
lines changed

_config.php

Whitespace-only changes.

src/Google/Auth/Abstract.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
require_once "Google/Http/Request.php";
17+
//require_once "Google/Http/Request.php";
1818

1919
/**
2020
* Abstract class for the Authentication in the API client

src/Google/Auth/AppIdentity.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
*/
2323
use google\appengine\api\app_identity\AppIdentityService;
2424

25-
require_once "Google/Auth/Abstract.php";
26-
require_once "Google/Http/Request.php";
25+
//require_once "Google/Auth/Abstract.php";
26+
//require_once "Google/Http/Request.php";
2727

2828
/**
2929
* Authentication via the Google App Engine App Identity service.

src/Google/Auth/AssertionCredentials.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Auth/OAuth2.php";
19-
require_once "Google/Signer/P12.php";
20-
require_once "Google/Utils.php";
18+
//require_once "Google/Auth/OAuth2.php";
19+
//require_once "Google/Signer/P12.php";
20+
//require_once "Google/Utils.php";
2121

2222
/**
2323
* Credentials object used for OAuth 2.0 Signed JWT assertion grants.

src/Google/Auth/Exception.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Exception.php";
18+
//require_once "Google/Exception.php";
1919

2020
class Google_Auth_Exception extends Google_Exception
2121
{

src/Google/Auth/LoginTicket.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Auth/Exception.php";
18+
//require_once "Google/Auth/Exception.php";
1919

2020
/**
2121
* Class to hold information about an authenticated login.

src/Google/Auth/OAuth2.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Auth/Abstract.php";
19-
require_once "Google/Auth/AssertionCredentials.php";
20-
require_once "Google/Auth/Exception.php";
21-
require_once "Google/Auth/LoginTicket.php";
22-
require_once "Google/Client.php";
23-
require_once "Google/Http/Request.php";
24-
require_once "Google/Utils.php";
25-
require_once "Google/Verifier/Pem.php";
18+
//require_once "Google/Auth/Abstract.php";
19+
//require_once "Google/Auth/AssertionCredentials.php";
20+
//require_once "Google/Auth/Exception.php";
21+
//require_once "Google/Auth/LoginTicket.php";
22+
//require_once "Google/Client.php";
23+
//require_once "Google/Http/Request.php";
24+
//require_once "Google/Utils.php";
25+
//require_once "Google/Verifier/Pem.php";
2626

2727
/**
2828
* Authentication class that deals with the OAuth 2 web-server authentication flow

src/Google/Auth/Simple.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Auth/Abstract.php";
19-
require_once "Google/Http/Request.php";
18+
//require_once "Google/Auth/Abstract.php";
19+
//require_once "Google/Http/Request.php";
2020

2121
/**
2222
* Simple API access implementation. Can either be used to make requests

src/Google/Cache/Apc.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Cache/Abstract.php";
19-
require_once "Google/Cache/Exception.php";
18+
//require_once "Google/Cache/Abstract.php";
19+
//require_once "Google/Cache/Exception.php";
2020

2121
/**
2222
* A persistent storage class based on the APC cache, which is not

src/Google/Cache/Exception.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
require_once "Google/Exception.php";
17+
//require_once "Google/Exception.php";
1818

1919
class Google_Cache_Exception extends Google_Exception
2020
{

src/Google/Cache/File.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Cache/Abstract.php";
19-
require_once "Google/Cache/Exception.php";
18+
//require_once "Google/Cache/Abstract.php";
19+
//require_once "Google/Cache/Exception.php";
2020

2121
/*
2222
* This class implements a basic on disk storage. While that does

src/Google/Cache/Memcache.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Cache/Abstract.php";
19-
require_once "Google/Cache/Exception.php";
18+
//require_once "Google/Cache/Abstract.php";
19+
//require_once "Google/Cache/Exception.php";
2020

2121
/**
2222
* A persistent storage class based on the memcache, which is not

src/Google/Cache/Null.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once "Google/Cache/Abstract.php";
19-
require_once "Google/Cache/Exception.php";
18+
//require_once "Google/Cache/Abstract.php";
19+
//require_once "Google/Cache/Exception.php";
2020

2121
/**
2222
* A blank storage class, for cases where caching is not

src/Google/Client.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Auth/AssertionCredentials.php';
19-
require_once 'Google/Cache/File.php';
20-
require_once 'Google/Cache/Memcache.php';
21-
require_once 'Google/Config.php';
22-
require_once 'Google/Collection.php';
23-
require_once 'Google/Exception.php';
24-
require_once 'Google/IO/Curl.php';
25-
require_once 'Google/IO/Stream.php';
26-
require_once 'Google/Model.php';
27-
require_once 'Google/Service.php';
28-
require_once 'Google/Service/Resource.php';
18+
//require_once 'Google/Auth/AssertionCredentials.php';
19+
//require_once 'Google/Cache/File.php';
20+
//require_once 'Google/Cache/Memcache.php';
21+
//require_once 'Google/Config.php';
22+
//require_once 'Google/Collection.php';
23+
//require_once 'Google/Exception.php';
24+
//require_once 'Google/IO/Curl.php';
25+
//require_once 'Google/IO/Stream.php';
26+
//require_once 'Google/Model.php';
27+
//require_once 'Google/Service.php';
28+
//require_once 'Google/Service/Resource.php';
2929

3030
/**
3131
* The Google API Client

src/Google/Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once "Google/Model.php";
3+
//require_once "Google/Model.php";
44

55
/**
66
* Extension to the regular Google_Model that automatically

src/Google/Http/Batch.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Client.php';
19-
require_once 'Google/Http/Request.php';
20-
require_once 'Google/Http/REST.php';
18+
//require_once 'Google/Client.php';
19+
//require_once 'Google/Http/Request.php';
20+
//require_once 'Google/Http/REST.php';
2121

2222
/**
2323
* @author Chirag Shah <[email protected]>

src/Google/Http/CacheParser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Http/Request.php';
18+
//require_once 'Google/Http/Request.php';
1919

2020
/**
2121
* Implement the caching directives specified in rfc2616. This

src/Google/Http/MediaFileUpload.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Client.php';
19-
require_once 'Google/Exception.php';
20-
require_once 'Google/Http/Request.php';
21-
require_once 'Google/Http/REST.php';
22-
require_once 'Google/Utils.php';
18+
//require_once 'Google/Client.php';
19+
//require_once 'Google/Exception.php';
20+
//require_once 'Google/Http/Request.php';
21+
//require_once 'Google/Http/REST.php';
22+
//require_once 'Google/Utils.php';
2323

2424
/**
2525
* @author Chirag Shah <[email protected]>

src/Google/Http/REST.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Client.php';
19-
require_once 'Google/Http/Request.php';
20-
require_once 'Google/Service/Exception.php';
21-
require_once 'Google/Utils/URITemplate.php';
18+
//require_once 'Google/Client.php';
19+
//require_once 'Google/Http/Request.php';
20+
//require_once 'Google/Service/Exception.php';
21+
//require_once 'Google/Utils/URITemplate.php';
2222

2323
/**
2424
* This class implements the RESTful transport of apiServiceRequest()'s

src/Google/Http/Request.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Utils.php';
18+
//require_once 'Google/Utils.php';
1919

2020
/**
2121
* HTTP Request to be executed by IO classes. Upon execution, the

src/Google/IO/Abstract.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
* Abstract IO base class
2020
*/
2121

22-
require_once 'Google/Client.php';
23-
require_once 'Google/IO/Exception.php';
24-
require_once 'Google/Http/CacheParser.php';
25-
require_once 'Google/Http/Request.php';
22+
//require_once 'Google/Client.php';
23+
//require_once 'Google/IO/Exception.php';
24+
//require_once 'Google/Http/CacheParser.php';
25+
//require_once 'Google/Http/Request.php';
2626

2727
abstract class Google_IO_Abstract
2828
{

src/Google/IO/Curl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @author Stuart Langley <[email protected]>
2222
*/
2323

24-
require_once 'Google/IO/Abstract.php';
24+
//require_once 'Google/IO/Abstract.php';
2525

2626
class Google_IO_Curl extends Google_IO_Abstract
2727
{

src/Google/IO/Exception.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Exception.php';
18+
//require_once 'Google/Exception.php';
1919

2020
class Google_IO_Exception extends Google_Exception
2121
{

src/Google/IO/Stream.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @author Stuart Langley <[email protected]>
2222
*/
2323

24-
require_once 'Google/IO/Abstract.php';
24+
//require_once 'Google/IO/Abstract.php';
2525

2626
class Google_IO_Stream extends Google_IO_Abstract
2727
{

src/Google/Service/Exception.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once 'Google/Exception.php';
3+
//require_once 'Google/Exception.php';
44

55
class Google_Service_Exception extends Google_Exception
66
{

src/Google/Service/Resource.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Client.php';
19-
require_once 'Google/Exception.php';
20-
require_once 'Google/Utils.php';
21-
require_once 'Google/Http/Request.php';
22-
require_once 'Google/Http/MediaFileUpload.php';
23-
require_once 'Google/Http/REST.php';
18+
//require_once 'Google/Client.php';
19+
//require_once 'Google/Exception.php';
20+
//require_once 'Google/Utils.php';
21+
//require_once 'Google/Http/Request.php';
22+
//require_once 'Google/Http/MediaFileUpload.php';
23+
//require_once 'Google/Http/REST.php';
2424

2525
/**
2626
* Implements the actual methods/resources of the discovered Google API using magic function

src/Google/Signer/P12.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Auth/Exception.php';
19-
require_once 'Google/Signer/Abstract.php';
18+
//require_once 'Google/Auth/Exception.php';
19+
//require_once 'Google/Signer/Abstract.php';
2020

2121
/**
2222
* Signs data.

src/Google/Verifier/Pem.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18-
require_once 'Google/Auth/Exception.php';
19-
require_once 'Google/Verifier/Abstract.php';
18+
//require_once 'Google/Auth/Exception.php';
19+
//require_once 'Google/Verifier/Abstract.php';
2020

2121
/**
2222
* Verifies signatures using PEM encoded certificates.

src/Google/_config.php

Whitespace-only changes.

src/_config.php

Whitespace-only changes.

0 commit comments

Comments
 (0)