Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 4, 2024

PHPCSUtils 1.0.9 made a change to the UtilityMethodTestCase which causes the selected sniff to no longer register its token listeners as the installed_paths from the CodeSniffer.conf file are no longer read out.

While this is fine for actual utility methods, it breaks the tests for the PHPCSDebug.Debug.TokenList test.

Fixed now.

Refs:

PHPCSUtils 1.0.9 made a change to the `UtilityMethodTestCase` which causes the selected sniff to no longer register its token listeners as the `installed_paths` from the `CodeSniffer.conf` file are no longer read out.

While this is fine for actual utility methods, it breaks the tests for the `PHPCSDebug.Debug.TokenList` test.

Fixed now.

Refs:
* https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.0.9
* PHPCSStandards/PHPCSUtils#525
@jrfnl jrfnl added this to the 1.x Next Release milestone Mar 4, 2024
@jrfnl jrfnl merged commit fb626bf into stable Mar 4, 2024
@jrfnl jrfnl deleted the phpcsdebug/fix-tests branch March 4, 2024 07:08
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.

1 participant