Parse error: syntax error, unexpected T_FUNCTION

Parse error: syntax error, unexpected T_FUNCTION in [site_directory]/class-jshrink-minifier.php on line 283

I've configured Minification with basic settings didn't really change anything but when I load our website at the bottom of the site I can see the Parse error.

Was wondering if this was some type of bug or should I just disable the minification.

Seems to be a issue when trying to check if the data is a file or not.