PHPPdf icon indicating copy to clipboard operation
PHPPdf copied to clipboard

ImageRatioFormatter

Open pimpreneil opened this issue 9 years ago • 2 comments

Hi there,

I have an issue with the last update of PHPPdf bundle. Indeed, you changed the requirements making it incompatible with the master branch of PHPPdf. So I tried the last available version of PHPPdf that is not master on packagist but it seems missing a file: "Class "PHPPdf\Core\Formatter\ImageRatioFormatter" dosn't exist or haven't default constructor"

And indeed, after a quick check, I could not find it elsewhere from the master branch...

Thanks for your help, Arnaud

pimpreneil avatar Sep 22 '15 10:09 pimpreneil

The problem still occurs on the latest version of the packages

pimpreneil avatar Aug 04 '16 12:08 pimpreneil

The only fix I managed to come up with is the following:

Before:

"psliwa/pdf-bundle":"dev-master",
"psliwa/php-pdf":"1.2.9",

After:

"psliwa/pdf-bundle":"dev-master",
"psliwa/php-pdf":"dev-master as 1.2.9",

pimpreneil avatar Aug 04 '16 12:08 pimpreneil