Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.1 Compatibility #131

Open
silvioq opened this issue Feb 7, 2018 · 0 comments
Open

PHP 7.1 Compatibility #131

silvioq opened this issue Feb 7, 2018 · 0 comments

Comments

@silvioq
Copy link

silvioq commented Feb 7, 2018

Hi. I 'm using the library with PHP7.1

The warning "A non well formed numeric value encountered" is thrown here when I'm using margin-top with units (see http://php.net/manual/en/migration71.other-changes.php)

$diff = $value - $this->getAttribute($name);

$ ~/develop/composer.phar info | grep psliwa
psliwa/pdf-bundle                    1.0.3              This bundle integrates Symfony2 with PHPPdf library.
psliwa/php-pdf                       1.2.10             Pdf and graphic files generator library for PHP.

$ php -v
PHP 7.1.11-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Oct 27 2017 14:28:45) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.11-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies

As workaround, I changed mm units for numeric value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant