Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.7.2

Bug #18717 Duplicate class names on different packages issue
Submitted: 2011-08-11 22:43 UTC
From: guilhermeblanco Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.3.0)
PHP Version: 5.3.6 OS: Any
Roadmaps: (Not assigned)    
Subscription  


 [2011-08-11 22:43 UTC] guilhermeblanco (Guilherme Blanco)
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.

Comments

 [2012-02-09 08:39 UTC] squiz (Greg Sherwood)
-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.
 [2012-02-09 09:37 UTC] guilhermeblanco (Guilherme Blanco)
-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