Commit ID 52b723f08f7d1da4d4ca6906af537006ec62855b
Contributor: | Dagfinn Ilmari Mannsåker | Files Modified | 2 | |
Date: | 20-May-2024 at 20:29 | Lines Added: | 33 | |
Repository: | https://github.com/Perl-Critic/Perl-Critic master | Lines Removed: | 1 | |
Commit Comment: | ProhibitUnusedCapture: Fix recognising English array captures The English @LAST_MATCH_START and @LAST_MATCH_END arrays are not PPI::Token::Magic, so were not being recognised when used unsubscripted. In passing, add some tests for @- and @+ as well, and fix some missing closing parens and braces in the test file that were breaking editor auto-indenting. |
Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed | |
---|---|---|---|---|---|---|---|
AMPL | 15 | 1 | 8 | 0 | 9 | 0 | |
Perl | 1 | 0 | 0 | 0 | 0 | 0 |