From e8cd65f444039503a75cf4057d55442fc4316f78 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 4 Dec 2023 08:00:30 +0530 Subject: [PATCH] Switch to PHPCSStandards/PHP_CodeSniffer for phpcs and phpcbf --- README.md | 4 ++-- __tests__/tools.test.ts | 4 ++-- src/configs/tools.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 48e63e6a..914aadf7 100644 --- a/README.md +++ b/README.md @@ -1048,9 +1048,9 @@ These companies generously provide setup-php their products and services to aid [`phive`]: https://phar.io/ [`php-config`]: https://www.php.net/manual/en/install.pecl.php-config.php [`php-cs-fixer`]: https://cs.symfony.com/ -[`phpcbf`]: https://github.com/squizlabs/php_codesniffer +[`phpcbf`]: https://github.com/PHPCSStandards/php_codesniffer [`phpcpd`]: https://github.com/sebastianbergmann/phpcpd -[`phpcs`]: https://github.com/squizlabs/php_codesniffer +[`phpcs`]: https://github.com/PHPCSStandards/php_codesniffer [`phpdoc`]: https://phpdoc.org/ [`phpDocumentor`]: https://phpdoc.org/ [`phpize`]: https://www.php.net/manual/en/install.pecl.phpize.php diff --git a/__tests__/tools.test.ts b/__tests__/tools.test.ts index 4bb299ae..0af7fc42 100644 --- a/__tests__/tools.test.ts +++ b/__tests__/tools.test.ts @@ -454,9 +454,9 @@ describe('Tools tests', () => { 'add_composer_tool phinx phinx robmorgan/ scoped', 'add_tool https://github.com/phar-io/phive/releases/download/1.2.3/phive-1.2.3.phar phive', 'add_devtools php-config', - 'add_tool https://github.com/squizlabs/PHP_CodeSniffer/releases/latest/download/phpcbf.phar phpcbf "--version"', + 'add_tool https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/latest/download/phpcbf.phar phpcbf "--version"', 'add_tool https://phar.phpunit.de/phpcpd.phar phpcpd "--version"', - 'add_tool https://github.com/squizlabs/PHP_CodeSniffer/releases/latest/download/phpcs.phar phpcs "--version"', + 'add_tool https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/latest/download/phpcs.phar phpcs "--version"', 'add_tool https://github.com/phpDocumentor/phpDocumentor/releases/latest/download/phpDocumentor.phar phpDocumentor "--version"', 'add_devtools phpize', 'add_tool https://github.com/phpmd/phpmd/releases/latest/download/phpmd.phar phpmd "--version"', diff --git a/src/configs/tools.json b/src/configs/tools.json index 62ce8685..437ff388 100644 --- a/src/configs/tools.json +++ b/src/configs/tools.json @@ -84,7 +84,7 @@ }, "phpcbf": { "type": "phar", - "repository": "squizlabs/PHP_CodeSniffer", + "repository": "PHPCSStandards/PHP_CodeSniffer", "extension": ".phar", "domain": "https://github.com", "version_prefix": "", @@ -92,7 +92,7 @@ }, "phpcs": { "type": "phar", - "repository": "squizlabs/PHP_CodeSniffer", + "repository": "PHPCSStandards/PHP_CodeSniffer", "extension": ".phar", "domain": "https://github.com", "version_prefix": "",