CycloneDX / CycloneDX/cyclonedx-php-composer

research: latest psalm findings

Open
#629 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
87
Forks
7
PR merge metrics
No merged PRs in 30d

Description

https://github.com/CycloneDX/cyclonedx-php-composer/actions/runs/24319429332/job/71002744131#step:8:38

psalm found some codebase violations.

code is still runnable, but might not adhere latest code conventions.
**need to check** and maybe fix

```text
E░E░░░░░
Error: src/Plugin.php:41:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
Error: src/Plugin.php:47:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
Error: src/Plugin.php:53:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
Error: src/Plugin.php:59:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
Error: src/Plugin.php:70:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
Error: src/_internal/MakeBom/Command.php:66:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
Error: src/_internal/MakeBom/Command.php:79:7: InvalidAttribute: Attribute Override cannot be used on a function (see https://psalm.dev/242)
------------------------------
7 errors found
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.