Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/standard/errorreporting/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"google/cloud-error-reporting": "^0.25.0"
"google/cloud-error-reporting": "^0.26.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This version bump introduces a breaking change. Version 0.26.0 of google/cloud-error-reporting removes the GAPIC clients, including ErrorStatsServiceClient.

The tests for this sample in test/DeployTest.php rely on Google\Cloud\ErrorReporting\V1beta1\ErrorStatsServiceClient. After this update, the tests will fail with a "class not found" error.

To fix this, you need to add google/cloud-php to the development dependencies in this composer.json file, as the client has been moved to that package. For example, you would add a require-dev section:

"require-dev": {
    "google/cloud-php": "^0.200.0"
}

},
"autoload": {
"files": [
Expand Down
Loading