Skip to content

fix(psalm): drop obsolete UndefinedDocblockClass suppressions - #49

Merged
ernolf merged 1 commit into
mainfrom
ernolf/fix/psalm-obsolete-suppression
Aug 12, 2026
Merged

fix(psalm): drop obsolete UndefinedDocblockClass suppressions#49
ernolf merged 1 commit into
mainfrom
ernolf/fix/psalm-obsolete-suppression

Conversation

@ernolf

@ernolf ernolf commented Aug 12, 2026

Copy link
Copy Markdown
Owner
  • ISchemaWrapper in nextcloud/ocp master returns OCP\DB\Schema\ITable and throws OCP\DB\Schema\SchemaException instead of the Doctrine DBAL classes
  • none of the three suppressed Doctrine classes is referenced from a docblock any more, so Psalm reports UnusedIssueHandlerSuppression and exits with code 2
  • the workflow installs nextcloud/ocp:dev-master on every run, so static analysis started failing without any change to the code

- ISchemaWrapper in nextcloud/ocp master returns OCP\DB\Schema\ITable and throws OCP\DB\Schema\SchemaException instead of the Doctrine DBAL classes
- none of the three suppressed Doctrine classes is referenced from a docblock any more, so Psalm reports UnusedIssueHandlerSuppression and exits with code 2
- the workflow installs nextcloud/ocp:dev-master on every run, so static analysis started failing without any change to the code

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
@ernolf
ernolf merged commit f643977 into main Aug 12, 2026
36 checks passed
@github-actions
github-actions Bot deleted the ernolf/fix/psalm-obsolete-suppression branch August 12, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant