squizlabs/PHP_CodeSniffer
View on GitHub ↗ ★ 10,765 PHP
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
9 mentions on Hacker News by 8 people: 4 stories, 5 comments · first 2014-04-27 · latest 2024-02-17
20082026
-
▲ 3
The Future of PHP_CodeSnifferstory by rasso · 2024-02-17 · 0 comments
-
▲ 4
The Future of PHP CodeSnifferstory by phillsav · 2023-12-01 · 0 comments
-
You can use phpcs < https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src... > to easily do this.
comment by Master_Odin · 2022-02-27 · in Self-obfuscating value objects in PHP -
…https://github.com/phan/phan ) is another one. Other potentially useful tools: - PHP_CodeSniffer ( https://github.com/squizlabs/PHP_CodeSniffer ) - GrumPHP ( https://github.com/phpro/grumphp ) - PHP Mess Detector ( https://phpmd.org/ )
comment by bunnybender · 2019-02-08 · in Moving from Go to PHP Again -
▲ 1
Tokenize PHP, Js and CSS files and detects violations of coding standardsstory by federicoponzi · 2017-05-08 · 0 comments
-
…parser to transform (with code you write) those pesky old bad habits. This one is ok. [2] [1] https://github.com/squizlabs/PHP_CodeSniffer [2] https://github.com/nikic/PHP-Parser
comment by labrador · 2016-11-06 · in Online PHP Coding Standards Fixer -
…help with some standardizing. ----- I'll be reviewing this more in depth later. Best of luck! [1] https://github.com/squizlabs/PHP_CodeSniffer [2] https://www.codacy.com/ [3] http://www.php-fig.org/psr/
comment by samsnelling · 2015-05-07 · in Show HN: AllSpark – A PHP Scaffolding/Boilerplate Framework -
I can see something similar exists for PHP/WordPress https://github.com/squizlabs/PHP_CodeSniffer
comment by ziodave · 2014-04-27 · in Ask HN: do you use the 'format code' feature of your IDE? -
▲ 2
PHP_CodeSniffer tokenises PHP, JS and CSS detecting coding standards violationsstory by ziodave · 2014-04-27 · 0 comments