https://github.com/varunsridharan/php-sniff
Collection of PHP Coding Standards & Compatibility Rules Set for My Projects
https://github.com/varunsridharan/php-sniff
php php-code-sniffer php-codesniffer php-compatibility php-standard phpcodesniffer phpcodesniffer-rules phpcodesniffer-standard phpcompatibility phpcompatibility-standard phpcs phpcs-standard wordpress wordpress-standards wp-plugin wp-theme wpcs
Last synced: 3 months ago
JSON representation
Collection of PHP Coding Standards & Compatibility Rules Set for My Projects
- Host: GitHub
- URL: https://github.com/varunsridharan/php-sniff
- Owner: varunsridharan
- License: gpl-3.0
- Created: 2019-05-08T10:40:28.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T01:08:27.000Z (over 4 years ago)
- Last Synced: 2025-04-05T09:23:00.929Z (6 months ago)
- Topics: php, php-code-sniffer, php-codesniffer, php-compatibility, php-standard, phpcodesniffer, phpcodesniffer-rules, phpcodesniffer-standard, phpcompatibility, phpcompatibility-standard, phpcs, phpcs-standard, wordpress, wordpress-standards, wp-plugin, wp-theme, wpcs
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Sniff
~ Collection of PHP Coding Standards & Compatibility Rules Set for My Projects ~## βοΈInstallation
The preferred way to install this extension is through [Composer](https://sva.onl/composer/).To install **varunsridharan/PHP-Sniff**, simply:
$ composer require varunsridharan/php-sniff
### Required Packages
composer require dealerdirect/phpcodesniffer-composer-installer
composer require phpcompatibility/php-compatibility
composer require phpcompatibility/phpcompatibility-wp
composer require wp-coding-standards/wpcs---
## `vs-php-compatibility`
Contains rules related to PHP Compatibility## `vs-wp-php-coding-standards`
Contains rules related to WordPress coding standards## `vs-local-phpstorm`
This rule set is contains both `vs-php-compatibility` AND `vs-wp-php-coding-standards` rules to make it work in my local PHPStorm---
## π€ Contributing
If you would like to help, please take a look at the list of [issues](https://github.com/varunsridharan/php-sniff/issues/).## π License & Conduct
- [**GNU General Public License v3.0**](https://github.com/varunsridharan/php-sniff/blob/main/LICENSE) Β© [Varun Sridharan](website)
- [Code of Conduct](https://github.com/varunsridharan/.github/blob/master/CODE_OF_CONDUCT.md)## π£ Feedback
- β This repository if this project helped you! :wink:
- Create An [π§ Issue](https://github.com/varunsridharan/php-sniff/issues/) if you need help / found a bug## π° Sponsor
[I][twitter] fell in love with open-source in 2013 and there has been no looking back since! You can read more about me [here][website].
If you, or your company, use any of my projects or like what Iβm doing, kindly consider backing me. I'm in this for the long run.- β How about we get to know each other over coffee? Buy me a cup for just [**$9.99**][buymeacoffee]
- βοΈβοΈ How about buying me just 2 cups of coffee each month? You can do that for as little as [**$9.99**][buymeacoffee]
- π° We love bettering open-source projects. Support 1-hour of open-source maintenance for [**$24.99 one-time?**][paypal]
- π Love open-source tools? Me too! How about supporting one hour of open-source development for just [**$49.99 one-time ?**][paypal][paypal]: https://sva.onl/paypal
[buymeacoffee]: https://sva.onl/buymeacoffee
[twitter]: https://sva.onl/twitter/
[website]: https://sva.onl/website/## Connect & Say π
- **Follow** me on [π¨βπ» Github][github] and stay updated on free and open-source software
- **Follow** me on [π¦ Twitter][twitter] to get updates on my latest open source projects
- **Message** me on [π Telegram][telegram]
- **Follow** my pet on [Instagram][sofythelabrador] for some _dog-tastic_ updates![sofythelabrador]: https://www.instagram.com/sofythelabrador/
[github]: https://sva.onl/github/
[twitter]: https://sva.onl/twitter/
[telegram]: https://sva.onl/telegram/---
Built With β₯ By Varun Sridharan
![]()
![]()
---