Merge pull request #10 from simplesamlphp/dependabot/github_actions/a… #139
php.yml
on: push
Matrix: PHP-Linter
Linter
/
ecmascript-linter
Linter
/
json-linter
Linter
/
style-linter
Linter
/
yaml-linter
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Cleanup artifacts
6s
Annotations
12 errors and 2 warnings
|
Quality control
Process completed with exit code 2.
|
|
UnusedIssueHandlerSuppression:
psalm-dev.xml#L0
/home/runner/work/simplesamlphp-module-exampleattributeserver/simplesamlphp-module-exampleattributeserver/psalm-dev.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "UnresolvableInclude" for /tests/bootstrap.php was not thrown. (see https://psalm.dev/326)
|
|
MissingOverrideAttribute:
tests/src/Controller/AttributeServerTest.php#L31
tests/src/Controller/AttributeServerTest.php:31:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\exampleattributeserver\Controller\ExampleAttributeServerTest::setupbeforeclass should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Controller/AttributeServerTest.php#L22
tests/src/Controller/AttributeServerTest.php:22:7: UnusedClass: Class SimpleSAML\Test\Module\exampleattributeserver\Controller\ExampleAttributeServerTest is never used (see https://psalm.dev/075)
|
|
Quality control
Process completed with exit code 2.
|
|
InvalidArrayOffset:
src/Controller/AttributeServer.php#L126
src/Controller/AttributeServer.php:126:69: InvalidArrayOffset: Cannot access value on variable $attributes using a never offset, expecting array-key (see https://psalm.dev/115)
|
|
InvalidArrayOffset:
src/Controller/AttributeServer.php#L126
src/Controller/AttributeServer.php:126:17: InvalidArrayOffset: Cannot access value on variable $returnAttributes[$name] using a never offset, expecting array-key (see https://psalm.dev/115)
|
|
InvalidArrayOffset:
src/Controller/AttributeServer.php#L121
src/Controller/AttributeServer.php:121:48: InvalidArrayOffset: Cannot access value on variable $attributes using a never offset, expecting array-key (see https://psalm.dev/115)
|
|
InvalidArrayOffset:
src/Controller/AttributeServer.php#L121
src/Controller/AttributeServer.php:121:21: InvalidArrayOffset: Cannot access value on variable $returnAttributes[$name] using a never offset, expecting array-key (see https://psalm.dev/115)
|
|
PossiblyNullReference:
src/Controller/AttributeServer.php#L76
src/Controller/AttributeServer.php:76:48: PossiblyNullReference: Cannot call method getMetaDataCurrentEntityID on possibly null value (see https://psalm.dev/083)
|
|
PossiblyUnusedParam:
src/Controller/AttributeServer.php#L68
src/Controller/AttributeServer.php:68:68: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
|
|
ClassMustBeFinal:
src/Controller/AttributeServer.php#L31
src/Controller/AttributeServer.php:31:7: ClassMustBeFinal: Class SimpleSAML\Module\exampleattributeserver\Controller\AttributeServer is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
ClassMustBeFinal:
tests/src/Controller/AttributeServerTest.php#L22
tests/src/Controller/AttributeServerTest.php:22:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\exampleattributeserver\Controller\ExampleAttributeServerTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
UnusedClass:
src/Controller/AttributeServer.php#L31
src/Controller/AttributeServer.php:31:7: UnusedClass: Class SimpleSAML\Module\exampleattributeserver\Controller\AttributeServer is never used (see https://psalm.dev/075)
|