Skip to content

Fix PHPStan issues #353

Fix PHPStan issues

Fix PHPStan issues #353

Triggered via push January 28, 2024 20:54
Status Failure
Total duration 3m 4s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Quality control: tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php#L35
Call to an undefined method object::isEmptyElement().
Quality control: tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php#L54
Parameter #1 $xml of class SimpleSAML\XML\Chunk constructor expects DOMElement, DOMElement|null given.
Quality control: tests/WSSecurity/XML/auth/ConstrainedManyValueTest.php#L67
Method SimpleSAML\Test\WSSecurity\XML\auth\ConstrainedManyValueTest::classProvider() return type has no value type specified in iterable type array.
Quality control: tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php#L40
Call to an undefined method object::isEmptyElement().
Quality control: tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php#L59
Parameter #1 $xml of class SimpleSAML\XML\Chunk constructor expects DOMElement, DOMElement|null given.
Quality control: tests/WSSecurity/XML/auth/ConstrainedSingleValueTest.php#L72
Method SimpleSAML\Test\WSSecurity\XML\auth\ConstrainedSingleValueTest::classProvider() return type has no value type specified in iterable type array.
Quality control: tests/WSSecurity/XML/auth/ConstrainedValueTest.php#L34
Static property SimpleSAML\Test\WSSecurity\XML\auth\ConstrainedValueTest::$structuredValue is never read, only written.
Quality control: tests/WSSecurity/XML/auth/ConstrainedValueTest.php#L51
Parameter #1 $xml of class SimpleSAML\XML\Chunk constructor expects DOMElement, DOMElement|null given.
Quality control: tests/WSSecurity/XML/auth/ConstrainedValueTest.php#L113
Parameter #1 $xml of static method SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedValueType::fromXML() expects DOMElement, DOMElement|null given.
Quality control: tests/WSSecurity/XML/auth/ConstrainedValueTest.php#L123
Method SimpleSAML\Test\WSSecurity\XML\auth\ConstrainedValueTest::classProvider() return type has no value type specified in iterable type array.