Registry / other / automattic-vipwpcs

automattic-vipwpcs

JSON →
library3.0.1phppackagistunverified

PHP_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions

composer require automattic/vipwpcs
INSTALL
IMPORT
SIG · AUTOMATTIC-VIPWPCS
A
automattic-vipwpcs
otherphpv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RestrictedFunctionsSniff
use PHP_CodeSniffer\Standards\VIP\Sniffs\Core\RestrictedFunctionsSniff;

Example of using a VIP sniff class

use PHP_CodeSniffer\Standards\VIP\Sniffs\Core\RestrictedFunctionsSniff; $sniff = new RestrictedFunctionsSniff();
Debug
Known issues
breakingRequires PHP_CodeSniffer 3.x
fix
Ensure you have squizlabs/php_codesniffer >=3.0 installed
affects: >=3.0.0
Upgrade
Version history
3.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
20
Meta
2
OpenAI (training)
2
Amazon
1
Resources
automattic-vipwpcs — pip install automattic-vipwpcs · libregistry