Closed
Description
Bug Description
As seen, at https://travis-ci.org/github/Automattic/VIP-Coding-Standards/jobs/722253827, there is a test failure for PHP 8:
1) WordPressVIPMinimum\Tests\Functions\RestrictedFunctionsUnitTest::testSniff
[LINE 76] Expected 1 error(s) in RestrictedFunctionsUnitTest.inc but found 0 error(s).
It's related to this line
\add_role(); // Error.
We have it marked down as expecting 1 error on that line.
Environment
Use php -v
and composer show
to get versions.
Question | Answer |
---|---|
PHP version | 8.0.0-dev (5th August 2020) |
PHP_CodeSniffer version | 3.5.5 |
VIPCS version | develop |