Skip to content

Add support for conditional types, offset access types and key-of, value-of, int-mask, int-mask-of #232

Add support for conditional types, offset access types and key-of, value-of, int-mask, int-mask-of

Add support for conditional types, offset access types and key-of, value-of, int-mask, int-mask-of #232

Triggered via pull request November 18, 2025 13:43
Status Failure
Total duration 1m 5s
Artifacts

integrate.yaml

on: pull_request
Unit test  /  Supported Versions Matrix
7s
Unit test / Supported Versions Matrix
Code Coverage  /  Code Coverage
15s
Code Coverage / Code Coverage
Matrix: Coding Standards / Coding Standards
Matrix: Dependency analysis / Dependency Analysis
Matrix: Lint root / Lint yaml & Composer
Matrix: Static analysis / Static Code Analysis
Matrix: Unit test / Tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors
Dependency analysis / Dependency Analysis (8.0)
Process completed with exit code 1.
Coding Standards / Coding Standards (8.0): /github/workspace/src/PseudoTypes/ValueOf.php#L47
Variable "$this" not allowed in double quoted string; use sprintf() or concatenation instead
Coding Standards / Coding Standards (8.0): /github/workspace/src/TypeResolver.php#L380
Missing variable $type before or after the documentation comment.
Coding Standards / Coding Standards (8.0): /github/workspace/src/TypeResolver.php#L373
Function substr() should not be referenced via a fallback global name, but via a use statement.
Coding Standards / Coding Standards (8.0): /github/workspace/src/TypeResolver.php#L370
Missing variable $type before or after the documentation comment.
Coding Standards / Coding Standards (8.0): /github/workspace/src/TypeResolver.php#L360
Missing variable $type before or after the documentation comment.
Coding Standards / Coding Standards (8.0): /github/workspace/src/TypeResolver.php#L30
Use statements should be sorted alphabetically. The first wrong one is phpDocumentor\Reflection\PseudoTypes\IntMask.
Static analysis / Static Code Analysis (8.0)
Process completed with exit code 2.
ImplicitToStringCast: src/PseudoTypes/ConditionalForParameter.php#L87
src/PseudoTypes/ConditionalForParameter.php:87:13: ImplicitToStringCast: Argument 6 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/PseudoTypes/ConditionalForParameter.php#L86
src/PseudoTypes/ConditionalForParameter.php:86:13: ImplicitToStringCast: Argument 5 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/PseudoTypes/ConditionalForParameter.php#L85
src/PseudoTypes/ConditionalForParameter.php:85:13: ImplicitToStringCast: Argument 4 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/PseudoTypes/Conditional.php#L87
src/PseudoTypes/Conditional.php:87:13: ImplicitToStringCast: Argument 6 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/PseudoTypes/Conditional.php#L86
src/PseudoTypes/Conditional.php:86:13: ImplicitToStringCast: Argument 5 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/PseudoTypes/Conditional.php#L85
src/PseudoTypes/Conditional.php:85:13: ImplicitToStringCast: Argument 4 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/PseudoTypes/Conditional.php#L83
src/PseudoTypes/Conditional.php:83:13: ImplicitToStringCast: Argument 2 of sprintf expects float|int|string, but phpDocumentor\Reflection\Type provided with a __toString method (see https://psalm.dev/060)