tests: Fix codesniffer issues #3422
php.yml
on: push
Matrix: basic-tests
Security checks
25s
Linter
/
ecmascript-linter
Linter
/
json-linter
Linter
/
style-linter
Linter
/
yaml-linter
Matrix: PHP-Linter
Quality control
38s
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
|
|