kirankoyande / php-reader

Automatically exported from code.google.com/p/php-reader
0 stars 0 forks source link

Undefined readInt16 & readInt32 methods #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Error in Zend/Mime/Magic.php with php-reader-1.8:

<b>Fatal error</b>:  Call to undefined method
Zend_Io_FileReader::readInt16() in <b>Zend\Mime\Magic.php</b> on line
<b>127</b>

I think there is also an error with readInt32() in the same file on line
130, method which doesn't exist in Zend/Reader/Reader.php.

Original issue reported on code.google.com by simon.brunel on 7 Mar 2010 at 9:36

GoogleCodeExporter commented 9 years ago
Good point, these did not exist in the new Zend_Io_Reader after the transition. 
I
have made a fix now to subversion.

I also changed the Magic method signatures to correspond to that of the 
proposal of
Matthew Ratzloff
(http://framework.zend.com/wiki/display/ZFPROP/Zend_Mime_Magic+-+Matthew+Ratzlof
f)

Original comment by svollbehr on 8 Mar 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Fix included in 1.8

Original comment by svollbehr on 26 Mar 2010 at 6:48