diff --git a/pmd-php/src/main/java/net/sourceforge/pmd/lang/php/PhpLanguageModule.java b/pmd-php/src/main/java/net/sourceforge/pmd/lang/php/PhpLanguageModule.java index 8e6d9f33d9..1b1169f054 100644 --- a/pmd-php/src/main/java/net/sourceforge/pmd/lang/php/PhpLanguageModule.java +++ b/pmd-php/src/main/java/net/sourceforge/pmd/lang/php/PhpLanguageModule.java @@ -20,6 +20,6 @@ public class PhpLanguageModule extends CpdOnlyLanguageModuleBase { @Override public Tokenizer createCpdTokenizer(LanguagePropertyBundle bundle) { - return new AnyTokenizer("#"); + return new AnyTokenizer("#|//"); } }