Skip to content

Commit 1ab2cda

Browse files
authored
Merge pull request #438 from rodrigoprimo/docs/update-phpcs-repo-link
Docs: Update PHP_CodeSniffer repository link
2 parents 396116d + 7c4761b commit 1ab2cda

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/pages/best-practices/extensions/architecture.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ Some important things to check in your extensions:
5151

5252
## Use the PHP_CodeSniffer tool
5353

54-
[PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) is a set of PHP scripts that checks your code for violations of a particular coding standard. It can be used in conjunction with the [Coding Standard](https://github.com/magento/magento-coding-standard) to check your code for some of the more common application and PHP problems. Using these two tools will ensure that your extension code meets many of [coding standards](../../coding-standards/index.md). It also has the added benefits of keeping your code clean and maintainable.
54+
[PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) is a set of PHP scripts that checks your code for violations of a particular coding standard. It can be used in conjunction with the [Coding Standard](https://github.com/magento/magento-coding-standard) to check your code for some of the more common application and PHP problems. Using these two tools will ensure that your extension code meets many of [coding standards](../../coding-standards/index.md). It also has the added benefits of keeping your code clean and maintainable.

‎src/pages/best-practices/extensions/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Coding standards are a set of guidelines that describe how code should be writte
2525
* [PSR2](https://www.php-fig.org/psr/psr-2/)
2626
* [PSR4](https://www.php-fig.org/psr/psr-4/)
2727

28-
To help you stick to coding standards, we recommend using the [PHP_CodeSniffer tool](https://github.com/squizlabs/PHP_CodeSniffer).
28+
To help you stick to coding standards, we recommend using the [PHP_CodeSniffer tool](https://github.com/PHPCSStandards/PHP_CodeSniffer).
2929

3030
## Write and utilize reusable code
3131

‎src/pages/coding-standards/contributing.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To start your contribution:
2323

2424
PHPCS rules are called sniffs. A sniff is just a static code analyzer that will process our custom logic every time it finds an occurrence or any tokens we choose. This custom logic is in charge of identifying if there's a violation of a certain rule in an specific code, and will return an **error** or **warning** depending on the severity of that issue.
2525

26-
Follow the [official PHPCS guide](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Coding-Standard-Tutorial) steps to write a sniff.
26+
Follow the [official PHPCS guide](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Coding-Standard-Tutorial) steps to write a sniff.
2727

2828
<InlineAlert variant="info" slots="text"/>
2929

‎src/pages/development/validate/test-component.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ See these resources for testing in PHP and validating components:
5959
[Install your component]: https://experienceleague.adobe.com/en/docs/commerce-operations/upgrade-guide/overview
6060
[Install using Composer]: https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/next-steps/sample-data/composer-packages
6161
[Coding Standard]: https://github.com/magento/magento-coding-standard
62-
[PHP_CodeSniffer]: https://github.com/squizlabs/PHP_CodeSniffer
62+
[PHP_CodeSniffer]: https://github.com/PHPCSStandards/PHP_CodeSniffer

0 commit comments

Comments
 (0)