Bump super-linter/super-linter from 7 to 8 in the all-actions group #134
php.yml
on: push
Annotations
21 errors and 10 warnings
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L138
tests/src/Controller/ConsentAdminTest.php:138:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_137_4196::gethasheduserid should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L131
tests/src/Controller/ConsentAdminTest.php:131:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_118_3472::getlist should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L127
tests/src/Controller/ConsentAdminTest.php:127:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_118_3472::getmetadata should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L123
tests/src/Controller/ConsentAdminTest.php:123:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_118_3472::getmetadatacurrententityid should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L109
tests/src/Controller/ConsentAdminTest.php:109:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_96_2777::getauthdata should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L105
tests/src/Controller/ConsentAdminTest.php:105:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_96_2777::getattributes should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L101
tests/src/Controller/ConsentAdminTest.php:101:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_96_2777::requireauth should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L97
tests/src/Controller/ConsentAdminTest.php:97:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\_home_runner_work_simplesamlphp_module_consentadmin_simplesamlphp_module_consentadmin_tests_src_Controller_ConsentAdminTest_php_96_2777::logout should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ConsentAdminTest.php#L48
tests/src/Controller/ConsentAdminTest.php:48:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::setup should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Controller/ConsentAdminTest.php#L24
tests/src/Controller/ConsentAdminTest.php:24:7: UnusedClass: Class SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest is never used (see https://psalm.dev/075)
|
|
UnusedForeachValue:
src/Controller/ConsentAdmin.php#L279
src/Controller/ConsentAdmin.php:279:54: UnusedForeachValue: $sp_values is never referenced or the value is not used (see https://psalm.dev/275)
|
|
TooManyArguments:
src/Controller/ConsentAdmin.php#L273
src/Controller/ConsentAdmin.php:273:21: TooManyArguments: Too many arguments for SimpleSAML\XHTML\Template::__construct - expecting 2 but saw 3 (see https://psalm.dev/026)
|
|
ArgumentTypeCoercion:
src/Controller/ConsentAdmin.php#L239
src/Controller/ConsentAdmin.php:239:17: ArgumentTypeCoercion: Argument 4 of SimpleSAML\Module\consentAdmin\Controller\ConsentAdmin::driveProcessingChain expects string, but parent type scalar provided (see https://psalm.dev/193)
|
|
UnusedVariable:
src/Controller/ConsentAdmin.php#L235
src/Controller/ConsentAdmin.php:235:49: UnusedVariable: $attributes is never referenced or the value is not used (see https://psalm.dev/077)
|
|
ArgumentTypeCoercion:
src/Controller/ConsentAdmin.php#L232
src/Controller/ConsentAdmin.php:232:51: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Metadata\MetaDataStorageHandler::getMetaData expects null|string, but parent type scalar provided (see https://psalm.dev/193)
|
|
TooManyArguments:
src/Controller/ConsentAdmin.php#L225
src/Controller/ConsentAdmin.php:225:25: TooManyArguments: Too many arguments for SimpleSAML\XHTML\Template::__construct - expecting 2 but saw 3 (see https://psalm.dev/026)
|
|
InvalidOperand:
src/Controller/ConsentAdmin.php#L203
src/Controller/ConsentAdmin.php:203:76: InvalidOperand: Cannot concatenate with a null|scalar (see https://psalm.dev/058)
|
|
InvalidOperand:
src/Controller/ConsentAdmin.php#L203
src/Controller/ConsentAdmin.php:203:47: InvalidOperand: Cannot concatenate with a null|scalar (see https://psalm.dev/058)
|
|
PossiblyUnusedParam:
src/Controller/ConsentAdmin.php#L135
src/Controller/ConsentAdmin.php:135:36: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
|
|
ClassMustBeFinal:
src/Controller/ConsentAdmin.php#L32
src/Controller/ConsentAdmin.php:32:7: ClassMustBeFinal: Class SimpleSAML\Module\consentAdmin\Controller\ConsentAdmin is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
Linter
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires simplesamlphp/simplesamlphp ^2.2 -> satisfiable by simplesamlphp/simplesamlphp[v2.2.0, ..., v2.4.2].
- simplesamlphp/simplesamlphp[v2.2.0, ..., v2.4.2] require ext-session * -> it is missing from your system. Install or enable PHP's session extension.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php84/php.ini
- /etc/php84/conf.d/00_ctype.ini
- /etc/php84/conf.d/00_curl.ini
- /etc/php84/conf.d/00_dom.ini
- /etc/php84/conf.d/00_iconv.ini
- /etc/php84/conf.d/00_intl.ini
- /etc/php84/conf.d/00_mbstring.ini
- /etc/php84/conf.d/00_openssl.ini
- /etc/php84/conf.d/00_simplexml.ini
- /etc/php84/conf.d/00_tokenizer.ini
- /etc/php84/conf.d/00_xmlwriter.ini
- /etc/php84/conf.d/01_phar.ini
- /etc/php84/conf.d/10_igbinary.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-session` to temporarily ignore these required extensions.
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ConsentAdminTest.php#L42
tests/src/Controller/ConsentAdminTest.php:42:38: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::$metadataStorageHandler is not defined in constructor of SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ConsentAdminTest.php#L39
tests/src/Controller/ConsentAdminTest.php:39:21: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::$store is not defined in constructor of SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ConsentAdminTest.php#L36
tests/src/Controller/ConsentAdminTest.php:36:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::$consent is not defined in constructor of SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ConsentAdminTest.php#L33
tests/src/Controller/ConsentAdminTest.php:33:27: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::$authSimple is not defined in constructor of SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ConsentAdminTest.php#L30
tests/src/Controller/ConsentAdminTest.php:30:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::$session is not defined in constructor of SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ConsentAdminTest.php#L27
tests/src/Controller/ConsentAdminTest.php:27:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest::$config is not defined in constructor of SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
ClassMustBeFinal:
tests/src/Controller/ConsentAdminTest.php#L24
tests/src/Controller/ConsentAdminTest.php:24:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\consentAdmin\Controller\ConsentAdminTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
PossiblyNullOperand:
src/Controller/ConsentAdmin.php#L203
src/Controller/ConsentAdmin.php:203:76: PossiblyNullOperand: Cannot concatenate with a possibly null null|scalar (see https://psalm.dev/080)
|
|
PossiblyNullOperand:
src/Controller/ConsentAdmin.php#L203
src/Controller/ConsentAdmin.php:203:47: PossiblyNullOperand: Cannot concatenate with a possibly null null|scalar (see https://psalm.dev/080)
|
|
UnusedClass:
src/Controller/ConsentAdmin.php#L32
src/Controller/ConsentAdmin.php:32:7: UnusedClass: Class SimpleSAML\Module\consentAdmin\Controller\ConsentAdmin is never used (see https://psalm.dev/075)
|