Skip to content

🐑 functions: Refactor PHP samples #1271

@ace-n

Description

@ace-n

This is an issue tracking all requested refactors of Cloud Functions PHP samples.

  • Add start scripts to composer.json
  • Use trait-based request method instead of raw POSTs in integration tests (e.g. $this->client->request('POST' --> $this->request(CloudEvent::fromArray($cloudevent));)
  • Use processFunctionLogs helper.
  • New: Replace assertContains() with assertStringContainsString()

Metadata

Metadata

Assignees

Labels

api: cloudfunctionsIssues related to the Cloud Run functions API.priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions