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

Request #17227 Allow multipart file extensions
Submitted: 2010-03-16 02:00 UTC
From: ashnazg Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.2.2)
PHP Version: 5.2.4 OS: RHEL4
Roadmaps: (Not assigned)    
Subscription  


 [2010-03-16 02:00 UTC] ashnazg (Chuck Burgess)
Description: ------------ The --extensions argument should allow multipart file extensions, e.g. for file foo.class.php, the extension of class.php is recognizable. The attached patch implements this. Test script: --------------- Files: - foo.class.php - class.php - bar.php Run: phpcs --extensions=class.php ./ Expected result: ---------------- Report only includes foo.class.php Actual result: -------------- No files match the extension mask, so report is empty.

Comments

 [2010-03-16 02:02 UTC] ashnazg (Chuck Burgess)
 [2010-03-16 02:13 UTC] ashnazg (Chuck Burgess)
Original patch by Doug Hanks at Progress Rail Services, only slightly edited by me...
 [2011-04-08 10:11 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!