Commit afdca11
authored
[CLEANUP] Extract method
As well as being used with `usort()`, it may have other uses.
The deprecated `getLineNo()` and `getColNo()` are still used for now.
Replacing these will be done separately.
Relates to #974.RuleSet::comparePositionable (#1272)1 parent a51fc82 commit afdca11
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 176 | + | |
182 | 177 | | |
183 | 178 | | |
184 | 179 | | |
| |||
299 | 294 | | |
300 | 295 | | |
301 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
302 | 308 | | |
0 commit comments