fix: Fix PHPUnit tests for CI #16
code-quality.yml
on: pull_request
quality
/
Composer Audit
26s
quality
/
npm Audit
1m 15s
quality
/
PHP Lint
17s
quality
/
PHPCS
24s
quality
/
PHPMD
25s
quality
/
Psalm
20s
quality
/
PHPStan
45s
quality
/
phpmetrics
51s
quality
/
ESLint
1m 22s
quality
/
Stylelint
1m 13s
quality
/
Coverage Baseline Protection
0s
Matrix: quality / php-tests
quality
/
Update Coverage Baseline
0s
quality
/
Quality Summary
3s
Annotations
28 errors and 18 warnings
|
UndefinedThisPropertyFetch:
lib/Service/ArchiMateExportService.php#L1241
lib/Service/ArchiMateExportService.php:1241:46: UndefinedThisPropertyFetch: Instance property OCA\SoftwareCatalog\Service\ArchiMateExportService::$isLis is not defined (see https://psalm.dev/041)
|
|
UndefinedFunction:
lib/Service/ArchiMateExportService.php#L1214
lib/Service/ArchiMateExportService.php:1214:64: UndefinedFunction: Function OCA\SoftwareCatalog\Service\falset does not exist (see https://psalm.dev/021)
|
|
UndefinedThisPropertyFetch:
lib/Service/ArchiMateExportService.php#L1214
lib/Service/ArchiMateExportService.php:1214:47: UndefinedThisPropertyFetch: Instance property OCA\SoftwareCatalog\Service\ArchiMateExportService::$isLis is not defined (see https://psalm.dev/041)
|
|
UndefinedFunction:
lib/Service/ArchiMateExportService.php#L1185
lib/Service/ArchiMateExportService.php:1185:34: UndefinedFunction: Function OCA\SoftwareCatalog\Service\falset does not exist (see https://psalm.dev/021)
|
|
UndefinedThisPropertyFetch:
lib/Service/ArchiMateExportService.php#L1185
lib/Service/ArchiMateExportService.php:1185:17: UndefinedThisPropertyFetch: Instance property OCA\SoftwareCatalog\Service\ArchiMateExportService::$isLis is not defined (see https://psalm.dev/041)
|
|
UndefinedFunction:
lib/Service/ArchiMateExportService.php#L1072
lib/Service/ArchiMateExportService.php:1072:34: UndefinedFunction: Function OCA\SoftwareCatalog\Service\falset does not exist (see https://psalm.dev/021)
|
|
UndefinedThisPropertyFetch:
lib/Service/ArchiMateExportService.php#L1072
lib/Service/ArchiMateExportService.php:1072:17: UndefinedThisPropertyFetch: Instance property OCA\SoftwareCatalog\Service\ArchiMateExportService::$isLis is not defined (see https://psalm.dev/041)
|
|
UndefinedFunction:
lib/Service/ArchiMateExportService.php#L1057
lib/Service/ArchiMateExportService.php:1057:34: UndefinedFunction: Function OCA\SoftwareCatalog\Service\falset does not exist (see https://psalm.dev/021)
|
|
UndefinedThisPropertyFetch:
lib/Service/ArchiMateExportService.php#L1057
lib/Service/ArchiMateExportService.php:1057:17: UndefinedThisPropertyFetch: Instance property OCA\SoftwareCatalog\Service\ArchiMateExportService::$isLis is not defined (see https://psalm.dev/041)
|
|
InvalidArgument:
lib/Service/ArchiMateExportService.php#L246
lib/Service/ArchiMateExportService.php:246:23: InvalidArgument: Calling empty on a boolean value is almost certainly unintended (see https://psalm.dev/004)
|
|
quality / PHPCS
Process completed with exit code 2.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L110
Call to method registerService() on an unknown class OCP\AppFramework\Bootstrap\IRegistrationContext.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L104
Class OCP\App\IAppManager not found.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L102
Class OCP\IUserManager not found.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L101
Class OCP\IGroupManager not found.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L97
Call to method registerService() on an unknown class OCP\AppFramework\Bootstrap\IRegistrationContext.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L92
Parameter $context of method OCA\SoftwareCatalog\AppInfo\Application::register() has invalid type OCP\AppFramework\Bootstrap\IRegistrationContext.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L92
Parameter $context of method OCA\SoftwareCatalog\AppInfo\Application::register() has invalid type OCP\AppFramework\Bootstrap\IRegistrationContext.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L82
OCA\SoftwareCatalog\AppInfo\Application::__construct() calls parent::__construct() but OCA\SoftwareCatalog\AppInfo\Application does not extend any class.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L70
Class OCA\SoftwareCatalog\AppInfo\Application implements unknown interface OCP\AppFramework\Bootstrap\IBootstrap.
|
|
quality / PHPStan:
lib/AppInfo/Application.php#L70
Class OCA\SoftwareCatalog\AppInfo\Application extends unknown class OCP\AppFramework\App.
|
|
quality / Stylelint
Process completed with exit code 2.
|
|
quality / ESLint
Process completed with exit code 1.
|
|
quality / ESLint:
src/views/organisaties/OrganisatieIndex.vue#L76
'Delete' is defined but never used
|
|
quality / ESLint:
src/views/organisaties/OrganisatieIndex.vue#L70
Unable to resolve path to module '@conduction/nextcloud-vue'
|
|
quality / ESLint:
src/store/plugins/softwarecatalogPlugin.js#L14
Unable to resolve path to module '@conduction/nextcloud-vue'
|
|
quality / ESLint:
src/store/modules/object.js#L18
Unable to resolve path to module '@conduction/nextcloud-vue'
|
|
quality / ESLint:
src/App.vue#L26
Unable to resolve path to module '@conduction/nextcloud-vue'
|
|
quality / PHP Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / Psalm
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / PHPCS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / PHPMD
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / Composer Audit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / PHPStan
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / phpmetrics
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / Stylelint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / npm Audit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / ESLint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
quality / ESLint:
src/views/organisaties/OrganisatieIndex.vue#L423
Missing JSDoc @PARAM "limit" declaration
|
|
quality / ESLint:
src/views/organisaties/OrganisatieIndex.vue#L423
Missing JSDoc @PARAM "page" declaration
|
|
quality / ESLint:
src/store/plugins/softwarecatalogPlugin.js#L872
Defaults are not permitted on @PARAM
|
|
quality / ESLint:
src/store/plugins/softwarecatalogPlugin.js#L781
Defaults are not permitted on @PARAM
|
|
quality / ESLint:
src/store/plugins/softwarecatalogPlugin.js#L780
Defaults are not permitted on @PARAM
|
|
quality / ESLint:
src/store/plugins/softwarecatalogPlugin.js#L32
Defaults are not permitted on @PARAM
|
|
quality / ESLint:
src/modals/Modals.vue#L74
The "setup" property should be above the "computed" property on line 59
|
|
quality / Quality Summary
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@v7. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|