manish143143 / cssmin

Automatically exported from code.google.com/p/cssmin
0 stars 0 forks source link

Deprecated preg_replace /e modifier #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of CssMin are you using (source and/or build)?
3.0.1

When executing cssmin with PHP 5.5.9, a deprecated error is thrown:
"Deprecated: preg_replace(): The /e modifier is deprecated, use 
preg_replace_callback instead in 
/project_dir/cssmin/minifier/plugins/CssConvertFontWeightMinifierPlugin.php on 
line 83"

Original issue reported on code.google.com by david.al...@clubberize.com on 17 Feb 2015 at 3:16

GoogleCodeExporter commented 9 years ago
preg_replace with /e modifier has been deprecated since php 5.5.0.  I suspect 
that this will never get fixed since no new version of this script has been 
released since 2011.  Perhaps someone should fork it?

Original comment by matt...@gmail.com on 9 Apr 2015 at 4:45