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

Bug #16692 Spaces in paths in Squiz_Sniffs_Debug_JavaScriptLintSniff
Submitted: 2009-10-12 16:09 UTC
From: kukulich Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-10-12 16:09 UTC] kukulich (Jaroslav HanslĂ­k)
Description: ------------ Both paths ($jslPath, $fileName) on line 70 in Squiz_Sniffs_Debug_JavaScriptLintSniff should be surrounded by quotes because both can contain spaces (ex. Program Files, Documents & Settings). $cmd = '"'.$jslPath.'" -nologo -nofilelisting -nocontext -nosummary -output-format __LINE__:__ERROR__ -process "'.$fileName.'"';

Comments

 [2009-10-22 10:02 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Thanks for the patch. Worked perfectly.