Skip to content

Remove unused private helpers - #3328

Open
dpep wants to merge 1 commit into
faker-ruby:mainfrom
dpep:remove-unused-private-helpers
Open

dpep wants to merge 1 commit into
faker-ruby:mainfrom
dpep:remove-unused-private-helpers

Conversation

@dpep

@dpep dpep commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Motivation / Background

This Pull Request has been created because these private helpers have no callers:

This is a pure deletion with no behavior change.

Additional information

A repo-wide search finds no other mention of any of the three. rake test and rubocop pass.

Checklist

  • This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug, refactor something, or add a feature.
  • Tests and Rubocop are passing before submitting your proposed changes.

Found with trekr

- Faker::Company#calculate_gst_checksum: never called; indian_gst_number
  computes its checksum inline (both added in 205bc52).
- Faker::Types#titleize: only called by its own test through `send`
  since it was added (28eaeb6); the test goes with it.
- TestFakerTypes::TestModule: empty and unreferenced since 28eaeb6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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