Skip to content

Claude/add static analysis pass sh40 x#12

Merged
hyperpolymath merged 3 commits intomainfrom
claude/add-static-analysis-pass-SH40X
Dec 27, 2025
Merged

Claude/add static analysis pass sh40 x#12
hyperpolymath merged 3 commits intomainfrom
claude/add-static-analysis-pass-SH40X

Conversation

@hyperpolymath
Copy link
Owner

No description provided.

claude and others added 3 commits December 27, 2025 14:16
Add a new static analysis pass that detects:
- Unused variables (assigned but never read)
- Unused function/method parameters
- Unreachable code (after return, throw, break, continue)

Includes PHP fixture files for testing and HSpec test suite.
Add a comprehensive ruleset management system that allows:
- Enabling/disabling individual rules by ID
- Setting rule severity levels (Off, Info, Warning, Error, Critical)
- Organizing rules by category (Security, DeadCode, Types, WordPress, etc.)
- Predefined rulesets: strict, security, wordpress, minimal, default
- Ruleset merging for inheritance-style configuration
- JSON serialization for loading/saving rulesets

Includes 30+ rule definitions across 7 categories and comprehensive tests.
@hyperpolymath hyperpolymath merged commit 29421fc into main Dec 27, 2025
13 of 14 checks passed
@hyperpolymath hyperpolymath deleted the claude/add-static-analysis-pass-SH40X branch December 27, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants