Description:
Check coding standards in PHP, JavaScript and CSS
|
|
Type: Formula
|
Latest Version: 4.0.1@0
|
Tracked Since: Nov 10, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
php
linter
coding-standards
static-analysis
javascript
css
|
|
Install:
brew install php-code-sniffer
|
About:
PHP_CodeSniffer is a powerful static analysis tool that detects violations in PHP, JavaScript, and CSS code against defined coding standards. It automates the process of ensuring code consistency and quality across projects. The tool is highly configurable, allowing teams to enforce custom rules and maintain clean, readable codebases.
|
Key Features:
- Supports PHP, JavaScript, and CSS analysis
- Detects coding standard violations automatically
- Highly configurable with custom rulesets
- Integrates with CI/CD pipelines and IDEs
|
Use Cases:
- Enforcing coding standards in team projects
- Automated code quality checks in CI/CD pipelines
- Refactoring legacy codebases to meet modern standards
|
Alternatives:
-
PHP-CS-Fixer
– Focuses on automatically fixing coding standard issues, whereas PHPCS primarily detects and reports them.
-
ESLint
– A linter specifically for JavaScript, while PHPCS supports multiple languages including PHP and CSS.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Nov 10, 2025 5:53pm |
|
0 |
VERSION_BUMP |
fad9eff8 |
| Sep 17, 2025 1:26am |
|
0 |
VERSION_BUMP |
61a1eaad |
| Dec 11, 2024 6:48pm |
|
0 |
VERSION_BUMP |
14037b64 |
| Dec 11, 2024 1:30pm |
|
0 |
VERSION_BUMP |
22959d55 |
| Nov 16, 2024 2:34pm |
|
0 |
VERSION_BUMP |
8865f669 |
| Nov 16, 2024 1:54pm |
|
0 |
VERSION_BUMP |
d349c94e |
| Nov 12, 2024 2:28pm |
|
0 |
VERSION_BUMP |
a0c1076a |
| Nov 9, 2024 7:05pm |
|
0 |
VERSION_BUMP |
1904fd12 |
| Sep 18, 2024 9:30am |
|
0 |
VERSION_BUMP |
d2f70708 |
| Aug 24, 2024 6:44pm |
|
0 |
VERSION_BUMP |
cb7ca84e |
| Aug 2, 2024 5:42pm |
|
0 |
VERSION_BUMP |
3eff9c2d |
| Jul 22, 2024 1:49pm |
|
0 |
VERSION_BUMP |
72386807 |
| Jul 22, 2024 6:31am |
|
0 |
VERSION_BUMP |
783341c4 |
| May 20, 2024 11:50am |
|
0 |
VERSION_BUMP |
2b3b71a2 |
| Feb 17, 2024 1:17am |
|
0 |
VERSION_BUMP |
0c609775 |
| Feb 16, 2024 6:24pm |
|
0 |
VERSION_BUMP |
15a15285 |
| Jan 11, 2024 11:29pm |
|
0 |
VERSION_BUMP |
844f6a50 |
| Jan 11, 2024 11:18pm |
|
0 |
VERSION_BUMP |
f516ba5c |
|