Skip to content

update matrix

update matrix #7

Triggered via push September 23, 2023 18:03
Status Failure
Total duration 3m 23s
Artifacts

php.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
TooManyTemplateParams: packages/file-symfony-bridge/src/Form/FileTransformer.php#L28
packages/file-symfony-bridge/src/Form/FileTransformer.php:28:34: TooManyTemplateParams: Rekalogika\File\Bridge\Symfony\Form\FileTransformer has too many template params when extending Symfony\Component\Form\DataTransformerInterface, expecting 0 (see https://psalm.dev/184)
MoreSpecificImplementedParamType: packages/file-symfony-bridge/src/Form/FileTransformer.php#L58
packages/file-symfony-bridge/src/Form/FileTransformer.php:58:44: MoreSpecificImplementedParamType: Argument 1 of Rekalogika\File\Bridge\Symfony\Form\FileTransformer::reverseTransform has the more specific type 'Symfony\Component\HttpFoundation\File\File|null', expecting 'mixed' as defined by Symfony\Component\Form\DataTransformerInterface::reverseTransform (see https://psalm.dev/140)
MixedInferredReturnType: packages/file/src/File.php#L173
packages/file/src/File.php:173:43: MixedInferredReturnType: Could not verify return type 'Psr\Http\Message\StreamInterface' for Rekalogika\File\File::getContentAsStream (see https://psalm.dev/047)
MixedReturnStatement: packages/file/src/File.php#L177
packages/file/src/File.php:177:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
UndefinedClass: packages/file/src/File.php#L177
packages/file/src/File.php:177:21: UndefinedClass: Class, interface or enum named Http\Discovery\Psr17Factory does not exist (see https://psalm.dev/019)
MixedMethodCall: packages/file/src/File.php#L177
packages/file/src/File.php:177:38: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
TooManyTemplateParams: tests/FileSymfonyBridge/FileValidatorTest.php#L24
tests/FileSymfonyBridge/FileValidatorTest.php:24:7: TooManyTemplateParams: Rekalogika\File\Tests\FileSymfonyBridge\FileValidatorTest has too many template params when extending Symfony\Component\Validator\Test\ConstraintValidatorTestCase, expecting 0 (see https://psalm.dev/184)
MissingReturnType: tests/FileSymfonyBridge/FileValidatorTest.php#L26
tests/FileSymfonyBridge/FileValidatorTest.php:26:24: MissingReturnType: Method Rekalogika\File\Tests\FileSymfonyBridge\FileValidatorTest::createValidator does not have a return type, expecting Rekalogika\File\Bridge\Symfony\Constraints\FileValidator (see https://psalm.dev/050)
TooManyTemplateParams: tests/FileSymfonyBridge/ImageValidatorTest.php#L24
tests/FileSymfonyBridge/ImageValidatorTest.php:24:7: TooManyTemplateParams: Rekalogika\File\Tests\FileSymfonyBridge\ImageValidatorTest has too many template params when extending Symfony\Component\Validator\Test\ConstraintValidatorTestCase, expecting 0 (see https://psalm.dev/184)
MissingReturnType: tests/FileSymfonyBridge/ImageValidatorTest.php#L26
tests/FileSymfonyBridge/ImageValidatorTest.php:26:24: MissingReturnType: Method Rekalogika\File\Tests\FileSymfonyBridge\ImageValidatorTest::createValidator does not have a return type, expecting Rekalogika\File\Bridge\Symfony\Constraints\ImageValidator (see https://psalm.dev/050)