Repository navigation
Releases: 3n9/SmartyLint
Releases · 3n9/SmartyLint
Release list
v1.3.1
Full Changelog: v1.3.0...v1.3.1
SmartyLint v1.3.0
SmartyLint 1.3.0 improves analysis accuracy and uses SmartyAST 1.3.0.
Changes
- Require SmartyAST 1.3.0 or later in the 1.x series, bringing corrected modifier chains, expression source positions, and parser diagnostics.
- Count variables referenced in
elseifconditions as used. - Infer types at each expression's use site, accounting for assignment order, branches, loops, shorthand assignments, captures, and modifier output types.
- Preserve project configuration and follow transitive include and inheritance relationships during unused-variable analysis.
- Invalidate caches when configuration, implementations, template contents, or include resolution changes.
- Correct the version reported by the CLI and SARIF output.
Installation
Download smartylint.phar from the assets below, or install from source with Composer. PHP 8.4 or later is required.
Full changelog: v1.2.0...v1.3.0
v1.2.0
v1.1.1
v1.1.0
Full Changelog: https://github.com/3n9/SmartyLint/commits/v1.1.0