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

Mark class internals as private #1150

Merged
merged 1 commit into from
May 15, 2024
Merged

Mark class internals as private #1150

merged 1 commit into from
May 15, 2024

Conversation

AJenbo
Copy link
Member

@AJenbo AJenbo commented May 12, 2024

Type: refactoring
Breaking change: yes

Mark methods that are not extended or used outside of the class they are declared in as private. This makes it easier to reason about both for humans and tools, and we can freely refactor them in the future.

Copy link

codecov bot commented May 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.30%. Comparing base (433eb24) to head (7f682aa).
Report is 4 commits behind head on 3.x.

Additional details and impacted files
@@            Coverage Diff            @@
##                3.x    #1150   +/-   ##
=========================================
  Coverage     92.30%   92.30%           
  Complexity     1286     1286           
=========================================
  Files           111      111           
  Lines          3444     3444           
=========================================
  Hits           3179     3179           
  Misses          265      265           

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

@AJenbo AJenbo added this to the 3.0.0 milestone May 12, 2024
Copy link
Member

@ravage84 ravage84 left a comment

Choose a reason for hiding this comment

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

Just let's not get overboard with final/private protectionism.

@ravage84 ravage84 merged commit 6f7dc7f into 3.x May 15, 2024
20 checks passed
@ravage84 ravage84 deleted the protected-private branch May 15, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants