What's Changed
New features
- Baseline can be created without line numbers using the --ignore-line-numbers option by @AlessandroMinoccheri in #621
Fixes
- fix: make init suggest a command instead of a wrong path by @fain182 in #625
- Fix nullable return type dependency not detected by @fain182 in #640
- Detect dependencies in union, intersection and DNF types by @fain182 in #644
- Detect closure and arrow function return type dependencies by @fain182 in #645
- Detect typed class constant dependencies (PHP 8.3) by @fain182 in #646
Documentation improvements
- Improve configuration's documentation by @fain182 in #623
- docs: document the init and debug:expression commands by @fain182 in #624
- docs: slim README and extract rule catalog to docs/rules.md by @fain182 in #627
- Adds UPGRADE.md by @fain182 in #628
- docs: expand rules reference with signatures and per-rule TOC by @fain182 in #634
Chores
- Simplify FileVisitor and dedup property hook param dependencies by @fain182 in #647
- ci(deps): bump codecov/codecov-action from 6 to 7 by @dependabot[bot] in #622
- Remove unnecessary array deduplication in namespace expressions by @fain182 in #629
- ci(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #632
- ci(deps): bump actions/cache from 5 to 6 by @dependabot[bot] in #633
Full Changelog: 1.1.1...1.2.0