Skip to content

Stat Can Be Enum

Stat Can Be Enum #62

Triggered via pull request July 20, 2024 12:11
Status Failure
Total duration 23s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L50
Parameter #1 $stat of method DataDog\DogStatsd::timing() expects string, string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L63
Parameter #1 $stat of method DataDog\DogStatsd::gauge() expects string, string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L76
Parameter #1 $stat of method DataDog\DogStatsd::histogram() expects string, string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L89
Parameter #1 $stat of method DataDog\DogStatsd::distribution() expects string, string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L102
Parameter #1 $stat of method DataDog\DogStatsd::set() expects string, string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L115
Parameter #1 $stats of method DataDog\DogStatsd::increment() expects array|string, array<int, string|UnitEnum>|string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L128
Parameter #1 $stats of method DataDog\DogStatsd::decrement() expects array|string, array<int, string|UnitEnum>|string|UnitEnum given.
build: src/Adapters/Datadog/DatadogStatsDClientAdapter.php#L141
Parameter #1 $stats of method DataDog\DogStatsd::updateStats() expects array|string, array<int, string|UnitEnum>|string|UnitEnum given.
build: src/Adapters/InMemory/InMemoryClientAdapter.php#L65
Parameter #1 $stat of class Cosmastech\StatsDClientAdapter\Adapters\InMemory\Models\InMemoryTimingRecord constructor expects string, string|UnitEnum given.
build: src/Adapters/InMemory/InMemoryClientAdapter.php#L81
Parameter #1 $stat of class Cosmastech\StatsDClientAdapter\Adapters\InMemory\Models\InMemoryGaugeRecord constructor expects string, string|UnitEnum given.
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/