Allow extension-installer #168
php.yml
on: push
Annotations
20 errors and 14 warnings
|
MissingOverrideAttribute:
tests/src/Controller/ConsentControllerTest.php#L168
tests/src/Controller/ConsentControllerTest.php:168:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Controller\_home_runner_work_simplesamlphp_module_consent_simplesamlphp_module_consent_tests_src_Controller_ConsentControllerTest_php_167_5345::loadstate should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentControllerTest.php#L127
tests/src/Controller/ConsentControllerTest.php:127:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Controller\_home_runner_work_simplesamlphp_module_consent_simplesamlphp_module_consent_tests_src_Controller_ConsentControllerTest_php_126_3776::loadstate should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentControllerTest.php#L98
tests/src/Controller/ConsentControllerTest.php:98:25: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Controller\_home_runner_work_simplesamlphp_module_consent_simplesamlphp_module_consent_tests_src_Controller_ConsentControllerTest_php_93_2716::saveconsent should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentControllerTest.php#L80
tests/src/Controller/ConsentControllerTest.php:80:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Controller\_home_runner_work_simplesamlphp_module_consent_simplesamlphp_module_consent_tests_src_Controller_ConsentControllerTest_php_79_2023::loadstate should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentControllerTest.php#L58
tests/src/Controller/ConsentControllerTest.php:58:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Controller\_home_runner_work_simplesamlphp_module_consent_simplesamlphp_module_consent_tests_src_Controller_ConsentControllerTest_php_57_1421::info should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentControllerTest.php#L41
tests/src/Controller/ConsentControllerTest.php:41:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Controller\ConsentControllerTest::setupbeforeclass should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Controller/ConsentControllerTest.php#L25
tests/src/Controller/ConsentControllerTest.php:25:7: UnusedClass: Class SimpleSAML\Test\Module\consent\Controller\ConsentControllerTest is never used (see https://psalm.dev/075)
|
|
UnusedMethodCall:
tests/src/Auth/Process/ConsentTest.php#L219
tests/src/Auth/Process/ConsentTest.php:219:32: UnusedMethodCall: The call to ReflectionProperty::setAccessible is not used (see https://psalm.dev/209)
|
|
MissingOverrideAttribute:
tests/src/Auth/Process/ConsentTest.php#L24
tests/src/Auth/Process/ConsentTest.php:24:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest::setup should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Auth/Process/ConsentTest.php#L16
tests/src/Auth/Process/ConsentTest.php:16:7: UnusedClass: Class SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest is never used (see https://psalm.dev/075)
|
|
MissingOverrideAttribute:
src/Consent/Store/Cookie.php#L229
src/Consent/Store/Cookie.php:229:5: MissingOverrideAttribute: Method SimpleSAML\Module\consent\Consent\Store\Cookie::getconsents should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
src/Consent/Store/Cookie.php#L212
src/Consent/Store/Cookie.php:212:5: MissingOverrideAttribute: Method SimpleSAML\Module\consent\Consent\Store\Cookie::deleteallconsents should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
src/Consent/Store/Cookie.php#L196
src/Consent/Store/Cookie.php:196:5: MissingOverrideAttribute: Method SimpleSAML\Module\consent\Consent\Store\Cookie::deleteconsent should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
src/Consent/Store/Cookie.php#L175
src/Consent/Store/Cookie.php:175:5: MissingOverrideAttribute: Method SimpleSAML\Module\consent\Consent\Store\Cookie::saveconsent should have the "Override" attribute (see https://psalm.dev/358)
|
|
TypeDoesNotContainType:
src/Consent/Store/Cookie.php#L138
src/Consent/Store/Cookie.php:138:14: TypeDoesNotContainType: Type string for $_COOKIE[$cookieName] is always !string (see https://psalm.dev/056)
|
|
MissingOverrideAttribute:
src/Consent/Store/Cookie.php#L124
src/Consent/Store/Cookie.php:124:5: MissingOverrideAttribute: Method SimpleSAML\Module\consent\Consent\Store\Cookie::hasconsent should have the "Override" attribute (see https://psalm.dev/358)
|
|
ClassMustBeFinal:
src/Consent/Store/Cookie.php#L32
src/Consent/Store/Cookie.php:32:7: ClassMustBeFinal: Class SimpleSAML\Module\consent\Consent\Store\Cookie is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
UnusedForeachValue:
src/Auth/Process/Consent.php#L315
src/Auth/Process/Consent.php:315:49: UnusedForeachValue: $attrval is never referenced or the value is not used (see https://psalm.dev/275)
|
|
MissingOverrideAttribute:
src/Auth/Process/Consent.php#L249
src/Auth/Process/Consent.php:249:5: MissingOverrideAttribute: Method SimpleSAML\Module\consent\Auth\Process\Consent::process should have the "Override" attribute (see https://psalm.dev/358)
|
|
ClassMustBeFinal:
src/Auth/Process/Consent.php#L27
src/Auth/Process/Consent.php:27:7: ClassMustBeFinal: Class SimpleSAML\Module\consent\Auth\Process\Consent 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/ConsentControllerTest.php#L25
tests/src/Controller/ConsentControllerTest.php:25:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\consent\Controller\ConsentControllerTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
PossiblyUndefinedVariable:
tests/src/Auth/Process/ConsentTest.php#L218
tests/src/Auth/Process/ConsentTest.php:218:13: PossiblyUndefinedVariable: Possibly undefined variable $instanceVars, first seen on line 218 (see https://psalm.dev/018)
|
|
PropertyNotSetInConstructor:
tests/src/Auth/Process/ConsentTest.php#L19
tests/src/Auth/Process/ConsentTest.php:19:15: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest::$config is not defined in constructor of SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
ClassMustBeFinal:
tests/src/Auth/Process/ConsentTest.php#L16
tests/src/Auth/Process/ConsentTest.php:16:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
PossiblyUnusedMethod:
src/Store.php#L98
src/Store.php:98:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\consent\Store::getStatistics (see https://psalm.dev/087)
|
|
PossiblyUnusedMethod:
src/Store.php#L85
src/Store.php:85:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\consent\Store::deleteAllConsents (see https://psalm.dev/087)
|
|
PossiblyUnusedMethod:
src/Store.php#L71
src/Store.php:71:30: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\consent\Store::deleteConsent (see https://psalm.dev/087)
|
|
PossiblyUnusedMethod:
src/Store.php#L58
src/Store.php:58:30: PossiblyUnusedMethod: Cannot find explicit calls to method SimpleSAML\Module\consent\Store::saveConsent (but did find some potential callers) (see https://psalm.dev/087)
|
|
UnusedClass:
src/Logout.php#L17
src/Logout.php:17:7: UnusedClass: Class SimpleSAML\Module\consent\Logout is never used (see https://psalm.dev/075)
|
|
UnusedClass:
src/Controller/ConsentController.php#L27
src/Controller/ConsentController.php:27:7: UnusedClass: Class SimpleSAML\Module\consent\Controller\ConsentController is never used (see https://psalm.dev/075)
|
|
LessSpecificReturnType:
src/Consent/Store/Database.php#L430
src/Consent/Store/Database.php:430:16: LessSpecificReturnType: The inferred return type 'PDO' for SimpleSAML\Module\consent\Consent\Store\Database::getDB is more specific than the declared return type 'PDO|false' (see https://psalm.dev/088)
|
|
UnusedClass:
src/Consent/Store/Database.php#L28
src/Consent/Store/Database.php:28:7: UnusedClass: Class SimpleSAML\Module\consent\Consent\Store\Database is never used (see https://psalm.dev/075)
|
|
UnusedClass:
src/Consent/Store/Cookie.php#L32
src/Consent/Store/Cookie.php:32:7: UnusedClass: Class SimpleSAML\Module\consent\Consent\Store\Cookie is never used (see https://psalm.dev/075)
|
|
UnusedClass:
src/Auth/Process/Consent.php#L27
src/Auth/Process/Consent.php:27:7: UnusedClass: Class SimpleSAML\Module\consent\Auth\Process\Consent is never used (see https://psalm.dev/075)
|