Skip to content

NewConstantArraysUsingDefine: add tests with named parameters#1369

Merged
wimg merged 1 commit intodevelopfrom
feature/1239-newconstantarraysusingdefine-named-params-tests
Oct 27, 2022
Merged

NewConstantArraysUsingDefine: add tests with named parameters#1369
wimg merged 1 commit intodevelopfrom
feature/1239-newconstantarraysusingdefine-named-params-tests

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Oct 26, 2022

PHPCSUtils 1.0.0-alpha4 adds support for named parameters.

PR #1249 already added the parameter name to the function call to PassedParameters::getParameter().

This now adds some unit tests to safeguard the support for named parameters in this sniff.

Related to #1239

PHPCSUtils `1.0.0-alpha4` adds support for named parameters.

PR 1249 already added the parameter name to the function call to `PassedParameters::getParameter()`.

This now adds some unit tests to safeguard the support for named parameters in this sniff.
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Oct 26, 2022
@jrfnl jrfnl added this to the 10.0.0 milestone Oct 26, 2022
@jrfnl jrfnl requested a review from wimg October 26, 2022 12:51
@wimg wimg merged commit 13e3cc0 into develop Oct 27, 2022
@wimg wimg deleted the feature/1239-newconstantarraysusingdefine-named-params-tests branch October 27, 2022 22:05
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants