jalmenarez / minify

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

PHP5 strict standards warning message #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. enable strict standards in PHP5
2. load up minify

The following warning message will be shown:
Strict Standards: Redefining already defined constructor for class Minify
in .../minify.php on line 212

What is the expected output? What do you see instead?
No output

What version of the product are you using? On what operating system?
1.0.1

Please provide any additional information below.
This can be simply avoided by not having a method name like the class, e.g.
simply renaming the method.

Original issue reported on code.google.com by adwo...@netcare.at on 24 Aug 2007 at 1:07

GoogleCodeExporter commented 9 years ago
Btw, this is with 5.2.3

Original comment by adwo...@netcare.at on 24 Aug 2007 at 1:09

GoogleCodeExporter commented 9 years ago

Original comment by rgr...@gmail.com on 28 Aug 2007 at 5:26

GoogleCodeExporter commented 9 years ago
SVN version should be E_STRICT compliant except for Cache_Lite_File. Although 
we're
running a patched version of this, I'd rather not make radical changes to it 
for full
compliance; Cache_Lite_File is well-tested.

Original comment by mrclay....@gmail.com on 29 Feb 2008 at 2:14

GoogleCodeExporter commented 9 years ago
Fixed in 2.x version

Original comment by mrclay....@gmail.com on 27 Nov 2008 at 3:25