Add support for <any /> #105
Annotations
12 errors and 2 warnings
MixedReturnTypeCoercion:
src/Encoder/AnyElementEncoder.php#L17
src/Encoder/AnyElementEncoder.php:17:16: MixedReturnTypeCoercion: The declared return type 'VeeWee\Reflecta\Iso\Iso<string, string>' for Soap\Encoding\Encoder\AnyElementEncoder::iso is more specific than the inferred return type 'VeeWee\Reflecta\Iso\Iso<mixed|string, string>' (see https://psalm.dev/197)
|
MixedArgumentTypeCoercion:
src/Encoder/AnyElementEncoder.php#L21
src/Encoder/AnyElementEncoder.php:21:16: MixedArgumentTypeCoercion: Type mixed|string should be a subtype of string (see https://psalm.dev/194)
|
ArgumentTypeCoercion:
src/Encoder/AnyElementEncoder.php#L21
src/Encoder/AnyElementEncoder.php:21:16: ArgumentTypeCoercion: Type string should be a subtype of Soap\Encoding\Xml\Node\Element|non-empty-string (see https://psalm.dev/193)
|
MixedReturnTypeCoercion:
src/Encoder/AnyElementEncoder.php#L21
src/Encoder/AnyElementEncoder.php:21:16: MixedReturnTypeCoercion: The type 'VeeWee\Reflecta\Iso\Iso<mixed|string, string>' is more general than the declared return type 'VeeWee\Reflecta\Iso\Iso<string, string>' for Soap\Encoding\Encoder\AnyElementEncoder::iso (see https://psalm.dev/197)
|
ArgumentTypeCoercion:
src/Restriction/ProcessXmlContentRestriction.php#L53
src/Restriction/ProcessXmlContentRestriction.php:53:33: ArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Document::fromXmlString expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
PHP 8.3 @ ubuntu-latest
Process completed with exit code 2.
|
MixedReturnTypeCoercion:
src/Encoder/AnyElementEncoder.php#L17
src/Encoder/AnyElementEncoder.php:17:16: MixedReturnTypeCoercion: The declared return type 'VeeWee\Reflecta\Iso\Iso<string, string>' for Soap\Encoding\Encoder\AnyElementEncoder::iso is more specific than the inferred return type 'VeeWee\Reflecta\Iso\Iso<mixed|string, string>' (see https://psalm.dev/197)
|
MixedArgumentTypeCoercion:
src/Encoder/AnyElementEncoder.php#L21
src/Encoder/AnyElementEncoder.php:21:16: MixedArgumentTypeCoercion: Type mixed|string should be a subtype of string (see https://psalm.dev/194)
|
ArgumentTypeCoercion:
src/Encoder/AnyElementEncoder.php#L21
src/Encoder/AnyElementEncoder.php:21:16: ArgumentTypeCoercion: Type string should be a subtype of Soap\Encoding\Xml\Node\Element|non-empty-string (see https://psalm.dev/193)
|
MixedReturnTypeCoercion:
src/Encoder/AnyElementEncoder.php#L21
src/Encoder/AnyElementEncoder.php:21:16: MixedReturnTypeCoercion: The type 'VeeWee\Reflecta\Iso\Iso<mixed|string, string>' is more general than the declared return type 'VeeWee\Reflecta\Iso\Iso<string, string>' for Soap\Encoding\Encoder\AnyElementEncoder::iso (see https://psalm.dev/197)
|
ArgumentTypeCoercion:
src/Restriction/ProcessXmlContentRestriction.php#L53
src/Restriction/ProcessXmlContentRestriction.php:53:33: ArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Document::fromXmlString expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
PHP 8.2 @ ubuntu-latest
Process completed with exit code 2.
|
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
|
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
|