Skip to content

Deprecate BaseCommand::getPad and add more tests #3561

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

Merged
merged 1 commit into from
Aug 29, 2020
Merged

Deprecate BaseCommand::getPad and add more tests #3561

merged 1 commit into from
Aug 29, 2020

Conversation

paulbalandan
Copy link
Member

Description
With the changes brought by #3435 , the method BaseCommand::getPad is not used anymore. I've checked for usage references within the codebase using VSCode and found none. This was because it was replaced by setPad. Since this is a public function, I'm proposing to deprecate this.

Also, with that PR's changes, some lines got uncovered by tests. So I've added a test for that.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

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

I agree with this. Waiting on tests.

@paulbalandan
Copy link
Member Author

@MGatner all tests green 🎉

@MGatner
Copy link
Member

MGatner commented Aug 29, 2020

I see what you did there 😊

@MGatner MGatner merged commit 2583f57 into codeigniter4:develop Aug 29, 2020
@paulbalandan paulbalandan deleted the basecommand-getpad branch August 29, 2020 13:16
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