title: Magento PHP 5.4 PDF invoice Zend error
body: <p>Magento is throwing a PHP error when I'm trying to create PDF invoices (because my client is running PHP 5.4.19). </p>
  
  <blockquote>
    <p>Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct()  must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /var/www/vhosts/website/httpdocs/includes/src/Zend_Pdf_FileParserDataSource_File.php on line 41</p>
  </blockquote>
  
  <p>Normally it's easy to fix this by editing the FileParserDataSource.php and commenting out two lines, the problem is that they run a Zend_Pdf_FileParserDataSource_File.php that extends this script (<a href="http://pastebin.com/J64VNsRP">http://pastebin.com/J64VNsRP</a>).</p>
  
  <p>Is there any solution available so that's possible to create PDF invoices with Magento on a server running PHP 5.4?</p>