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

Support variadic parameters in models command #1234

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

shaffe-fr
Copy link
Contributor

@shaffe-fr shaffe-fr commented Jul 19, 2021

Summary

This adds support of variadic paremeters in ModelsCommand.

Type of change

New feature

Checklist

  • Existing tests have been adapted and/or new tests have been added
  • Add a CHANGELOG.md entry
  • Update the README.md
  • Code style has been fixed via composer fix-style

@mfn Where should I add some tests?
Thanks

@shaffe-fr shaffe-fr force-pushed the patch-1 branch 4 times, most recently from d0bed24 to c0de872 Compare July 19, 2021 13:59
@shaffe-fr shaffe-fr marked this pull request as ready for review July 19, 2021 13:59
@barryvdh
Copy link
Owner

This looks good, but would it be possible to add a test to cover this?

@shaffe-fr
Copy link
Contributor Author

Hi @barryvdh,
I'm not sure where to put the test. Should I add it in an existing one in tests/Console/ModelsCommand?
Thanks

@barryvdh
Copy link
Owner

Probably easiest to copy an existing test and just change a parameter to variadic.

@shaffe-fr
Copy link
Contributor Author

I added some tests @barryvdh. Is it ok?

@barryvdh barryvdh requested review from mfn and barryvdh July 30, 2021 10:37
@barryvdh barryvdh merged commit 3b75048 into barryvdh:master Aug 4, 2021
@shaffe-fr shaffe-fr deleted the patch-1 branch August 4, 2021 10:23
@mfn
Copy link
Collaborator

mfn commented Aug 6, 2021

Thanks! 👍

d3v2a pushed a commit to d3v2a/laravel-ide-helper that referenced this pull request Feb 16, 2024
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.

4 participants