Skip to content

Add support for <any /> #107

Add support for <any />

Add support for <any /> #107

Triggered via pull request December 13, 2024 15:20
@veeweeveewee
synchronize #29
veewee:any
Status Failure
Total duration 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

analyzers.yaml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
MoreSpecificReturnType: src/Encoder/AnyElementEncoder.php#L71
src/Encoder/AnyElementEncoder.php:71:30: MoreSpecificReturnType: The declared return type 'non-empty-string' for /home/runner/work/encoding/encoding/src/encoder/anyelementencoder.php:73:2421:-:closure is more specific than the inferred return type 'string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Encoder/AnyElementEncoder.php#L73
src/Encoder/AnyElementEncoder.php:73:68: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'non-empty-string' for /home/runner/work/encoding/encoding/src/encoder/anyelementencoder.php:73:2421:-:closure (see https://psalm.dev/129)
ImplicitToStringCast: src/Encoder/OptionalElementEncoder.php#L60
src/Encoder/OptionalElementEncoder.php:60:90: ImplicitToStringCast: Argument 1 of Soap\Encoding\Xml\Node\Element::fromString expects non-empty-string, but Soap\Encoding\Xml\Node\ElementList|non-empty-string provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/Encoder/OptionalElementEncoder.php#L66
src/Encoder/OptionalElementEncoder.php:66:42: ImplicitToStringCast: Argument 1 of VeeWee\Reflecta\Iso\Iso::from expects Soap\Encoding\Xml\Node\Element|non-empty-string, but Soap\Encoding\Xml\Node\Element|Soap\Encoding\Xml\Node\ElementList|non-empty-string provided with a __toString method (see https://psalm.dev/060)
PHP 8.2 @ ubuntu-latest
Process completed with exit code 2.
MoreSpecificReturnType: src/Encoder/AnyElementEncoder.php#L71
src/Encoder/AnyElementEncoder.php:71:30: MoreSpecificReturnType: The declared return type 'non-empty-string' for /home/runner/work/encoding/encoding/src/encoder/anyelementencoder.php:73:2421:-:closure is more specific than the inferred return type 'string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Encoder/AnyElementEncoder.php#L73
src/Encoder/AnyElementEncoder.php:73:68: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'non-empty-string' for /home/runner/work/encoding/encoding/src/encoder/anyelementencoder.php:73:2421:-:closure (see https://psalm.dev/129)
ImplicitToStringCast: src/Encoder/OptionalElementEncoder.php#L60
src/Encoder/OptionalElementEncoder.php:60:90: ImplicitToStringCast: Argument 1 of Soap\Encoding\Xml\Node\Element::fromString expects non-empty-string, but Soap\Encoding\Xml\Node\ElementList|non-empty-string provided with a __toString method (see https://psalm.dev/060)
ImplicitToStringCast: src/Encoder/OptionalElementEncoder.php#L66
src/Encoder/OptionalElementEncoder.php:66:42: ImplicitToStringCast: Argument 1 of VeeWee\Reflecta\Iso\Iso::from expects Soap\Encoding\Xml\Node\Element|non-empty-string, but Soap\Encoding\Xml\Node\Element|Soap\Encoding\Xml\Node\ElementList|non-empty-string provided with a __toString method (see https://psalm.dev/060)
PHP 8.3 @ ubuntu-latest
Process completed with exit code 2.
PHP 8.2 @ ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3 @ ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636