Skip to content

PHPCSUtils Breaks With Deprecation Notice ~~Because of Itself~~ #380

Closed
@timnolte

Description

@timnolte

Getting the following error when attempting to use the develop branch due to the requirements needed to use the 'develop' branch of PHPCompatibility in order to scan for PHP 8.0 compatibility.

The PHPCSUtils\Tokens\Collections::functionDeclarationTokensBC() method is deprecated since PHPCSUtils 1.0.0-alpha4. Use the PHPCSUtils\Tokens\Collections::functionDeclarationTokens() method instead. in vendor/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php on line 719 (Internal.Exception)

This is breaking all uses of PHPCS. I was able to lock in to the tagged 1.0.0-alpha3 version and it did resolve the issue for now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions