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

Clean up and refactor code #1663

Merged
merged 224 commits into from
Apr 15, 2024
Merged

Clean up and refactor code #1663

merged 224 commits into from
Apr 15, 2024

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Apr 14, 2024

Minor code cleanup and refactors, mainly for tests. Goes through almost all tests to ensure they are properly formatted and use the best assertions. Some of these are over two years old (AKA the first tests of HydePHP) and in need of some care. It also fixes over 30 Psalm issues and increases the type coverage to as much as we're gonna be able to get it.

Copy link

codecov bot commented Apr 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.97%. Comparing base (7382e7d) to head (896e17c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1663      +/-   ##
============================================
+ Coverage     99.63%   99.97%   +0.34%     
+ Complexity     1754     1742      -12     
============================================
  Files           182      182              
  Lines          4687     4667      -20     
============================================
- Hits           4670     4666       -4     
+ Misses           17        1      -16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caendesilva caendesilva marked this pull request as ready for review April 15, 2024 14:12
@caendesilva caendesilva merged commit 530cc9b into master Apr 15, 2024
22 checks passed
@caendesilva caendesilva deleted the code-cleanup branch April 15, 2024 14:15
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.

2 participants