diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e94cd3a..7294a5b 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -80,7 +80,6 @@ jobs: run: phpcs - name: Psalm - continue-on-error: true run: | psalm -c psalm.xml \ --show-info=true \ diff --git a/composer.json b/composer.json index 6d9d17c..73755bb 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "php": "^8.0", "ext-dom": "*", - "simplesamlphp/xml-common": "^1.8.0", + "simplesamlphp/xml-common": "^1.9.0", "simplesamlphp/assert": "^1.0.4" }, "require-dev": { diff --git a/src/XML/cas/Attributes.php b/src/XML/cas/Attributes.php index e383857..012028a 100644 --- a/src/XML/cas/Attributes.php +++ b/src/XML/cas/Attributes.php @@ -25,7 +25,7 @@ final class Attributes extends AbstractCasElement public const LOCALNAME = 'attributes'; /** The namespace-attribute for the xs:any element */ - public const NAMESPACE = C::XS_ANY_NS_ANY; + public const XS_ANY_ELT_NAMESPACE = C::XS_ANY_NS_ANY; /** diff --git a/src/XML/cas/AuthenticationFailure.php b/src/XML/cas/AuthenticationFailure.php index f88c255..ac4a060 100644 --- a/src/XML/cas/AuthenticationFailure.php +++ b/src/XML/cas/AuthenticationFailure.php @@ -83,7 +83,6 @@ public static function fromXML(DOMElement $xml): static MissingAttributeException::class, ); - /** @psalm-var string $code */ $code = self::getAttribute($xml, 'code'); return new static(trim($xml->textContent), $code); } diff --git a/src/XML/cas/ProxyFailure.php b/src/XML/cas/ProxyFailure.php index 7a0006c..4b679d5 100644 --- a/src/XML/cas/ProxyFailure.php +++ b/src/XML/cas/ProxyFailure.php @@ -82,7 +82,6 @@ public static function fromXML(DOMElement $xml): static MissingAttributeException::class, ); - /** @psalm-var string $code */ $code = self::getAttribute($xml, 'code'); return new static(trim($xml->textContent), $code); }