Closed Basster closed 2 years ago
Doh, will tidy up the dependencies, this was never intended to happen. Sorry about that :(
Ok, I found where this went wrong. At which point I completely forgot to drop the YUI compressors in dependencies and as such messed up. Working on PR's for both now resolve that and fix that in here as well
Just released 4.1.3
that drops the YUI compressors as I intended to do last year already.
Thank you @WyriHaximus!
In 520e7cec677bb44248a0de8033b217d93b37dc56 you've removed the
$externalCompressors
flag onFactory::constructSmallest()
.Unfortunately both dependent factories CssCompress -> Factory and JsCompress -> Factory still have this flag (default:
true
) and both now load theYUI\Compressor
which has a very questionable processing and exception handling:Deep down in
YUI\Compressor
it performs aproc_open
on the requiredyuicompressor.jar
(which is present, because of composer requirement innervo/yuicompressor
) but fails on the correspondingfwrite
throwing an exception but leaving theproc_open
pointer open (no exception handling with proc_close) which may lead to a lot of unnecessary process handlers.