ovr / phpsa

Smart/Static Analyzer(sis) for PHP :bowtie::neckbeard:
Other
638 stars 77 forks source link

[Analyzer] Check duplicated variables in use #279

Closed ovr closed 6 years ago

ovr commented 7 years ago
$a = 1;
$b = 2;

function () use ($a, $b, $a) { // <- duplicated variable $a
} 
kilgaloon commented 7 years ago

Is this still open? Somebody were doing something on this one?

ovr commented 7 years ago

@Kilgaloon As I known it's still open, can you check it? Thank!

kilgaloon commented 7 years ago

I will start working on this. Somebody can maybe take a look at PR related to #329

ovr commented 6 years ago

I am going to close this issue because it's implemented by @Kilgaloon