Skip to content

Commit

Permalink
Merge pull request #4 from PHPCSStandards/feature/drop-pear-support
Browse files Browse the repository at this point in the history
Drop support for releasing via PEAR
  • Loading branch information
jrfnl authored Nov 8, 2023
2 parents 6d22f38 + 7380693 commit 763eca5
Show file tree
Hide file tree
Showing 16 changed files with 5,187 additions and 9,149 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,3 @@ jobs:
diff -B ./src/Standards/PSR12/ruleset.xml <(xmllint --format "./src/Standards/PSR12/ruleset.xml")
diff -B ./src/Standards/Squiz/ruleset.xml <(xmllint --format "./src/Standards/Squiz/ruleset.xml")
diff -B ./src/Standards/Zend/ruleset.xml <(xmllint --format "./src/Standards/Zend/ruleset.xml")
pear:
name: "PHP: 7.4 | PEAR package validation"
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: none

- name: Validate the PEAR package file contents
run: php scripts/validate-pear-package.php

- name: Validate the PEAR package
run: pear package-validate package.xml
5,182 changes: 5,182 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ You will then be able to run PHP_CodeSniffer from the tools directory:
./tools/phpcs -h
./tools/phpcbf -h
```
### PEAR
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:
```bash
pear install PHP_CodeSniffer
```
### Git Clone
You can also download the PHP_CodeSniffer source and run the `phpcs` and `phpcbf` commands directly from the Git clone:
```bash
Expand Down
8,631 changes: 0 additions & 8,631 deletions package.xml

This file was deleted.

363 changes: 0 additions & 363 deletions scripts/ValidatePEAR/ValidatePEARPackageXML.php

This file was deleted.

Loading

0 comments on commit 763eca5

Please sign in to comment.