Skip to content

Fix codesniffer issues #507

Fix codesniffer issues

Fix codesniffer issues #507

Triggered via push January 21, 2026 22:24
Status Failure
Total duration 1m 55s
Artifacts

php.yml

on: push
Matrix: PHP-Linter
Linter  /  ecmascript-linter
Linter / ecmascript-linter
Linter  /  json-linter
Linter / json-linter
Linter  /  style-linter
Linter / style-linter
Linter  /  yaml-linter
Linter / yaml-linter
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
8s
Code coverage
Quality control
52s
Quality control
Security checks
27s
Security checks
Cleanup artifacts
3s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Quality control: src/IdP/ADFS.php#L264
Parameter #4 $notBefore of class SimpleSAML\SAML11\XML\saml\Conditions constructor expects SimpleSAML\SAML11\Type\SAMLDateTimeValue|null, DateTimeImmutable given.
Quality control: src/IdP/ADFS.php#L258
Parameter #1 $content of class SimpleSAML\SAML11\XML\saml\Audience constructor expects SimpleSAML\XMLSchema\Type\Interface\ValueTypeInterface, string given.
Quality control: src/IdP/ADFS.php#L184
Static method SimpleSAML\Metadata\MetaDataStorageHandler::getMetadataHandler() invoked with 1 parameter, 0 required.
Quality control: src/IdP/ADFS.php#L153
Parameter #1 $search of function str_replace expects array<string>|string, SimpleSAML\XMLSchema\Type\Interface\ValueTypeInterface given.
Quality control: src/IdP/ADFS.php#L135
Parameter #1 $entityId of method SimpleSAML\Metadata\MetaDataStorageHandler::getMetaDataConfig() expects string, SimpleSAML\XMLSchema\Type\Interface\ValueTypeInterface given.
Quality control: src/IdP/ADFS.php#L134
Static method SimpleSAML\Metadata\MetaDataStorageHandler::getMetadataHandler() invoked with 1 parameter, 0 required.
Quality control: src/IdP/ADFS.php#L89
Parameter $soapEnvelope of method SimpleSAML\Module\adfs\IdP\ADFS::receivePassiveAuthnRequest() has invalid type SimpleSAML\SOAP\XML\env_200305\Envelope.
Quality control: src/IdP/ADFS.php#L87
PHPDoc tag `@param` for parameter $soapEnvelope with type SimpleSAML\SOAP\XML\env_200305\Envelope is not subtype of native type SimpleSAML\SOAP12\XML\Envelope.
Quality control: src/Controller/Adfs.php#L231
Strict comparison using === between string and false will always evaluate to false.
Quality control: src/Controller/Adfs.php#L56
Static method SimpleSAML\Metadata\MetaDataStorageHandler::getMetadataHandler() invoked with 1 parameter, 0 required.