Skip to content

fix: Introduce Event::fromArray #84

fix: Introduce Event::fromArray

fix: Introduce Event::fromArray #84

Re-run triggered September 9, 2024 20:18
Status Failure
Total duration 1m 27s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
test (8.3, ubuntu-latest): src/Amplitude/Event.php#L62
Method AmplitudeExperiment\Amplitude\Event::toArray() should return array{event_type: string, event_properties?: array|null, user_properties?: array|null, user_id?: string|null, device_id?: string|null, insert_id?: string|null, time?: int|null} but returns array{event_type?: non-falsy-string, event_properties?: non-empty-array, user_properties?: non-empty-array, user_id?: non-falsy-string, device_id?: non-falsy-string, insert_id?: non-falsy-string, time?: int<min, -1>|int<1, max>}.
test (8.3, ubuntu-latest)
Process completed with exit code 1.
test (8.2, ubuntu-latest): src/Amplitude/Event.php#L62
Method AmplitudeExperiment\Amplitude\Event::toArray() should return array{event_type: string, event_properties?: array|null, user_properties?: array|null, user_id?: string|null, device_id?: string|null, insert_id?: string|null, time?: int|null} but returns array{event_type?: non-falsy-string, event_properties?: non-empty-array, user_properties?: non-empty-array, user_id?: non-falsy-string, device_id?: non-falsy-string, insert_id?: non-falsy-string, time?: int<min, -1>|int<1, max>}.
test (8.2, ubuntu-latest)
Process completed with exit code 1.
test (7.4, ubuntu-latest): src/Amplitude/Event.php#L62
Method AmplitudeExperiment\Amplitude\Event::toArray() should return array{event_type: string, event_properties?: array|null, user_properties?: array|null, user_id?: string|null, device_id?: string|null, insert_id?: string|null, time?: int|null} but returns array{event_type?: non-falsy-string, event_properties?: non-empty-array, user_properties?: non-empty-array, user_id?: non-falsy-string, device_id?: non-falsy-string, insert_id?: non-falsy-string, time?: int<min, -1>|int<1, max>}.
test (7.4, ubuntu-latest)
Process completed with exit code 1.
test (8.0, ubuntu-latest): src/Amplitude/Event.php#L62
Method AmplitudeExperiment\Amplitude\Event::toArray() should return array{event_type: string, event_properties?: array|null, user_properties?: array|null, user_id?: string|null, device_id?: string|null, insert_id?: string|null, time?: int|null} but returns array{event_type?: non-falsy-string, event_properties?: non-empty-array, user_properties?: non-empty-array, user_id?: non-falsy-string, device_id?: non-falsy-string, insert_id?: non-falsy-string, time?: int<min, -1>|int<1, max>}.
test (8.0, ubuntu-latest)
Process completed with exit code 1.
test (8.1, ubuntu-latest): src/Amplitude/Event.php#L62
Method AmplitudeExperiment\Amplitude\Event::toArray() should return array{event_type: string, event_properties?: array|null, user_properties?: array|null, user_id?: string|null, device_id?: string|null, insert_id?: string|null, time?: int|null} but returns array{event_type?: non-falsy-string, event_properties?: non-empty-array, user_properties?: non-empty-array, user_id?: non-falsy-string, device_id?: non-falsy-string, insert_id?: non-falsy-string, time?: int<min, -1>|int<1, max>}.
test (8.1, ubuntu-latest)
Process completed with exit code 1.
test (8.3, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.3, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (8.2, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.2, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (7.4, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (7.4, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (8.0, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.0, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (8.1, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.1, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/