Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance/psalm #1691

Merged
merged 5 commits into from May 29, 2023
Merged

Maintenance/psalm #1691

merged 5 commits into from May 29, 2023

Conversation

christianlupus
Copy link
Collaborator

Topic and Scope

This PR should enable the static code checker psalm on the code base.

Closes #990

Concerns/issues

The current baseline is the state of the code style. So, there are quite some errors hidden from the user currently. These need to be addressed at some point.

Formal requirements

There are some formal requirements that should be satisfied. Please mark those by checking the corresponding box.

  • I did check that the app can still be opened and does not throw any browser logs
  • I created tests for newly added PHP code (check this if no PHP changes were made)
  • I updated the OpenAPI specs and added an entry to the API changelog (check if API was not modified)
  • I notified the matrix channel if I introduced an API change

@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #1691 (60167f3) into master (e654e7b) will not change coverage.
The diff coverage is n/a.

❗ Current head 60167f3 differs from pull request most recent head 15ab4af. Consider uploading reports for the commit 15ab4af to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1691   +/-   ##
=======================================
  Coverage   79.41%   79.41%           
=======================================
  Files          87       87           
  Lines        2550     2550           
=======================================
  Hits         2025     2025           
  Misses        525      525           
Flag Coverage Δ
integration 21.21% <ø> (ø)
migration 5.92% <ø> (ø)
unittests 56.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/Controller/ConfigController.php 100.00% <ø> (ø)

@github-actions
Copy link

github-actions bot commented May 22, 2023

Test Results

     27 files  1 233 suites   7m 40s ⏱️
   498 tests    498 ✔️ 0 💤 0
4 482 runs  4 481 ✔️ 1 💤 0

Results for commit 60167f3.

♻️ This comment has been updated with latest results.

Signed-off-by: Christian Wolf <github@christianwolf.email>
Signed-off-by: Christian Wolf <github@christianwolf.email>
Signed-off-by: Christian Wolf <github@christianwolf.email>
Signed-off-by: Christian Wolf <github@christianwolf.email>
@christianlupus
Copy link
Collaborator Author

/approve

Copy link
Collaborator

@nextcloud-cookbook-bot nextcloud-cookbook-bot left a comment

Choose a reason for hiding this comment

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

Automatically approved by GitHub action on behalf of /approve

Signed-off-by: Christian Wolf <github@christianwolf.email>
@christianlupus christianlupus merged commit 5cf2924 into master May 29, 2023
33 checks passed
@christianlupus christianlupus deleted the maintenance/psalm branch May 29, 2023 06:41
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.

Implement static code checks (using psalm)
2 participants