mir-analyzer 0.59.2

Analysis engine for the mir PHP static analyzer
Documentation
1
2
3
4
5
6
7
8
9
10
11
===description===
inline suppression reaches dead-code diagnostics (cross-pass)
===file===
<?php
class C {
    // @mir-ignore UnusedMethod
    private function a(): void {}
    private function b(): void {}
}
===expect===
UnusedMethod@5:4-5:33: Private method C::b() is never called