PHP-YUI-Compressor
PHP-YUI-Compressor copied to clipboard
Strict standards: Accessing static property as non static
Running PHP 5.4.5
YUICompressor::$JAR_PATH @ line 21 YUICompressor::$TEMP_FILES_DIR @ line 22 YUICompressor::$JAR_PATH @ line 59 YUICompressor::$TEMP_FILES_DIR @ line 65
Take out 'static' from lines 7 & 8, no need for them to be there:
private static $JAR_PATH;
private static $TEMP_FILES_DIR;
to
private $JAR_PATH;
private $TEMP_FILES_DIR;
works for me :-)
implemented in https://github.com/bkdotcom/PHP-YUI-Compressor