Skip to content

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

Development

Successfully merging this pull request may close these issues.

2 participants