mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Switch to PHPCSStandards/PHP_CodeSniffer for phpcs and phpcbf
This commit is contained in:
parent
e6f75134d3
commit
e8cd65f444
@ -1048,9 +1048,9 @@ These companies generously provide setup-php their products and services to aid
|
|||||||
[`phive`]: https://phar.io/
|
[`phive`]: https://phar.io/
|
||||||
[`php-config`]: https://www.php.net/manual/en/install.pecl.php-config.php
|
[`php-config`]: https://www.php.net/manual/en/install.pecl.php-config.php
|
||||||
[`php-cs-fixer`]: https://cs.symfony.com/
|
[`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
|
[`phpcpd`]: https://github.com/sebastianbergmann/phpcpd
|
||||||
[`phpcs`]: https://github.com/squizlabs/php_codesniffer
|
[`phpcs`]: https://github.com/PHPCSStandards/php_codesniffer
|
||||||
[`phpdoc`]: https://phpdoc.org/
|
[`phpdoc`]: https://phpdoc.org/
|
||||||
[`phpDocumentor`]: https://phpdoc.org/
|
[`phpDocumentor`]: https://phpdoc.org/
|
||||||
[`phpize`]: https://www.php.net/manual/en/install.pecl.phpize.php
|
[`phpize`]: https://www.php.net/manual/en/install.pecl.phpize.php
|
||||||
|
@ -454,9 +454,9 @@ describe('Tools tests', () => {
|
|||||||
'add_composer_tool phinx phinx robmorgan/ scoped',
|
'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_tool https://github.com/phar-io/phive/releases/download/1.2.3/phive-1.2.3.phar phive',
|
||||||
'add_devtools php-config',
|
'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://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_tool https://github.com/phpDocumentor/phpDocumentor/releases/latest/download/phpDocumentor.phar phpDocumentor "--version"',
|
||||||
'add_devtools phpize',
|
'add_devtools phpize',
|
||||||
'add_tool https://github.com/phpmd/phpmd/releases/latest/download/phpmd.phar phpmd "--version"',
|
'add_tool https://github.com/phpmd/phpmd/releases/latest/download/phpmd.phar phpmd "--version"',
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
},
|
},
|
||||||
"phpcbf": {
|
"phpcbf": {
|
||||||
"type": "phar",
|
"type": "phar",
|
||||||
"repository": "squizlabs/PHP_CodeSniffer",
|
"repository": "PHPCSStandards/PHP_CodeSniffer",
|
||||||
"extension": ".phar",
|
"extension": ".phar",
|
||||||
"domain": "https://github.com",
|
"domain": "https://github.com",
|
||||||
"version_prefix": "",
|
"version_prefix": "",
|
||||||
@ -92,7 +92,7 @@
|
|||||||
},
|
},
|
||||||
"phpcs": {
|
"phpcs": {
|
||||||
"type": "phar",
|
"type": "phar",
|
||||||
"repository": "squizlabs/PHP_CodeSniffer",
|
"repository": "PHPCSStandards/PHP_CodeSniffer",
|
||||||
"extension": ".phar",
|
"extension": ".phar",
|
||||||
"domain": "https://github.com",
|
"domain": "https://github.com",
|
||||||
"version_prefix": "",
|
"version_prefix": "",
|
||||||
|
Loading…
Reference in New Issue
Block a user