Fix Albert Heijn API calls & implement OAuth refresh for AH #234
Annotations
10 errors and 2 warnings
Run Psalm:
../../incl/configProcessing.inc.php#L109
Const DEFAULT_LOOKUP_LANGUAGE is not defined (see https://psalm.dev/020)
|
Run Psalm:
../../incl/curl.inc.php#L161
Argument 1 of DatabaseConnection::saveLog expects string, bool|string provided (see https://psalm.dev/012)
|
Run Psalm:
../../incl/curl.inc.php#L174
Argument 1 of DatabaseConnection::saveLog expects string, bool|string provided (see https://psalm.dev/012)
|
Run Psalm:
../../incl/lookupProviders/ProviderAlbertHeijn.php#L62
Argument 1 of ProviderAlbertHeijn::updateAuthToken cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm:
../../incl/lookupProviders/ProviderAlbertHeijn.php#L71
Argument 1 of ProviderAlbertHeijn::updateAuthToken cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm:
../../incl/lookupProviders/ProviderAlbertHeijn.php#L86
The declared return type 'array<array-key, mixed>|null' for ProviderAlbertHeijn::newAuthToken is incorrect, got 'ArrayAccess|array{access_token: mixed}|null' (see https://psalm.dev/011)
|
Run Psalm:
../../incl/lookupProviders/ProviderAlbertHeijn.php#L94
The inferred type 'ArrayAccess|array{access_token: mixed}' does not match the declared return type 'array<array-key, mixed>|null' for ProviderAlbertHeijn::newAuthToken (see https://psalm.dev/128)
|
Run Psalm:
../../incl/lookupProviders/ProviderAlbertHeijn.php#L97
The declared return type 'array<array-key, mixed>|null' for ProviderAlbertHeijn::refreshToken is incorrect, got 'ArrayAccess|array{access_token: mixed}|null' (see https://psalm.dev/011)
|
Run Psalm:
../../incl/lookupProviders/ProviderAlbertHeijn.php#L112
The inferred type 'ArrayAccess|array{access_token: mixed}' does not match the declared return type 'array<array-key, mixed>|null' for ProviderAlbertHeijn::refreshToken (see https://psalm.dev/128)
|
Run Psalm:
../../incl/uiEditor.inc.php#L733
Parameter $asHtml has no provided type (see https://psalm.dev/154)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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 logs for this run have expired and are no longer available.
Loading