4 Commits

Author SHA1 Message Date
William Desportes
960e7d563d
PHP 8.1 fixes and PHP 5.x CI fix (#463)
* Fix call signatures on example 12 for PHP 8.1 strpos null errors

* Fix #401 - PHP 8.1 casts to int - getGDgamma - CoonsPatchMesh

Fixes: tecnickcom/TCPDF#401

* PHP 8.1 - cast in _RC4 before sending to str_repeat

* Enable back extensions on PHP 5.{3,4,5}

* Improve the test script to allow testing other PHP versions locally

* Fix typo on "parametrs" -> "parameters"

* Reduce possible side effects with the OS

* Fix #461 - fix barcodes handling using false, PHP 8.1 deprecation

Fixes: tecnickcom/TCPDF#461

* Fix #401 - PHP 8.1 casts to int - CoonsPatchMesh

Fixes: tecnickcom/TCPDF#401

Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-12-31 08:34:37 +00:00
William Desportes
7519e322ec
Fix failing tests and failing tests not marking exit code as 1 (#426)
* Fix failing tests and failing tests not marking exit code as 1

* Make output safe of binary content and fix json extension depending tests

Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-12-28 12:02:54 +00:00
William Desportes
150e756428
Add a new example with composer & fix CI (#356)
* Add a new example with composer

* Fix PHP 5.x failing testsuite setup

* Update .gitignore

Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 08:32:18 +01:00
William Desportes
989a00f330
Add a CI for docs and running examples + (generating coverage !!) (#349)
* Add lint docs workflow and a testing workflow

* Add scripts to run tests on examples

* Add Doctum config

* Adjust examples source detection

Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-04-02 12:43:30 +01:00