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 #16182

Merged
merged 1 commit into from Jul 6, 2020

Conversation

Findus23
Copy link
Member

@Findus23 Findus23 commented Jul 6, 2020

This is deprecated since PHP 8 (https://php.watch/versions/8.0/deprecate-required-param-after-optional) and didn't make much more sense before.

@Findus23 Findus23 added the Needs Review PRs that need a code review label Jul 6, 2020
@Findus23 Findus23 mentioned this pull request Jul 6, 2020
6 tasks
@diosmosis diosmosis merged commit 42920ac into 4.x-dev Jul 6, 2020
@diosmosis diosmosis deleted the required-before-optional-parameters branch July 6, 2020 18:36
tsteur added a commit that referenced this pull request 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
diosmosis pushed a commit that referenced this pull request Jul 7, 2020
refs #16182

I suppose eventually we'll go over all of them since the IDE should be able to detect all usages
@mattab mattab added this to the 4.0.0 milestone Jul 20, 2020
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Sep 29, 2020
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

3 participants