From 9a2a5f30a32b6d9dc68f826d893d22e00cd66ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 29 Dec 2024 13:20:12 +0100 Subject: [PATCH] Updated doctrine fixtures bundle --- composer.json | 4 +- composer.lock | 98 +++++++++++++-------------- src/DataFixtures/LogEntryFixtures.php | 2 +- 3 files changed, 50 insertions(+), 54 deletions(-) diff --git a/composer.json b/composer.json index 1576b936..a9917e4b 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "brick/math": "0.12.1 as 0.11.0", "composer/ca-bundle": "^1.3", "composer/package-versions-deprecated": "^1.11.99.5", - "doctrine/data-fixtures": "^1.6.6", + "doctrine/data-fixtures": "^2.0.0", "doctrine/dbal": "^4.0.0", "doctrine/doctrine-bundle": "^2.0", "doctrine/doctrine-migrations-bundle": "^3.0", @@ -96,7 +96,7 @@ }, "require-dev": { "dama/doctrine-test-bundle": "^v8.0.0", - "doctrine/doctrine-fixtures-bundle": "^3.2", + "doctrine/doctrine-fixtures-bundle": "^4.0.0", "ekino/phpstan-banned-code": "^v3.0.0", "jbtronics/translation-editor-bundle": "^1.0", "phpstan/extension-installer": "^1.0", diff --git a/composer.lock b/composer.lock index 45f4f5cf..2d1d5601 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e8853e37e0455428c8e43b429c11cf11", + "content-hash": "ce49f41912827d8c29c91c4f7577c50c", "packages": [ { "name": "amphp/amp", @@ -1747,23 +1747,22 @@ }, { "name": "doctrine/data-fixtures", - "version": "1.8.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/data-fixtures.git", - "reference": "a367a09b7a2b4f63ed57f391bf5713e3e46c7c7b" + "reference": "2ae45139f148c9272c49a521d82cc50491355a99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/a367a09b7a2b4f63ed57f391bf5713e3e46c7c7b", - "reference": "a367a09b7a2b4f63ed57f391bf5713e3e46c7c7b", + "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/2ae45139f148c9272c49a521d82cc50491355a99", + "reference": "2ae45139f148c9272c49a521d82cc50491355a99", "shasum": "" }, "require": { - "doctrine/deprecations": "^0.5.3 || ^1.0", - "doctrine/persistence": "^2.0 || ^3.0", - "php": "^7.4 || ^8.0", - "symfony/polyfill-php80": "^1" + "doctrine/persistence": "^3.1", + "php": "^8.1", + "psr/log": "^1.1 || ^2 || ^3" }, "conflict": { "doctrine/dbal": "<3.5 || >=5", @@ -1771,7 +1770,6 @@ "doctrine/phpcr-odm": "<1.3.0" }, "require-dev": { - "doctrine/annotations": "^1.12 || ^2", "doctrine/coding-standard": "^12", "doctrine/dbal": "^3.5 || ^4", "doctrine/mongodb-odm": "^1.3.0 || ^2.0.0", @@ -1779,10 +1777,9 @@ "ext-sqlite3": "*", "fig/log-test": "^1", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.6.13 || ^10.4.2", - "psr/log": "^1.1 || ^2 || ^3", - "symfony/cache": "^5.4 || ^6.3 || ^7", - "symfony/var-exporter": "^5.4 || ^6.3 || ^7" + "phpunit/phpunit": "^10.5.3", + "symfony/cache": "^6.4 || ^7", + "symfony/var-exporter": "^6.4 || ^7" }, "suggest": { "alcaeus/mongo-php-adapter": "For using MongoDB ODM 1.3 with PHP 7 (deprecated)", @@ -1813,7 +1810,7 @@ ], "support": { "issues": "https://github.com/doctrine/data-fixtures/issues", - "source": "https://github.com/doctrine/data-fixtures/tree/1.8.1" + "source": "https://github.com/doctrine/data-fixtures/tree/2.0.1" }, "funding": [ { @@ -1829,7 +1826,7 @@ "type": "tidelift" } ], - "time": "2024-12-10T07:00:20+00:00" + "time": "2024-12-10T07:03:23+00:00" }, { "name": "doctrine/dbal", @@ -14412,7 +14409,7 @@ }, { "name": "twig/cssinliner-extra", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/cssinliner-extra.git", @@ -14465,7 +14462,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/cssinliner-extra/tree/v3.17.0" + "source": "https://github.com/twigphp/cssinliner-extra/tree/v3.18.0" }, "funding": [ { @@ -14481,7 +14478,7 @@ }, { "name": "twig/extra-bundle", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/twig-extra-bundle.git", @@ -14539,7 +14536,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/twig-extra-bundle/tree/v3.17.0" + "source": "https://github.com/twigphp/twig-extra-bundle/tree/v3.18.0" }, "funding": [ { @@ -14555,16 +14552,16 @@ }, { "name": "twig/html-extra", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/html-extra.git", - "reference": "2086023d3ffc4bae2b1115f715d17f97fd013665" + "reference": "c63b28e192c1b7c15bb60f81d2e48b140846239a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/html-extra/zipball/2086023d3ffc4bae2b1115f715d17f97fd013665", - "reference": "2086023d3ffc4bae2b1115f715d17f97fd013665", + "url": "https://api.github.com/repos/twigphp/html-extra/zipball/c63b28e192c1b7c15bb60f81d2e48b140846239a", + "reference": "c63b28e192c1b7c15bb60f81d2e48b140846239a", "shasum": "" }, "require": { @@ -14607,7 +14604,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/html-extra/tree/v3.17.0" + "source": "https://github.com/twigphp/html-extra/tree/v3.18.0" }, "funding": [ { @@ -14619,11 +14616,11 @@ "type": "tidelift" } ], - "time": "2024-09-30T06:41:48+00:00" + "time": "2024-12-29T10:29:59+00:00" }, { "name": "twig/inky-extra", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/inky-extra.git", @@ -14677,7 +14674,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/inky-extra/tree/v3.17.0" + "source": "https://github.com/twigphp/inky-extra/tree/v3.18.0" }, "funding": [ { @@ -14693,7 +14690,7 @@ }, { "name": "twig/intl-extra", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/intl-extra.git", @@ -14741,7 +14738,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/intl-extra/tree/v3.17.0" + "source": "https://github.com/twigphp/intl-extra/tree/v3.18.0" }, "funding": [ { @@ -14757,7 +14754,7 @@ }, { "name": "twig/markdown-extra", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/markdown-extra.git", @@ -14813,7 +14810,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/markdown-extra/tree/v3.17.0" + "source": "https://github.com/twigphp/markdown-extra/tree/v3.18.0" }, "funding": [ { @@ -14829,7 +14826,7 @@ }, { "name": "twig/string-extra", - "version": "v3.17.0", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/string-extra.git", @@ -14880,7 +14877,7 @@ "unicode" ], "support": { - "source": "https://github.com/twigphp/string-extra/tree/v3.17.0" + "source": "https://github.com/twigphp/string-extra/tree/v3.18.0" }, "funding": [ { @@ -14896,16 +14893,16 @@ }, { "name": "twig/twig", - "version": "v3.17.1", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "677ef8da6497a03048192aeeb5aa3018e379ac71" + "reference": "acffa88cc2b40dbe42eaf3a5025d6c0d4600cc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/677ef8da6497a03048192aeeb5aa3018e379ac71", - "reference": "677ef8da6497a03048192aeeb5aa3018e379ac71", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/acffa88cc2b40dbe42eaf3a5025d6c0d4600cc50", + "reference": "acffa88cc2b40dbe42eaf3a5025d6c0d4600cc50", "shasum": "" }, "require": { @@ -14960,7 +14957,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.17.1" + "source": "https://github.com/twigphp/Twig/tree/v3.18.0" }, "funding": [ { @@ -14972,7 +14969,7 @@ "type": "tidelift" } ], - "time": "2024-12-12T09:58:10+00:00" + "time": "2024-12-29T10:51:50+00:00" }, { "name": "ua-parser/uap-php", @@ -15577,25 +15574,25 @@ }, { "name": "doctrine/doctrine-fixtures-bundle", - "version": "3.7.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineFixturesBundle.git", - "reference": "bd59519a7532b9e1a41cef4049d5326dfac7def9" + "reference": "90185317e6bb3d845667c5ebd444d9c83ae19a01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/bd59519a7532b9e1a41cef4049d5326dfac7def9", - "reference": "bd59519a7532b9e1a41cef4049d5326dfac7def9", + "url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/90185317e6bb3d845667c5ebd444d9c83ae19a01", + "reference": "90185317e6bb3d845667c5ebd444d9c83ae19a01", "shasum": "" }, "require": { - "doctrine/data-fixtures": "^1.5 || ^2.0", + "doctrine/data-fixtures": "^2.0", "doctrine/doctrine-bundle": "^2.2", "doctrine/orm": "^2.14.0 || ^3.0", "doctrine/persistence": "^2.4 || ^3.0", - "php": "^7.4 || ^8.0", - "psr/log": "^1 || ^2 || ^3", + "php": "^8.1", + "psr/log": "^2 || ^3", "symfony/config": "^5.4 || ^6.0 || ^7.0", "symfony/console": "^5.4 || ^6.0 || ^7.0", "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", @@ -15609,8 +15606,7 @@ "require-dev": { "doctrine/coding-standard": "^12", "phpstan/phpstan": "^2", - "phpunit/phpunit": "^9.6.13", - "symfony/phpunit-bridge": "^6.3.6" + "phpunit/phpunit": "^10.5.38 || ^11" }, "type": "symfony-bundle", "autoload": { @@ -15644,7 +15640,7 @@ ], "support": { "issues": "https://github.com/doctrine/DoctrineFixturesBundle/issues", - "source": "https://github.com/doctrine/DoctrineFixturesBundle/tree/3.7.1" + "source": "https://github.com/doctrine/DoctrineFixturesBundle/tree/4.0.0" }, "funding": [ { @@ -15660,7 +15656,7 @@ "type": "tidelift" } ], - "time": "2024-12-03T17:07:51+00:00" + "time": "2024-12-05T18:35:55+00:00" }, { "name": "ekino/phpstan-banned-code", diff --git a/src/DataFixtures/LogEntryFixtures.php b/src/DataFixtures/LogEntryFixtures.php index b9788ec0..eb9cf731 100644 --- a/src/DataFixtures/LogEntryFixtures.php +++ b/src/DataFixtures/LogEntryFixtures.php @@ -35,7 +35,7 @@ use Doctrine\Persistence\ObjectManager; class LogEntryFixtures extends Fixture implements DependentFixtureInterface { - public function load(ObjectManager $manager) + public function load(ObjectManager $manager): void { $this->createCategoryEntries($manager); $this->createDeletedCategory($manager);