Jeff-Lewis / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Dont name static function minify (Redefining already defined constructor for class Minify) #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Take 1.01 minify
2. there is function __construct AND minify for class minify

PHP claims following problem: "Redefining already defined constructor for
class Minify" (E_STRICT)

Solution: rename static function minify , for example minifyIt

Original issue reported on code.google.com by xaos...@gmail.com on 5 Jun 2007 at 10:33

GoogleCodeExporter commented 9 years ago
same applies for jsmin.php (__construct()/jsmin())

Original comment by xaos...@gmail.com on 5 Jun 2007 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by rgr...@gmail.com on 23 Jun 2007 at 6:06