Skip to content

Commit 1b98b36

Browse files
authored
Merge branch 'master' into spanner-commit-stats-sample
2 parents d0d5d07 + 186b1eb commit 1b98b36

File tree

22 files changed

+48
-6
lines changed

22 files changed

+48
-6
lines changed

appengine/flexible/analytics/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<testsuites>
2222
<testsuite name="App Engine Flex Memcache tests">
2323
<directory>testdirectory>
24+
<exclude>test/DeployTest.phpexclude>
2425
testsuite>
2526
testsuites>
2627
<logging>

appengine/flexible/datastore/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="App Engine Flex Datastore tests">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/drupal8/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="Drupal deployment test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<filter>

appengine/flexible/helloworld/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="PHP Getting Started Test Suite">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/laravel/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="Laravel deployment test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<filter>

appengine/flexible/logging/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="AppEngine Flex logging test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/memcache/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="App Engine Flex Memcache tests">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/metadata/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="AppEngine Flex metadata test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/staticcontent/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="PHP static content test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<filter>

appengine/flexible/storage/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="AppEngine Flex storage test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/supervisord/addition/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite>
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/supervisord/replacement/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite>
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<filter>

appengine/flexible/symfony/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="Symfony deployment test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<filter>

appengine/flexible/tasks/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="App Engine Flexible Cloud Tasks test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/twilio/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="PHP twilio test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/websockets/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="default">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

appengine/flexible/wordpress/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="App Engine Flexible WordPress test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<php>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file specifies files that are *not* uploaded to Google Cloud Platform
2+
# using gcloud. It follows the same syntax as .gitignore, with the addition of
3+
# "#!include" directives (which insert the entries of the given .gitignore-style
4+
# file at that point).
5+
#
6+
# For more information, run:
7+
# $ gcloud topic gcloudignore
8+
#
9+
.gcloudignore
10+
# If you would like to upload your .git directory, .gitignore file or files
11+
# from your .gitignore file, remove the corresponding line
12+
# below:
13+
.git
14+
.gitignore
15+
16+
# PHP Composer dependencies:
17+
/vendor/
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"require": {
3-
"slim/slim": " ^4.0"
3+
"slim/slim": " ^4.0",
4+
"slim/psr7": "^1.3"
45
}
56
}

appengine/standard/slim-framework/index.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,20 @@
2222
*/
2323
require 'vendor/autoload.php';
2424

25+
use Psr\Http\Message\ResponseInterface as Response;
26+
use Psr\Http\Message\ServerRequestInterface as Request;
27+
use Slim\Factory\AppFactory;
28+
2529
# [START gae_slim_front_controller]
26-
$app = new Slim\App();
27-
$app->get('/', function ($request, $response) {
30+
$app = AppFactory::create();
31+
$app->addRoutingMiddleware();
32+
33+
$app->get('/', function (Request $request, Response $response) {
2834
// Use the Null Coalesce Operator in PHP7
2935
// http://php.net/manual/en/language.operators.comparison.php#language.operators.comparison.coalesce
3036
$name = $request->getQueryParams()['name'] ?? 'World';
31-
return $response->getBody()->write("Hello, $name!");
37+
$response->getBody()->write("Hello, $name!");
38+
return $response;
3239
});
3340
$app->run();
3441
# [END gae_slim_front_controller]

bigtable/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-bigtable": "^1.3.1",
4-
"psr/cache": "^1.0"
3+
"google/cloud-bigtable": "^1.3.1"
54
},
65
"autoload-dev": {
76
"psr-4": {

endpoints/getting-started/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testsuites>
1919
<testsuite name="PHP endpoints test">
2020
<directory>testdirectory>
21+
<exclude>test/DeployTest.phpexclude>
2122
testsuite>
2223
testsuites>
2324
<logging>

0 commit comments

Comments
 (0)