Skip to content

Commit 20ae749

Browse files
committed
namespace changed.
1 parent 1206ccf commit 20ae749

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.idea/runConfigurations/SimpleTestCase.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
},
4646
"autoload": {
4747
"psr-4": {
48-
"Quickstart\\": "src"
48+
"CloudFunctions\\": "src"
4949
}
5050
},
5151
"autoload-dev": {
5252
"psr-4": {
53-
"Quickstart\\Test\\": "tests"
53+
"CloudFunctions\\Test\\": "tests"
5454
}
5555
}
5656
}

index.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
// Register functions with the Functions Framework.
1212
// https://console.cloud.google.com/functions/list
13-
FunctionsFramework::http( 'on_https', 'Quickstart\\CloudFunctions::on_https');
14-
FunctionsFramework::cloudEvent( 'on_pubsub', 'Quickstart\\CloudFunctions::on_pubsub');
15-
FunctionsFramework::cloudEvent( 'on_gcs', 'Quickstart\\CloudFunctions::on_gcs');
16-
13+
FunctionsFramework::http( 'on_https', 'CloudFunctions\\CloudFunctions::on_https');
14+
FunctionsFramework::cloudEvent( 'on_pubsub', 'CloudFunctions\\CloudFunctions::on_pubsub');
15+
FunctionsFramework::cloudEvent( 'on_gcs', 'CloudFunctions\\CloudFunctions::on_gcs');

src/CloudFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Quickstart;
2+
namespace CloudFunctions;
33

44
use CloudEvents\V1\CloudEventInterface;
55
use GuzzleHttp\Psr7\Response;

tests/SimpleTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
2-
namespace Quickstart\Test;
2+
namespace CloudFunctions\Test;
33

44
use CloudEvents\V1\CloudEventImmutable;
55
use GuzzleHttp\Psr7\ServerRequest;
6-
use Quickstart\CloudFunctions;
6+
use CloudFunctions\CloudFunctions;
77
use PHPUnit\Framework\TestCase;
88

99
/**

0 commit comments

Comments
 (0)