chore(deps): update dependency vimeo/psalm to v5 #564
Annotations
5 errors and 1 warning
Run Psalm:
src/util/Validator.php#L52
src/util/Validator.php:52:16: InvalidReturnType: The declared return type 'array{key: string, reason: string, variant: string}' for OpenFeature\Providers\GoFeatureFlag\util\Validator::validateSuccessApiResponse is incorrect, got 'array{key: string, reason: string, variant: string, ...<array-key, mixed>}' (see https://psalm.dev/011)
|
Run Psalm:
src/util/Validator.php#L86
src/util/Validator.php:86:16: InvalidReturnStatement: The inferred type 'array{key: string, reason: string, variant: string, ...<array-key, mixed>}' does not match the declared return type 'array{key: string, reason: string, variant: string}' for OpenFeature\Providers\GoFeatureFlag\util\Validator::validateSuccessApiResponse (see https://psalm.dev/128)
|
Run Psalm:
src/util/Validator.php#L92
src/util/Validator.php:92:16: InvalidReturnType: The declared return type 'array{errorCode: string}' for OpenFeature\Providers\GoFeatureFlag\util\Validator::validateErrorApiResponse is incorrect, got 'array{errorCode: string, ...<array-key, mixed>}' (see https://psalm.dev/011)
|
Run Psalm:
src/util/Validator.php#L118
src/util/Validator.php:118:16: InvalidReturnStatement: The inferred type 'array{errorCode: string, ...<array-key, mixed>}' does not match the declared return type 'array{errorCode: string}' for OpenFeature\Providers\GoFeatureFlag\util\Validator::validateErrorApiResponse (see https://psalm.dev/128)
|
Run Psalm
Process completed with exit code 2.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, 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/
|
Loading