Skip to content

tests: Fix codesniffer issues #3422

tests: Fix codesniffer issues

tests: Fix codesniffer issues #3422

Triggered via push February 23, 2026 22:25
Status Failure
Total duration 3m 2s
Artifacts 1

php.yml

on: push
Matrix: basic-tests
Security checks
25s
Security checks
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: PHP-Linter
Quality control
38s
Quality control
Fit to window
Zoom out
Zoom in

Annotations

21 errors
PHP-Linter (8.4) / linter
Process completed with exit code 4.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/SessionNotOnOrAfterTest.php#L65
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\SessionNotOnOrAfter::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/SessionNotOnOrAfterTest.php#L47
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\SessionNotOnOrAfter::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/NotOnOrAfterTest.php#L82
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\NotOnOrAfter::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/NotOnOrAfterTest.php#L65
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\NotOnOrAfter::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/NotOnOrAfterTest.php#L47
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\NotOnOrAfter::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/NotBeforeTest.php#L88
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\NotBefore::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/NotBeforeTest.php#L71
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\NotBefore::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/Validation/ConstraintValidator/NotBeforeTest.php#L53
Parameter #1 $assertion of method SAML2\Assertion\Validation\ConstraintValidator\NotBefore::validate() expects SAML2\Assertion, Mockery\MockInterface given.
Quality control: tests/SAML2/Assertion/ProcessorTest.php#L66
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SAML2\\Utilities\\ArrayCollection' and SAML2\Utilities\ArrayCollection will always evaluate to true.
Quality control: tests/SAML2/Assertion/ProcessorTest.php#L26
Missing call to parent::setUp() method.
Quality control: src/SAML2/Assertion.php#L856
Method SAML2\Assertion::decryptAttributes() has parameter $blacklist with no value type specified in iterable type array.
Quality control: src/SAML2/Assertion.php#L824
Method SAML2\Assertion::decryptNameId() has parameter $blacklist with no value type specified in iterable type array.
Quality control: src/SAML2/Assertion.php#L813
PHPDoc tag `@var` above assignment does not specify variable name.
Quality control: src/SAML2/Assertion.php#L619
Property SAML2\Assertion::$encryptedAttributes (array<DOMElement>) does not accept array<DOMNode>.
Quality control: src/SAML2/Assertion.php#L619
PHPDoc tag `@var` above assignment does not specify variable name.
Quality control: src/SAML2/Assertion.php#L216
Property SAML2\Assertion::$signatureData type has no value type specified in iterable type array.
Quality control: src/SAML2/Assertion.php#L200
Property SAML2\Assertion::$attributesValueTypes type has no value type specified in iterable type array.
Quality control: src/SAML2/Assertion.php#L182
Property SAML2\Assertion::$attributes type has no value type specified in iterable type array.
Quality control: src/SAML2/Assertion.php#L164
Property SAML2\Assertion::$AuthenticatingAuthority type has no value type specified in iterable type array.
Quality control: src/SAML2/Assertion.php#L108
Property SAML2\Assertion::$validAudiences type has no value type specified in iterable type array.

Artifacts

Produced during runtime
Name Size Digest
build-data
31.3 KB
sha256:2abb2a7f1289c03aed42435c6f64925244fb54849754ecd2cbef85f87cbb9979