forked from phoedos/pmd
[php] Recognize "//" as eol comment
This commit is contained in:
@ -20,6 +20,6 @@ public class PhpLanguageModule extends CpdOnlyLanguageModuleBase {
|
||||
|
||||
@Override
|
||||
public Tokenizer createCpdTokenizer(LanguagePropertyBundle bundle) {
|
||||
return new AnyTokenizer("#");
|
||||
return new AnyTokenizer("#|//");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user