Add support for conditional types, offset access types and key-of, value-of, int-mask, int-mask-of
#232
integrate.yaml
on: pull_request
Unit test
/
Supported Versions Matrix
7s
Code Coverage
/
Code Coverage
15s
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
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/PseudoTypes/ValueOf.php#L22
Whitespace found at end of line
|
|
Coding Standards / Coding Standards (8.0):
/github/workspace/src/PseudoTypes/Conditional.php#L24
Whitespace found at end of line
|
|
Coding Standards / Coding Standards (8.0):
/github/workspace/src/PseudoTypes/OffsetAccess.php#L44
Whitespace found at end of line
|
|
Coding Standards / Coding Standards (8.0):
/github/workspace/src/PseudoTypes/OffsetAccess.php#L24
Whitespace found at end of line
|
|
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)
|