macOS
brew install php-code-snifferlocal Homebrew formula metadata
brew / Rang 3320
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für php-code-sniffer in AI-Agent-Workflows.
Installation
brew install php-code-snifferlocal Homebrew formula metadata
sudo dnf install php-pear-PHP-CodeSnifferFedora Rawhide package metadata · php-pear-PHP-CodeSniffer · Quelle: dl.fedoraproject.org
Überblick
Check coding standards in PHP, JavaScript and CSS
Verlauf
PHP_CodeSniffer is an extensible command-line linter and fixer that tokenizes source files and checks them against defined coding standards.
PHP_CodeSniffer originated at Squiz as a tokenizer-based coding-standard checker and fixer. It developed built-in standards, an extensible sniff architecture, machine-readable reports, and project rulesets.
Maintenance subsequently continued under the PHPCSStandards organization, whose official repository explicitly identifies the project as the continuation of the abandoned Squizlabs package.
PHP_CodeSniffer became a standard PHP development tool because coding policies can be represented as reusable standards and project rulesets, then applied consistently from terminals, editors, hooks, and continuous-integration jobs.
The PHPCSStandards repository describes itself as the official continuation of the package created by Squizlabs. It retains the established Composer package and the long-standing `phpcs` and `phpcbf` commands.
Run `phpcs` against files or directories to report coding-standard violations, selecting a built-in, external, or project-defined standard as needed.
Run `phpcbf` to repair fixable violations. When no standard is supplied, PHP_CodeSniffer searches the current directory and its parents for `.phpcs.xml`, `phpcs.xml`, `.phpcs.xml.dist`, or `phpcs.xml.dist`, in that precedence order.
The package supplies two complementary executables: `phpcs` reports violations, while `phpcbf` automatically corrects violations for which a safe fixer exists.
Its discoverable project rulesets and installable external standards let one engine enforce PHP-FIG, framework, organization, or repository-specific conventions.
Sicherheitslage
escape, surveillance, or offensive capability signal.
red Risiko · mittel Konfidenz · escape-surveillance-offensive
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./.phpcs.xml./phpcs.xml./phpcs.xml.dist./ruleset.xmlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
phpcbf | cli | globales Executable | |
phpcs | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/PHPCSStandards/PHP_CodeSniffer
Installationsmetadaten
| Paketschlüssel | brew:php-code-sniffer |
|---|---|
| Version | 4.0.4 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/php-code-sniffer |
| Homepage | https://github.com/PHPCSStandards/PHP_CodeSniffer |
| Repository | https://github.com/PHPCSStandards/PHP_CodeSniffer |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/4.0.4/phpcs.phar |
| Zuletzt aktualisiert | 2026-10-06T14:42:33+03:00 |
| Pulse | updated |
| Abhängigkeiten | php |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | php-code-sniffer |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
php-pear-PHP-CodeSniffer 4.0.4-1.fc45
PHP coding standards enforcement tool
https://github.com/PHPCSStandards/PHP_CodeSniffer
sudo dnf install php-pear-PHP-CodeSnifferQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.