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

Helper::setConfigData(): PHPCS 4.x compatibility #137

Merged
merged 1 commit into from
May 14, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 14, 2020

As of PHPCS 4.x, the PHP_CodeSniffer\Config::setConfigData() method is no longer static.

Ref: squizlabs/PHP_CodeSniffer@10a89a2

This commit adds a new $config parameter to the Helper::setConfigData() method which will be a required parameter for PHPCS 4.x.

Includes adjusted unit tests.

As of PHPCS 4.x, the `PHP_CodeSniffer\Config::setConfigData()` method is no longer static.

Ref: squizlabs/PHP_CodeSniffer@10a89a2

This commit adds a new `$config` parameter to the `Helper::setConfigData()` method which will be a required parameter for PHPCS 4.x.

Includes adjusted unit tests.
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.

1 participant