Bug #18717 [Fbk->Csd]: Duplicate class names on different packages issue

From: Date: Thu, 09 Feb 2012 04:37:53 +0000
Subject: Bug #18717 [Fbk->Csd]: Duplicate class names on different packages issue
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8249@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=18717&edit=1 ID: 18717 Updated by: guilhermeblanco@gmail.com Reported By: guilhermeblanco at gmail dot com Summary: Duplicate class names on different packages issue -Status: Feedback +Status: Closed Type: Bug Package: PHP_CodeSniffer Operating System: Any Package Version: 1.3.0 PHP Version: 5.3.6 Assigned To: squiz Roadmap Versions: New Comment: -Status: Feedback +Status: Closed Hi Greg, I verified git master of PHP_CodeSniffer and the commit 1ee835c9b36623d4937506965469a4c60d2c4c50 correctly fixed the issue. Thanks a lot for that! =) Cheers, Guilherme Blanco Previous Comments: ------------------------------------------------------------------------ [2012-02-09 03:39:27] squiz -Status: Open +Status: Feedback -Assigned To: +Assigned To: squiz I think this is the same thing as bug #19270 Try the latest git checkout and see if it is working for you now. ------------------------------------------------------------------------ [2011-08-11 18:43:55] guilhermeblanco Description: ------------ Hi Sebastian, As we spoke previously, the duplicate class name reports should not add a violation if the duplication happens on sibling packages. It is fine to have the violation if it's an inner package. Examples: A\C and A\B\C => should add violation, because B is an inner package of A. A\B\C and A\D\C => should not add a violation, because packages are siblings and have no correlation between each other. ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=18717&edit=1

« previous php.pear.bugs (#8249) next »