This release adds modernization guidance on variable initialization and expands the strict-rule bans.
- Initialize before
try: guidance to declare and initialize variables ahead of atryblock rather than only inside it, withis_scalarnoted as an alternative check. - Strict-rule bans: the strict ruleset now flags the short ternary (
?:), the@error-suppression operator, and casts ofmixedvalues.
Full Changelog: v1.20.1...v1.20.2