Phanalist v1.0.0
The first stable release of Phanalist — a performant PHP static analyzer built in Rust that focuses on structural health and maintainability.
What's new since 0.1.24
Added
- LCOM4 metric (E0015)
- Cognitive complexity metric (E0016)
- CBO, WMC, RFC, DIT, NOC, Ca/Ce, I/A/D architectural metrics (E0017–E0023)
- Lines of Code per Method / per File (E0024–E0025)
- Comment ratio rule (E0026)
- God class / brain class detection (E0027)
- Data class detection (E0028)
- Fan-in / fan-out metric (E0029)
- Cyclomatic complexity density (E0030)
- Baseline support — freeze current violations and report only new ones
- Config merge logic for upgrading existing configs with new rule defaults
- CD scripts: versioning, publication, and changelog management
Changed
- Updated CI actions to latest versions
- Standardized rule code visibility
- Updated README rules table with accurate links
Fixed
- Various Clippy warnings and documentation typos
Removed
- Dead code and unused dependencies
Install: curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/denzyldick/phanalist/main/bin/init.sh | sh
Composer: composer require denzyl/phanalist
Docker: docker run ghcr.io/denzyldick/phanalist:latest