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

don't specify optional parameters before required parameters #16185

Merged
merged 3 commits into from Jul 7, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jul 6, 2020

refs #16182

I suppose eventually we'll go over all of them since the IDE should be able to detect all usages.

refs #16182

I suppose eventually we'll go over all of them since the IDE should be able to detect all usages
@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Jul 6, 2020
@tsteur tsteur added this to the 4.0.0 milestone Jul 6, 2020
@diosmosis
Copy link
Member

Interestingly, since this is an API method, this ends up being a bit of a BC break (see the test failure). Will change the test.

@tsteur
Copy link
Member Author

tsteur commented Jul 7, 2020

@diosmosis good one. Actually this needs to stay optional. I can switch the parameters

@tsteur
Copy link
Member Author

tsteur commented Jul 7, 2020

Fixed the tests @diosmosis

@diosmosis diosmosis merged commit 4f59ee1 into 4.x-dev Jul 7, 2020
@diosmosis diosmosis deleted the required-before-optional-parameters2 branch July 7, 2020 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants