mrclay/minify

Php 7.3+ Error

chrispcb opened this issue · 2 comments

In php version 7.3+ there are errors :

  • Notice: compact(): Undefined variable: min_envArgs in \mrclay\minify\lib\Minify\App.php on line 72
  • Notice: compact(): Undefined variable: min_factories in \mrclay\minify\lib\Minify\App.php on line 72

To fix this issue I added this variables in config file but I don't know if is a good fix:

$min_factories = [];
$min_envArgs = null;

Added the variables to the config file did not fix the issue for me :/

should be fixed with #646