Skip to content

Commit a9dc6ed

Browse files
committed
drop support of PHP_CodeSniffer v2
1 parent 9d6e9fe commit a9dc6ed

File tree

4 files changed

+10
-32
lines changed

4 files changed

+10
-32
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Removed
2+
body: drop support of PHP_CodeSniffer 2.x
3+
time: 2025-04-13T05:50:44.42885575Z

docs/appendix/tools.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- MARKDOWN-TABLE:START -->
1010
| Name | Description | <sup>PHP 8.0</sup> | <sup>PHP 8.1</sup> | <sup>PHP 8.2</sup> | <sup>PHP 8.3</sup> | <sup>PHP 8.4</sup> |
1111
| :--- | :---------- | :------ | :------ | :------ | :------ | :------ |
12-
| | Total available: 55 | 30 | 31 | 31 | 35 | 40 |
12+
| | Total available: 53 | 28 | 29 | 29 | 33 | 38 |
1313
| asciinema | [Terminal session recorder](https://github.com/asciinema/asciinema) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
1414
| box v4 | [Fast, zero config application bundler with PHARs](https://github.com/box-project/box) | &#x274C; | &#x274C; | &#x2705; | &#x2705; | &#x274C; |
1515
| box-manifest v4 | [Create a manifest to a PHP Archive (PHAR) for the BOX project](https://github.com/llaville/box-manifest) | &#x274C; | &#x274C; | &#x2705; | &#x2705; | &#x2705; |
@@ -40,10 +40,8 @@
4040
| PHP-CS-Fixer 3 | [PHP Coding Standards Fixer (3.x versions)](https://github.com/FriendsOfPHP/PHP-CS-Fixer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
4141
| phpbench | [PHP Benchmarking framework](https://github.com/phpbench/phpbench) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
4242
| phpbu 6 | [PHP Backup Utility (6.x version)](https://github.com/sebastianfeldmann/phpbu) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
43-
| phpcbf 2 | [Automatically corrects coding standard violations](https://github.com/squizlabs/PHP_CodeSniffer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
44-
| phpcbf 3 | [Automatically corrects coding standard violations](https://github.com/squizlabs/PHP_CodeSniffer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
45-
| phpcs 2 | [PHP_CodeSniffer detects violations of a defined set of coding standards](https://github.com/squizlabs/PHP_CodeSniffer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
46-
| phpcs 3 | [PHP_CodeSniffer detects violations of a defined set of coding standards](https://github.com/squizlabs/PHP_CodeSniffer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
43+
| phpcbf 3 | [Automatically corrects coding standard violations](https://github.com/PHPCSStandards/PHP_CodeSniffer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
44+
| phpcs 3 | [PHP_CodeSniffer detects violations of a defined set of coding standards](https://github.com/PHPCSStandards/PHP_CodeSniffer) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
4745
| phpdd | [Finds usage of deprecated features](https://github.com/wapmorgan/PhpDeprecationDetector) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
4846
| phpdoc 3.3 | [Documentation Generator for PHP 7](https://github.com/phpdocumentor/phpdocumentor) | &#x2705; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |
4947
| phpdoc 3.7 | [Documentation Generator for PHP 8](https://github.com/phpdocumentor/phpdocumentor) | &#x274C; | &#x2705; | &#x2705; | &#x2705; | &#x2705; |

resources/tools/phpcbf.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,14 @@
33
{
44
"name": "phpcbf 3",
55
"summary": "Automatically corrects coding standard violations",
6-
"website": "https://github.com/squizlabs/PHP_CodeSniffer",
6+
"website": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
77
"command": {
88
"phar-download": {
9-
"phar": "https://github.com/squizlabs/PHP_CodeSniffer/releases/latest/download/phpcbf.phar",
9+
"phar": "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/latest/download/phpcbf.phar",
1010
"bin": "%target-dir%/phpcbf"
1111
}
1212
},
1313
"priority": 73
14-
},
15-
{
16-
"name": "phpcbf 2",
17-
"summary": "Automatically corrects coding standard violations",
18-
"website": "https://github.com/squizlabs/PHP_CodeSniffer",
19-
"command": {
20-
"phar-download": {
21-
"phar": "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar",
22-
"bin": "%target-dir%/phpcbf"
23-
}
24-
},
25-
"priority": 72
2614
}
2715
]
2816
}

resources/tools/phpcs.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,10 @@
33
{
44
"name": "phpcs 3",
55
"summary": "PHP_CodeSniffer detects violations of a defined set of coding standards",
6-
"website": "https://github.com/squizlabs/PHP_CodeSniffer",
6+
"website": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
77
"command": {
88
"phar-download": {
9-
"phar": "https://github.com/squizlabs/PHP_CodeSniffer/releases/latest/download/phpcs.phar",
10-
"bin": "%target-dir%/phpcs"
11-
}
12-
}
13-
},
14-
{
15-
"name": "phpcs 2",
16-
"summary": "PHP_CodeSniffer detects violations of a defined set of coding standards",
17-
"website": "https://github.com/squizlabs/PHP_CodeSniffer",
18-
"command": {
19-
"phar-download": {
20-
"phar": "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcs.phar",
9+
"phar": "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/latest/download/phpcs.phar",
2110
"bin": "%target-dir%/phpcs"
2211
}
2312
}

0 commit comments

Comments
 (0)