diff --git a/vip-integrations/vip-agentforce-0.1/README.md b/vip-integrations/vip-agentforce-0.1/README.md index c5e3fa868..735ff92d4 100644 --- a/vip-integrations/vip-agentforce-0.1/README.md +++ b/vip-integrations/vip-agentforce-0.1/README.md @@ -91,7 +91,7 @@ Please note, for Psalm to work properly you will need to annotate your PHP code. ## Linting and coding standards -Linting and coding standards are powered by [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) (commonly known as PHPCS) along with WordPress VIP and WordPress core rulesets. +Linting and coding standards are powered by [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) (commonly known as PHPCS) along with WordPress VIP and WordPress core rulesets. For more information please refer to the [linting documentation](/docs/linting.md). diff --git a/vip-integrations/vip-block-data-api-1.4/phpcs.xml.dist b/vip-integrations/vip-block-data-api-1.4/phpcs.xml.dist index f307934fe..dc60e71bf 100644 --- a/vip-integrations/vip-block-data-api-1.4/phpcs.xml.dist +++ b/vip-integrations/vip-block-data-api-1.4/phpcs.xml.dist @@ -7,14 +7,14 @@ See https://github.com/WordPress/WordPress-Coding-Standards/issues/2035 --> - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> \.git/* diff --git a/vip-integrations/vip-governance-1.0/.phpcs.xml.dist b/vip-integrations/vip-governance-1.0/.phpcs.xml.dist index 6091934de..69264fe15 100644 --- a/vip-integrations/vip-governance-1.0/.phpcs.xml.dist +++ b/vip-integrations/vip-governance-1.0/.phpcs.xml.dist @@ -6,14 +6,14 @@ See https://github.com/WordPress/WordPress-Coding-Standards/issues/2035 --> - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> \.git/* diff --git a/vip-integrations/vip-security-boost-1.0/.phpcs.xml.dist b/vip-integrations/vip-security-boost-1.0/.phpcs.xml.dist index e1b0a87be..c3bc0849d 100644 --- a/vip-integrations/vip-security-boost-1.0/.phpcs.xml.dist +++ b/vip-integrations/vip-security-boost-1.0/.phpcs.xml.dist @@ -6,8 +6,8 @@ - - + + @@ -18,7 +18,7 @@ ./class-loader.php ./vip-security-boost.php + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> ./node_modules/ ./vendor/ @@ -34,7 +34,7 @@ Default PHPCS severity is 5 for errors/warnings. PHPCS severity config: - https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options#changing-the-default-severity-levels + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Configuration-Options#changing-the-default-severity-levels VIP Code Analysis Bot customization: https://docs.wpvip.com/vip-code-analysis-bot/customize-the-bot/#h-phpcs-severity diff --git a/vip-integrations/vip-security-boost-1.0/README.md b/vip-integrations/vip-security-boost-1.0/README.md index 1222aa2a7..a6b6e8571 100644 --- a/vip-integrations/vip-security-boost-1.0/README.md +++ b/vip-integrations/vip-security-boost-1.0/README.md @@ -91,7 +91,7 @@ Please note, for Psalm to work properly you will need to annotate your PHP code. ## Linting and coding standards. -Linting and coding standards are powered by [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) (commonly known as PHPCS) along with WordPress VIP and WordPress core rulesets. +Linting and coding standards are powered by [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) (commonly known as PHPCS) along with WordPress VIP and WordPress core rulesets. For more information please refer to the [linting documentation](/docs/linting.md). diff --git a/vip-integrations/vip-security-boost-1.0/docs/linting.md b/vip-integrations/vip-security-boost-1.0/docs/linting.md index 44785a9fe..c23a4202d 100644 --- a/vip-integrations/vip-security-boost-1.0/docs/linting.md +++ b/vip-integrations/vip-security-boost-1.0/docs/linting.md @@ -18,7 +18,7 @@ To run PHPCS, navigate to the directory where the relevant `.phpcs.xml.dist` liv vendor/bin/phpcs ``` -See the [PHPCS documentation](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage) (or run `phpcs -h`) for the available command line arguments. +See the [PHPCS documentation](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Usage) (or run `phpcs -h`) for the available command line arguments. ## PHPStan for static analysis diff --git a/wp-parsely-3.15/.phpcs.xml.dist b/wp-parsely-3.15/.phpcs.xml.dist index 123d0b86f..7ae9b4a2a 100644 --- a/wp-parsely-3.15/.phpcs.xml.dist +++ b/wp-parsely-3.15/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.16/.phpcs.xml.dist b/wp-parsely-3.16/.phpcs.xml.dist index 123d0b86f..7ae9b4a2a 100644 --- a/wp-parsely-3.16/.phpcs.xml.dist +++ b/wp-parsely-3.16/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.17/.phpcs.xml.dist b/wp-parsely-3.17/.phpcs.xml.dist index 7aa088a3b..765bc8b0c 100644 --- a/wp-parsely-3.17/.phpcs.xml.dist +++ b/wp-parsely-3.17/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.18/.phpcs.xml.dist b/wp-parsely-3.18/.phpcs.xml.dist index 7aa088a3b..765bc8b0c 100644 --- a/wp-parsely-3.18/.phpcs.xml.dist +++ b/wp-parsely-3.18/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.19/.phpcs.xml.dist b/wp-parsely-3.19/.phpcs.xml.dist index 7aa088a3b..765bc8b0c 100644 --- a/wp-parsely-3.19/.phpcs.xml.dist +++ b/wp-parsely-3.19/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.20/.phpcs.xml.dist b/wp-parsely-3.20/.phpcs.xml.dist index f6cd7902c..c78f84a5a 100644 --- a/wp-parsely-3.20/.phpcs.xml.dist +++ b/wp-parsely-3.20/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.21/.phpcs.xml.dist b/wp-parsely-3.21/.phpcs.xml.dist index 99a2d20ac..d50904d5f 100644 --- a/wp-parsely-3.21/.phpcs.xml.dist +++ b/wp-parsely-3.21/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + + diff --git a/wp-parsely-3.22/.phpcs.xml.dist b/wp-parsely-3.22/.phpcs.xml.dist index 99a2d20ac..d50904d5f 100644 --- a/wp-parsely-3.22/.phpcs.xml.dist +++ b/wp-parsely-3.22/.phpcs.xml.dist @@ -2,20 +2,20 @@ Custom ruleset for wp-parsely plugin. - - + + . + https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders --> /build/ /node_modules/ /vendor/ - - + +