Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 3, 2020

PR #169 added support for PHP 8.0 constructor property promotion to the FunctionDeclarations::getParameters() method.

Upstream PR squizlabs/PHP_CodeSniffer#3152 added the same to the PHPCS native File::getMethodParameters() method.

As that PR has now been merged, this commit syncs the upstream changes into the BCFile::getMethodParameters() method and moves the unit tests from the "Diff" tests to the BCFile test class.

… promotion support PR 169 added support for PHP 8.0 constructor property promotion to the `FunctionDeclarations::getParameters()` method. Upstream PR 3152 added the same to the PHPCS native `File::getMethodParameters()` method. As that PR has now been merged, this commit syncs the upstream changes into the `BCFile::getMethodParameters()` method and moves the unit tests from the "Diff" tests to the BCFile test class.
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Nov 3, 2020
@jrfnl jrfnl merged commit 672543f into develop Nov 3, 2020
@jrfnl jrfnl deleted the feature/getmethodparam-constr-prop-promotion-sync-with-phpcs branch November 3, 2020 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment