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

PHPCSDebug: fix tests #137

Merged
merged 1 commit into from
Mar 4, 2024
Merged

PHPCSDebug: fix tests #137

merged 1 commit into from
Mar 4, 2024

Commits on Mar 4, 2024

  1. PHPCSDebug: fix tests

    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 committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    8c77b05 View commit details
    Browse the repository at this point in the history