Update dependencies and get rid of undefined variables.

This commit is contained in:
2025-03-21 12:12:18 +01:00
parent 2c2ebbd096
commit 691b6a5569
3 changed files with 56 additions and 60 deletions

View File

@@ -1,6 +1,7 @@
{ {
"require": { "require": {
"phpmailer/phpmailer": "5.2.*", "phpmailer/phpmailer": "v6.9.*",
"tecnickcom/tcpdf": "6.2.12" "tecnickcom/tcpdf": "6.8.*",
} "ext-mysqli": "*"
}
} }

107
composer.lock generated
View File

@@ -4,64 +4,58 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "6a0769e85a903c4a0fd6971cebefccf7", "content-hash": "d648791e6ab684ed771b80e8e2a1401b",
"packages": [ "packages": [
{ {
"name": "phpmailer/phpmailer", "name": "phpmailer/phpmailer",
"version": "v5.2.28", "version": "v6.9.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git", "url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "acba50393dd03da69a50226c139722af8b153b11" "reference": "2f5c94fe7493efc213f643c23b1b1c249d40f47e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/acba50393dd03da69a50226c139722af8b153b11", "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/2f5c94fe7493efc213f643c23b1b1c249d40f47e",
"reference": "acba50393dd03da69a50226c139722af8b153b11", "reference": "2f5c94fe7493efc213f643c23b1b1c249d40f47e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-ctype": "*", "ext-ctype": "*",
"php": ">=5.0.0" "ext-filter": "*",
"ext-hash": "*",
"php": ">=5.5.0"
}, },
"require-dev": { "require-dev": {
"doctrine/annotations": "1.2.*", "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"jms/serializer": "0.16.*", "doctrine/annotations": "^1.2.6 || ^1.13.3",
"phpdocumentor/phpdocumentor": "2.*", "php-parallel-lint/php-console-highlighter": "^1.0.0",
"phpunit/phpunit": "4.8.*", "php-parallel-lint/php-parallel-lint": "^1.3.2",
"symfony/debug": "2.8.*", "phpcompatibility/php-compatibility": "^9.3.5",
"symfony/filesystem": "2.8.*", "roave/security-advisories": "dev-latest",
"symfony/translation": "2.8.*", "squizlabs/php_codesniffer": "^3.7.2",
"symfony/yaml": "2.8.*", "yoast/phpunit-polyfills": "^1.0.4"
"zendframework/zend-cache": "2.5.1",
"zendframework/zend-config": "2.5.1",
"zendframework/zend-eventmanager": "2.5.1",
"zendframework/zend-filter": "2.5.1",
"zendframework/zend-i18n": "2.5.1",
"zendframework/zend-json": "2.5.1",
"zendframework/zend-math": "2.5.1",
"zendframework/zend-serializer": "2.5.*",
"zendframework/zend-servicemanager": "2.5.*",
"zendframework/zend-stdlib": "2.5.1"
}, },
"suggest": { "suggest": {
"league/oauth2-google": "Needed for Google XOAUTH2 authentication" "decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
"ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
"ext-openssl": "Needed for secure SMTP sending and DKIM signing",
"greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
"psr/log": "For optional PSR-3 debug logging",
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)",
"thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
"classmap": [ "psr-4": {
"class.phpmailer.php", "PHPMailer\\PHPMailer\\": "src/"
"class.phpmaileroauth.php", }
"class.phpmaileroauthgoogle.php",
"class.smtp.php",
"class.pop3.php",
"extras/EasyPeasyICS.php",
"extras/ntlm_sasl_client.php"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"LGPL-2.1" "LGPL-2.1-only"
], ],
"authors": [ "authors": [
{ {
@@ -83,45 +77,37 @@
"description": "PHPMailer is a full-featured email creation and transfer class for PHP", "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"support": { "support": {
"issues": "https://github.com/PHPMailer/PHPMailer/issues", "issues": "https://github.com/PHPMailer/PHPMailer/issues",
"source": "https://github.com/PHPMailer/PHPMailer/tree/v5.2.28" "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.9.3"
}, },
"funding": [ "funding": [
{
"url": "https://marcus.bointon.com/donations/",
"type": "custom"
},
{ {
"url": "https://github.com/Synchro", "url": "https://github.com/Synchro",
"type": "github" "type": "github"
},
{
"url": "https://www.patreon.com/marcusbointon",
"type": "patreon"
} }
], ],
"time": "2020-03-19T14:29:37+00:00" "time": "2024-11-24T18:04:13+00:00"
}, },
{ {
"name": "tecnickcom/tcpdf", "name": "tecnickcom/tcpdf",
"version": "6.2.12", "version": "6.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/tecnickcom/TCPDF.git", "url": "https://github.com/tecnickcom/TCPDF.git",
"reference": "2f732eaa91b5665274689b1d40b285a7bacdc37f" "reference": "f7a781073e1645062f163e058139e2f89355d420"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/2f732eaa91b5665274689b1d40b285a7bacdc37f", "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/f7a781073e1645062f163e058139e2f89355d420",
"reference": "2f732eaa91b5665274689b1d40b285a7bacdc37f", "reference": "f7a781073e1645062f163e058139e2f89355d420",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0" "ext-curl": "*",
"php": ">=7.1.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
"classmap": [ "classmap": [
"fonts",
"config", "config",
"include", "include",
"tcpdf.php", "tcpdf.php",
@@ -142,13 +128,13 @@
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"LGPLv3" "LGPL-3.0-or-later"
], ],
"authors": [ "authors": [
{ {
"name": "Nicola Asuni", "name": "Nicola Asuni",
"email": "info@tecnick.com", "email": "info@tecnick.com",
"homepage": "http://nicolaasuni.tecnick.com" "role": "lead"
} }
], ],
"description": "TCPDF is a PHP class for generating PDF documents and barcodes.", "description": "TCPDF is a PHP class for generating PDF documents and barcodes.",
@@ -163,9 +149,16 @@
"qrcode" "qrcode"
], ],
"support": { "support": {
"source": "https://github.com/tecnickcom/TCPDF/tree/6.2.12" "issues": "https://github.com/tecnickcom/TCPDF/issues",
"source": "https://github.com/tecnickcom/TCPDF/tree/6.8.2"
}, },
"time": "2015-09-12T10:08:34+00:00" "funding": [
{
"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&currency_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project",
"type": "custom"
}
],
"time": "2025-01-26T14:03:12+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],
@@ -174,7 +167,9 @@
"stability-flags": [], "stability-flags": [],
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": {
"ext-mysqli": "*"
},
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.6.0" "plugin-api-version": "2.6.0"
} }

View File

@@ -50,7 +50,7 @@ $result = $db->query($sql);
$resultt = $db->query($sqlt); $resultt = $db->query($sqlt);
$_19 = $_19_MwSt = 0; $_19 = $_19_MwSt = 0;
$_7 = $_7_MwSt = 0; $_7 = $_7_MwSt = 0;
$_0 = 0; $_0 = $_0_MwSt = 0;
$Sonst_Preis = $Sonst_MwSt = 0; $Sonst_Preis = $Sonst_MwSt = 0;
$pdf->SetTextColor(00); $pdf->SetTextColor(00);