Add support for <any /> #107
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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
|