fix: Introduce Event::fromArray #25
Closed
Annotations
2 errors and 2 warnings
Run PHPStan:
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>}.
|
Run PHPStan
Process completed with exit code 1.
|
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/
|
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/
|
Loading