Skip to content

PHP 8.0 - PHPCS tests - incompatibility with vipwpcs and wpcs  #646

@htdat

Description

@htdat

Summary

squizlabs/php_codesniffer - as a part of automattic/vipwpcs is causing the following error:

PHP Fatal error:  Uncaught TypeError: vsprintf(): Argument #2 ($values) must be of type array, string given in /home/runner/work/Edit-Flow/Edit-Flow/vendor/squizlabs/php_codesniffer/src/Files/File.php:1056

As mentioned in #638 (comment), the issue in WPCS:

Relevant issue squizlabs/PHP_CodeSniffer#3196
It has been fixed here WordPress/WordPress-Coding-Standards#1935
But WPCS ver 3.0.0 including this fix has not been released.

Next

Wait for the new release of WPCS 3.0.0 and see if the issue still exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions