Skip to content

Refactored type system #126

Refactored type system

Refactored type system #126

Triggered via pull request February 22, 2024 01:43
Status Failure
Total duration 1m 35s
Artifacts

continuous-integration.yml

on: pull_request
Matrix: composer-normalize
Matrix: composer-validate
Matrix: php-cs-fixer
Matrix: psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
MixedReturnTypeCoercion: src/types.php#L168
src/types.php:168:16: MixedReturnTypeCoercion: The declared return type 'Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>' for Typhoon\Type\types::array is more specific than the inferred return type '(Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>)|Typhoon\Type\ArrayType<mixed, mixed>' (see https://psalm.dev/197)
UnusedPsalmSuppress: src/types.php#L169
src/types.php:169:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/types.php#L169
src/types.php:169:43: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
MixedReturnTypeCoercion: src/types.php#L174
src/types.php:174:20: MixedReturnTypeCoercion: The type 'Typhoon\Type\ArrayType<mixed, mixed>' is more general than the declared return type 'Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>' for Typhoon\Type\types::array (see https://psalm.dev/197)
psalm (8.2)
Process completed with exit code 2.
MixedReturnTypeCoercion: src/types.php#L168
src/types.php:168:16: MixedReturnTypeCoercion: The declared return type 'Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>' for Typhoon\Type\types::array is more specific than the inferred return type '(Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>)|Typhoon\Type\ArrayType<mixed, mixed>' (see https://psalm.dev/197)
UnusedPsalmSuppress: src/types.php#L169
src/types.php:169:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/types.php#L169
src/types.php:169:43: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
MixedReturnTypeCoercion: src/types.php#L174
src/types.php:174:20: MixedReturnTypeCoercion: The type 'Typhoon\Type\ArrayType<mixed, mixed>' is more general than the declared return type 'Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>' for Typhoon\Type\types::array (see https://psalm.dev/197)
psalm (8.3)
Process completed with exit code 2.
MixedReturnTypeCoercion: src/types.php#L168
src/types.php:168:16: MixedReturnTypeCoercion: The declared return type 'Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>' for Typhoon\Type\types::array is more specific than the inferred return type '(Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>)|Typhoon\Type\ArrayType<mixed, mixed>' (see https://psalm.dev/197)
UnusedPsalmSuppress: src/types.php#L169
src/types.php:169:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/types.php#L169
src/types.php:169:43: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
MixedReturnTypeCoercion: src/types.php#L174
src/types.php:174:20: MixedReturnTypeCoercion: The type 'Typhoon\Type\ArrayType<mixed, mixed>' is more general than the declared return type 'Typhoon\Type\ArrayType<TKey:fn-typhoon\type\types::array as array-key, TValue:fn-typhoon\type\types::array as mixed>' for Typhoon\Type\types::array (see https://psalm.dev/197)
psalm (8.1)
Process completed with exit code 2.
psalm (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
composer-normalize (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
psalm (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
psalm (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
php-cs-fixer (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.