Skip to content

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented May 20, 2025

Copied from nextcloud/server#52860

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

@mejo- mejo- requested a review from a team May 20, 2025 16:01
@mejo- mejo- self-assigned this May 20, 2025
@mejo- mejo- added tests If you write them we ♥ you 3. to review labels May 20, 2025
@mejo- mejo- requested a review from max-nextcloud as a code owner May 20, 2025 16:01
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team May 20, 2025
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 📝 Office team May 20, 2025
</errorLevel>
</UndefinedDocblockClass>
<DeprecatedClass>
<errorLevel type="suppress">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure i get this right, but wouldn't this suppress all of them directly? If we have any we should rather add to the baseline, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I should have checked more thoroughly. Thanks for catching this.

@@ -1,25 +1,25 @@
<?xml version="1.0"?>
<psalm
errorLevel="2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are at error level 2 which should already throw errors if we have deprecations in use:

https://psalm.dev/docs/running_psalm/error_levels/

@mejo- mejo- closed this May 21, 2025
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 📝 Office team May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing tests If you write them we ♥ you

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants