Skip to content

fix: Fix PHPUnit tests for CI #17

fix: Fix PHPUnit tests for CI

fix: Fix PHPUnit tests for CI #17

Triggered via pull request March 13, 2026 14:26
Status Failure
Total duration 2m 9s
Artifacts 1

code-quality.yml

on: pull_request
quality  /  Composer Audit
16s
quality / Composer Audit
quality  /  npm Audit
26s
quality / npm Audit
quality  /  PHP Lint
16s
quality / PHP Lint
quality  /  PHPCS
quality / PHPCS
quality  /  PHPMD
21s
quality / PHPMD
quality  /  Psalm
22s
quality / Psalm
quality  /  PHPStan
39s
quality / PHPStan
quality  /  phpmetrics
50s
quality / phpmetrics
quality  /  ESLint
37s
quality / ESLint
quality  /  Stylelint
26s
quality / Stylelint
quality  /  Coverage Baseline Protection
quality / Coverage Baseline Protection
Matrix: quality / php-tests
quality  /  Integration Tests (Newman)
1m 18s
quality / Integration Tests (Newman)
quality  /  Update Coverage Baseline
quality / Update Coverage Baseline
quality  /  Quality Summary
4s
quality / Quality Summary
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 19 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 / 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 / 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 / Integration Tests (Newman)
Process completed with exit code 1.
quality / Integration Tests (Newman)
Newman is enabled but no .postman_collection.json files found in 'data'. Add Postman collections or disable enable-newman.
quality / PHPUnit (PHP 8.3)
Process completed with exit code 2.
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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 / Integration Tests (Newman)
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, 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 / PHPUnit (PHP 8.3)
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/upload-artifact@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 / 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/

Artifacts

Produced during runtime
Name Size Digest
coverage-report Expired
1.59 MB
sha256:14eda6bf29a573dc1c92d79fd5abeb2067a7006e31ed560db367d23aea6836c1