Skip to content

Commit

Permalink
Merge pull request #1371 from stakovicz/feat-1331-php7-upgrade-fpdf
Browse files Browse the repository at this point in the history
PHP 7 upgrade fpdf
  • Loading branch information
agallou authored Dec 2, 2023
2 parents e996c12 + 14dad12 commit 6ac1cff
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 23 deletions.
18 changes: 1 addition & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"erusev/parsedown": "^1.6",
"robmorgan/phinx": "^0.9.2",
"presta/sitemap-bundle": "^1.5",
"setasign/fpdf": "1.53",
"setasign/fpdf": "^1.8",
"ezyang/htmlpurifier": "^4.10",
"phpoffice/phpspreadsheet": "^1.6",
"phpmailer/phpmailer": "5.2.9",
Expand Down Expand Up @@ -106,22 +106,6 @@
"behat/mink-goutte-driver": "^1.2"
},
"repositories": [
{
"type": "package",
"package": {
"name": "setasign/fpdf",
"version": "1.53",
"dist": {
"url": "http://www.fpdf.org/en/dl.php?v=153&f=zip",
"type": "zip"
},
"autoload": {
"files": [
"fpdf.php"
]
}
}
},
{
"type": "package",
"package": {
Expand Down
43 changes: 38 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sources/Afup/Utils/PDF_Facture.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PDF_Facture extends \FPDF
*/
function __construct($configuration, BankAccount $bankAccount, $orientation = 'P', $unit = 'mm', $format = 'A4')
{
parent::FPDF($orientation, $unit, $format);
parent::__construct($orientation, $unit, $format);
$this->bankAccount = $bankAccount;

$this->setAFUPConfiguration($configuration);
Expand Down

0 comments on commit 6ac1cff

Please sign in to comment.