Fix trailing comma #904
Annotations
6 errors
RedundantConditionGivenDocblockType:
src/Psalm/Internal/Codebase/ConstantTypeResolver.php#L407
src/Psalm/Internal/Codebase/ConstantTypeResolver.php:407:13: RedundantConditionGivenDocblockType: Docblock-defined type object for $value is always object (see https://psalm.dev/156)
|
MixedArgument:
src/Psalm/Internal/Codebase/ConstantTypeResolver.php#L408
src/Psalm/Internal/Codebase/ConstantTypeResolver.php:408:53: MixedArgument: Argument 2 of Psalm\Type\Atomic\TEnumCase::__construct cannot be mixed, expecting string (see https://psalm.dev/030)
|
InvalidClass:
src/Psalm/Internal/Codebase/Reflection.php#L62
src/Psalm/Internal/Codebase/Reflection.php:62:29: InvalidClass: Class, interface or enum LibXMLError has wrong casing (see https://psalm.dev/007)
|
UnusedPsalmSuppress:
src/Psalm/Internal/Codebase/Reflection.php#L429
src/Psalm/Internal/Codebase/Reflection.php:429:33: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
|
UnnecessaryVarAnnotation:
tests/Internal/Codebase/InternalCallMapHandlerTest.php#L609
tests/Internal/Codebase/InternalCallMapHandlerTest.php:609:22: UnnecessaryVarAnnotation: The @var ReflectionType|null annotation for $expectedType is unnecessary (see https://psalm.dev/212)
|
build
Process completed with exit code 2.
|