Skip to content

Commit 763eca5

Browse files
authored
Merge pull request #4 from PHPCSStandards/feature/drop-pear-support
Drop support for releasing via PEAR
2 parents 6d22f38 + 7380693 commit 763eca5

File tree

16 files changed

+5187
-9149
lines changed

16 files changed

+5187
-9149
lines changed

.github/workflows/validate.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,3 @@ jobs:
5858
diff -B ./src/Standards/PSR12/ruleset.xml <(xmllint --format "./src/Standards/PSR12/ruleset.xml")
5959
diff -B ./src/Standards/Squiz/ruleset.xml <(xmllint --format "./src/Standards/Squiz/ruleset.xml")
6060
diff -B ./src/Standards/Zend/ruleset.xml <(xmllint --format "./src/Standards/Zend/ruleset.xml")
61-
62-
pear:
63-
name: "PHP: 7.4 | PEAR package validation"
64-
runs-on: ubuntu-latest
65-
66-
steps:
67-
- name: Checkout code
68-
uses: actions/checkout@v3
69-
70-
- name: Install PHP
71-
uses: shivammathur/setup-php@v2
72-
with:
73-
php-version: '7.4'
74-
coverage: none
75-
76-
- name: Validate the PEAR package file contents
77-
run: php scripts/validate-pear-package.php
78-
79-
- name: Validate the PEAR package
80-
run: pear package-validate package.xml

CHANGELOG.md

Lines changed: 5182 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ You will then be able to run PHP_CodeSniffer from the tools directory:
6262
./tools/phpcs -h
6363
./tools/phpcbf -h
6464
```
65-
### PEAR
66-
If you use PEAR, you can install PHP_CodeSniffer using the PEAR installer. This will make the `phpcs` and `phpcbf` commands immediately available for use. To install PHP_CodeSniffer using the PEAR installer, first ensure you have [installed PEAR](http://pear.php.net/manual/en/installation.getting.php) and then run the following command:
67-
```bash
68-
pear install PHP_CodeSniffer
69-
```
7065
### Git Clone
7166
You can also download the PHP_CodeSniffer source and run the `phpcs` and `phpcbf` commands directly from the Git clone:
7267
```bash

package.xml

Lines changed: 0 additions & 8631 deletions
This file was deleted.

scripts/ValidatePEAR/ValidatePEARPackageXML.php

Lines changed: 0 additions & 363 deletions
This file was deleted.

0 commit comments

Comments
 (0)