Fixed deprecations

This commit is contained in:
Jan Böhmer 2025-09-23 20:55:22 +02:00
parent a9d0caad5f
commit 63a33d1057
4 changed files with 37 additions and 35 deletions

66
composer.lock generated
View file

@ -4022,16 +4022,16 @@
}, },
{ {
"name": "dompdf/dompdf", "name": "dompdf/dompdf",
"version": "v3.1.1", "version": "v3.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/dompdf/dompdf.git", "url": "https://github.com/dompdf/dompdf.git",
"reference": "794ec856134a73d2a69a474c5d4faa47e1e645b1" "reference": "b3493e35d31a5e76ec24c3b64a29b0034b2f32a6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/dompdf/dompdf/zipball/794ec856134a73d2a69a474c5d4faa47e1e645b1", "url": "https://api.github.com/repos/dompdf/dompdf/zipball/b3493e35d31a5e76ec24c3b64a29b0034b2f32a6",
"reference": "794ec856134a73d2a69a474c5d4faa47e1e645b1", "reference": "b3493e35d31a5e76ec24c3b64a29b0034b2f32a6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4080,9 +4080,9 @@
"homepage": "https://github.com/dompdf/dompdf", "homepage": "https://github.com/dompdf/dompdf",
"support": { "support": {
"issues": "https://github.com/dompdf/dompdf/issues", "issues": "https://github.com/dompdf/dompdf/issues",
"source": "https://github.com/dompdf/dompdf/tree/v3.1.1" "source": "https://github.com/dompdf/dompdf/tree/v3.1.2"
}, },
"time": "2025-09-20T17:30:31+00:00" "time": "2025-09-23T03:06:41+00:00"
}, },
{ {
"name": "dompdf/php-font-lib", "name": "dompdf/php-font-lib",
@ -4945,16 +4945,16 @@
}, },
{ {
"name": "jbtronics/dompdf-font-loader-bundle", "name": "jbtronics/dompdf-font-loader-bundle",
"version": "v1.1.4", "version": "v1.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/jbtronics/dompdf-font-loader-bundle.git", "url": "https://github.com/jbtronics/dompdf-font-loader-bundle.git",
"reference": "1b41014a2dd9e82ba6a62e61deeebe3cdc1eaf1f" "reference": "83a0e50ecceefea0a63915dae758e00788fd067e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/jbtronics/dompdf-font-loader-bundle/zipball/1b41014a2dd9e82ba6a62e61deeebe3cdc1eaf1f", "url": "https://api.github.com/repos/jbtronics/dompdf-font-loader-bundle/zipball/83a0e50ecceefea0a63915dae758e00788fd067e",
"reference": "1b41014a2dd9e82ba6a62e61deeebe3cdc1eaf1f", "reference": "83a0e50ecceefea0a63915dae758e00788fd067e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4994,22 +4994,22 @@
], ],
"support": { "support": {
"issues": "https://github.com/jbtronics/dompdf-font-loader-bundle/issues", "issues": "https://github.com/jbtronics/dompdf-font-loader-bundle/issues",
"source": "https://github.com/jbtronics/dompdf-font-loader-bundle/tree/v1.1.4" "source": "https://github.com/jbtronics/dompdf-font-loader-bundle/tree/v1.1.5"
}, },
"time": "2025-07-07T20:39:34+00:00" "time": "2025-07-25T20:29:05+00:00"
}, },
{ {
"name": "jbtronics/settings-bundle", "name": "jbtronics/settings-bundle",
"version": "v3.1.0", "version": "v3.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/jbtronics/settings-bundle.git", "url": "https://github.com/jbtronics/settings-bundle.git",
"reference": "7f19bac5a66533c6974948a484871087301b2a2e" "reference": "1067dd3d816cd0a6be7ac3d3989587ea05040bd4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/jbtronics/settings-bundle/zipball/7f19bac5a66533c6974948a484871087301b2a2e", "url": "https://api.github.com/repos/jbtronics/settings-bundle/zipball/1067dd3d816cd0a6be7ac3d3989587ea05040bd4",
"reference": "7f19bac5a66533c6974948a484871087301b2a2e", "reference": "1067dd3d816cd0a6be7ac3d3989587ea05040bd4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5070,7 +5070,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/jbtronics/settings-bundle/issues", "issues": "https://github.com/jbtronics/settings-bundle/issues",
"source": "https://github.com/jbtronics/settings-bundle/tree/v3.1.0" "source": "https://github.com/jbtronics/settings-bundle/tree/v3.1.1"
}, },
"funding": [ "funding": [
{ {
@ -5082,7 +5082,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-09-19T06:54:58+00:00" "time": "2025-09-22T22:00:15+00:00"
}, },
{ {
"name": "jfcherng/php-color-output", "name": "jfcherng/php-color-output",
@ -7588,24 +7588,26 @@
}, },
{ {
"name": "paragonie/constant_time_encoding", "name": "paragonie/constant_time_encoding",
"version": "v3.0.0", "version": "v3.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/paragonie/constant_time_encoding.git", "url": "https://github.com/paragonie/constant_time_encoding.git",
"reference": "df1e7fde177501eee2037dd159cf04f5f301a512" "reference": "5e9b582660b997de205a84c02a3aac7c060900c9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512", "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/5e9b582660b997de205a84c02a3aac7c060900c9",
"reference": "df1e7fde177501eee2037dd159cf04f5f301a512", "reference": "5e9b582660b997de205a84c02a3aac7c060900c9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^8" "php": "^8"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9", "infection/infection": "^0",
"vimeo/psalm": "^4|^5" "nikic/php-fuzzer": "^0",
"phpunit/phpunit": "^9|^10|^11",
"vimeo/psalm": "^4|^5|^6"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -7651,7 +7653,7 @@
"issues": "https://github.com/paragonie/constant_time_encoding/issues", "issues": "https://github.com/paragonie/constant_time_encoding/issues",
"source": "https://github.com/paragonie/constant_time_encoding" "source": "https://github.com/paragonie/constant_time_encoding"
}, },
"time": "2024-05-08T12:36:18+00:00" "time": "2025-09-22T21:00:33+00:00"
}, },
{ {
"name": "paragonie/random_compat", "name": "paragonie/random_compat",
@ -18870,16 +18872,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "11.5.39", "version": "11.5.40",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "ad5597f79d8489d2870073ac0bc0dd0ad1fa9931" "reference": "4102b2f9250d6dd57d1a1c8c4132b1c744b14b1c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ad5597f79d8489d2870073ac0bc0dd0ad1fa9931", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4102b2f9250d6dd57d1a1c8c4132b1c744b14b1c",
"reference": "ad5597f79d8489d2870073ac0bc0dd0ad1fa9931", "reference": "4102b2f9250d6dd57d1a1c8c4132b1c744b14b1c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -18903,7 +18905,7 @@
"sebastian/comparator": "^6.3.2", "sebastian/comparator": "^6.3.2",
"sebastian/diff": "^6.0.2", "sebastian/diff": "^6.0.2",
"sebastian/environment": "^7.2.1", "sebastian/environment": "^7.2.1",
"sebastian/exporter": "^6.3.0", "sebastian/exporter": "^6.3.1",
"sebastian/global-state": "^7.0.2", "sebastian/global-state": "^7.0.2",
"sebastian/object-enumerator": "^6.0.1", "sebastian/object-enumerator": "^6.0.1",
"sebastian/type": "^5.1.3", "sebastian/type": "^5.1.3",
@ -18951,7 +18953,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.39" "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.40"
}, },
"funding": [ "funding": [
{ {
@ -18975,7 +18977,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-09-14T06:20:41+00:00" "time": "2025-09-23T06:23:40+00:00"
}, },
{ {
"name": "rector/rector", "name": "rector/rector",

View file

@ -81,7 +81,7 @@ abstract class AbstractCompany extends AbstractPartsContainingDBElement
/** /**
* @var string The website of the company * @var string The website of the company
*/ */
#[Assert\Url] #[Assert\Url(requireTld: false)]
#[Groups(['full', 'company:read', 'company:write', 'import', 'extended'])] #[Groups(['full', 'company:read', 'company:write', 'import', 'extended'])]
#[ORM\Column(type: Types::STRING)] #[ORM\Column(type: Types::STRING)]
#[Assert\Length(max: 255)] #[Assert\Length(max: 255)]

View file

@ -49,7 +49,7 @@ trait ManufacturerTrait
/** /**
* @var string The url to the part on the manufacturer's homepage * @var string The url to the part on the manufacturer's homepage
*/ */
#[Assert\Url] #[Assert\Url(requireTld: false)]
#[Groups(['full', 'import', 'part:read', 'part:write'])] #[Groups(['full', 'import', 'part:read', 'part:write'])]
#[ORM\Column(type: Types::TEXT)] #[ORM\Column(type: Types::TEXT)]
protected string $manufacturer_product_url = ''; protected string $manufacturer_product_url = '';

View file

@ -124,7 +124,7 @@ class Orderdetail extends AbstractDBElement implements TimeStampableInterface, N
/** /**
* @var string The URL to the product on the supplier's website * @var string The URL to the product on the supplier's website
*/ */
#[Assert\Url] #[Assert\Url(requireTld: false)]
#[Groups(['full', 'import', 'orderdetail:read', 'orderdetail:write'])] #[Groups(['full', 'import', 'orderdetail:read', 'orderdetail:write'])]
#[ORM\Column(type: Types::TEXT)] #[ORM\Column(type: Types::TEXT)]
protected string $supplier_product_url = ''; protected string $supplier_product_url = '';