macOS
brew install php-code-snifferlocal Homebrew formula metadata
brew / 順位 3320
php-code-sniffer のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install php-code-snifferlocal Homebrew formula metadata
sudo dnf install php-pear-PHP-CodeSnifferFedora Rawhide package metadata · php-pear-PHP-CodeSniffer · ソース: dl.fedoraproject.org
概要
Check coding standards in PHP, JavaScript and CSS
履歴
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.
セキュリティ状態
escape, surveillance, or offensive capability signal.
リスク red · 信頼度 中 · escape-surveillance-offensive
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.xml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
phpcbf | cli | グローバル実行可能ファイル | |
phpcs | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/PHPCSStandards/PHP_CodeSniffer
インストールメタデータ
| パッケージキー | brew:php-code-sniffer |
|---|---|
| バージョン | 4.0.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/php-code-sniffer |
| ホームページ | https://github.com/PHPCSStandards/PHP_CodeSniffer |
| リポジトリ | https://github.com/PHPCSStandards/PHP_CodeSniffer |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/4.0.4/phpcs.phar |
| 最終更新 | 2026-10-06T14:42:33+03:00 |
| Pulse | updated |
| 依存関係 | php |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-CodeSnifferソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.