Bug->Req #19331 [Opn]: Very long execution time (possible endless loop) on minified JS resources
| From: | gsherwood at squiz dot net | Date: | Wed, 14 Mar 2012 01:09:50 +0000 |
| Subject: | Bug->Req #19331 [Opn]: Very long execution time (possible endless loop) on minified JS resources | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8390@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19331&edit=1
ID: 19331
Updated by: gsherwood@squiz.net
Reported By: me at thomaskeller dot biz
Summary: Very long execution time (possible endless loop) on
minified JS resources
Status: Open
-Type: Bug
+Type: Feature/Change Request
Package: PHP_CodeSniffer
Operating System: Mac OS X 10.6.8
Package Version: 1.3.3
PHP Version: 5.3.8
Roadmap Versions:
New Comment:
-Type: Bug
+Type: Feature/Change Request
Previous Comments:
------------------------------------------------------------------------
[2012-03-14 00:36:12] #6a1e9606dd2c77013ab
Description:
------------
A couple of days ago I ran into the problem to accidentially
execute phpcs on minified JS resources, namely the one from
jQuery 1.7. The problem wasn't noticed right from the start
and therefor the process ran for 10 days (!) without any result
on our Jenkins.
I'm pretty sure its hard to fix these kinds of problems and
sniffing minified resources probably isn't the most useful thing
to do anyways, so maybe phpcs could include a default set of
exclude patterns, like "*.min.js" and "*.min.css", that are
always honored. Alternatively it would be cool to get a big fat
warning about these kinds of problems somewhere in the
documentation... :)
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19331&edit=1