mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Updated doctrine fixtures bundle
This commit is contained in:
parent
a9f444cbb4
commit
9a2a5f30a3
3 changed files with 50 additions and 54 deletions
|
@ -16,7 +16,7 @@
|
||||||
"brick/math": "0.12.1 as 0.11.0",
|
"brick/math": "0.12.1 as 0.11.0",
|
||||||
"composer/ca-bundle": "^1.3",
|
"composer/ca-bundle": "^1.3",
|
||||||
"composer/package-versions-deprecated": "^1.11.99.5",
|
"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/dbal": "^4.0.0",
|
||||||
"doctrine/doctrine-bundle": "^2.0",
|
"doctrine/doctrine-bundle": "^2.0",
|
||||||
"doctrine/doctrine-migrations-bundle": "^3.0",
|
"doctrine/doctrine-migrations-bundle": "^3.0",
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"dama/doctrine-test-bundle": "^v8.0.0",
|
"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",
|
"ekino/phpstan-banned-code": "^v3.0.0",
|
||||||
"jbtronics/translation-editor-bundle": "^1.0",
|
"jbtronics/translation-editor-bundle": "^1.0",
|
||||||
"phpstan/extension-installer": "^1.0",
|
"phpstan/extension-installer": "^1.0",
|
||||||
|
|
98
composer.lock
generated
98
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"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": "e8853e37e0455428c8e43b429c11cf11",
|
"content-hash": "ce49f41912827d8c29c91c4f7577c50c",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "amphp/amp",
|
"name": "amphp/amp",
|
||||||
|
@ -1747,23 +1747,22 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/data-fixtures",
|
"name": "doctrine/data-fixtures",
|
||||||
"version": "1.8.1",
|
"version": "2.0.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/doctrine/data-fixtures.git",
|
"url": "https://github.com/doctrine/data-fixtures.git",
|
||||||
"reference": "a367a09b7a2b4f63ed57f391bf5713e3e46c7c7b"
|
"reference": "2ae45139f148c9272c49a521d82cc50491355a99"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/a367a09b7a2b4f63ed57f391bf5713e3e46c7c7b",
|
"url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/2ae45139f148c9272c49a521d82cc50491355a99",
|
||||||
"reference": "a367a09b7a2b4f63ed57f391bf5713e3e46c7c7b",
|
"reference": "2ae45139f148c9272c49a521d82cc50491355a99",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"doctrine/deprecations": "^0.5.3 || ^1.0",
|
"doctrine/persistence": "^3.1",
|
||||||
"doctrine/persistence": "^2.0 || ^3.0",
|
"php": "^8.1",
|
||||||
"php": "^7.4 || ^8.0",
|
"psr/log": "^1.1 || ^2 || ^3"
|
||||||
"symfony/polyfill-php80": "^1"
|
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"doctrine/dbal": "<3.5 || >=5",
|
"doctrine/dbal": "<3.5 || >=5",
|
||||||
|
@ -1771,7 +1770,6 @@
|
||||||
"doctrine/phpcr-odm": "<1.3.0"
|
"doctrine/phpcr-odm": "<1.3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/annotations": "^1.12 || ^2",
|
|
||||||
"doctrine/coding-standard": "^12",
|
"doctrine/coding-standard": "^12",
|
||||||
"doctrine/dbal": "^3.5 || ^4",
|
"doctrine/dbal": "^3.5 || ^4",
|
||||||
"doctrine/mongodb-odm": "^1.3.0 || ^2.0.0",
|
"doctrine/mongodb-odm": "^1.3.0 || ^2.0.0",
|
||||||
|
@ -1779,10 +1777,9 @@
|
||||||
"ext-sqlite3": "*",
|
"ext-sqlite3": "*",
|
||||||
"fig/log-test": "^1",
|
"fig/log-test": "^1",
|
||||||
"phpstan/phpstan": "^1.10",
|
"phpstan/phpstan": "^1.10",
|
||||||
"phpunit/phpunit": "^9.6.13 || ^10.4.2",
|
"phpunit/phpunit": "^10.5.3",
|
||||||
"psr/log": "^1.1 || ^2 || ^3",
|
"symfony/cache": "^6.4 || ^7",
|
||||||
"symfony/cache": "^5.4 || ^6.3 || ^7",
|
"symfony/var-exporter": "^6.4 || ^7"
|
||||||
"symfony/var-exporter": "^5.4 || ^6.3 || ^7"
|
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"alcaeus/mongo-php-adapter": "For using MongoDB ODM 1.3 with PHP 7 (deprecated)",
|
"alcaeus/mongo-php-adapter": "For using MongoDB ODM 1.3 with PHP 7 (deprecated)",
|
||||||
|
@ -1813,7 +1810,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/doctrine/data-fixtures/issues",
|
"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": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -1829,7 +1826,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-12-10T07:00:20+00:00"
|
"time": "2024-12-10T07:03:23+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/dbal",
|
"name": "doctrine/dbal",
|
||||||
|
@ -14412,7 +14409,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/cssinliner-extra",
|
"name": "twig/cssinliner-extra",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/cssinliner-extra.git",
|
"url": "https://github.com/twigphp/cssinliner-extra.git",
|
||||||
|
@ -14465,7 +14462,7 @@
|
||||||
"twig"
|
"twig"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/twigphp/cssinliner-extra/tree/v3.17.0"
|
"source": "https://github.com/twigphp/cssinliner-extra/tree/v3.18.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14481,7 +14478,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/extra-bundle",
|
"name": "twig/extra-bundle",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/twig-extra-bundle.git",
|
"url": "https://github.com/twigphp/twig-extra-bundle.git",
|
||||||
|
@ -14539,7 +14536,7 @@
|
||||||
"twig"
|
"twig"
|
||||||
],
|
],
|
||||||
"support": {
|
"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": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14555,16 +14552,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/html-extra",
|
"name": "twig/html-extra",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/html-extra.git",
|
"url": "https://github.com/twigphp/html-extra.git",
|
||||||
"reference": "2086023d3ffc4bae2b1115f715d17f97fd013665"
|
"reference": "c63b28e192c1b7c15bb60f81d2e48b140846239a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/twigphp/html-extra/zipball/2086023d3ffc4bae2b1115f715d17f97fd013665",
|
"url": "https://api.github.com/repos/twigphp/html-extra/zipball/c63b28e192c1b7c15bb60f81d2e48b140846239a",
|
||||||
"reference": "2086023d3ffc4bae2b1115f715d17f97fd013665",
|
"reference": "c63b28e192c1b7c15bb60f81d2e48b140846239a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -14607,7 +14604,7 @@
|
||||||
"twig"
|
"twig"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/twigphp/html-extra/tree/v3.17.0"
|
"source": "https://github.com/twigphp/html-extra/tree/v3.18.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14619,11 +14616,11 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-09-30T06:41:48+00:00"
|
"time": "2024-12-29T10:29:59+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/inky-extra",
|
"name": "twig/inky-extra",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/inky-extra.git",
|
"url": "https://github.com/twigphp/inky-extra.git",
|
||||||
|
@ -14677,7 +14674,7 @@
|
||||||
"twig"
|
"twig"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/twigphp/inky-extra/tree/v3.17.0"
|
"source": "https://github.com/twigphp/inky-extra/tree/v3.18.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14693,7 +14690,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/intl-extra",
|
"name": "twig/intl-extra",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/intl-extra.git",
|
"url": "https://github.com/twigphp/intl-extra.git",
|
||||||
|
@ -14741,7 +14738,7 @@
|
||||||
"twig"
|
"twig"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/twigphp/intl-extra/tree/v3.17.0"
|
"source": "https://github.com/twigphp/intl-extra/tree/v3.18.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14757,7 +14754,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/markdown-extra",
|
"name": "twig/markdown-extra",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/markdown-extra.git",
|
"url": "https://github.com/twigphp/markdown-extra.git",
|
||||||
|
@ -14813,7 +14810,7 @@
|
||||||
"twig"
|
"twig"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/twigphp/markdown-extra/tree/v3.17.0"
|
"source": "https://github.com/twigphp/markdown-extra/tree/v3.18.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14829,7 +14826,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/string-extra",
|
"name": "twig/string-extra",
|
||||||
"version": "v3.17.0",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/string-extra.git",
|
"url": "https://github.com/twigphp/string-extra.git",
|
||||||
|
@ -14880,7 +14877,7 @@
|
||||||
"unicode"
|
"unicode"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/twigphp/string-extra/tree/v3.17.0"
|
"source": "https://github.com/twigphp/string-extra/tree/v3.18.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14896,16 +14893,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/twig",
|
"name": "twig/twig",
|
||||||
"version": "v3.17.1",
|
"version": "v3.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/Twig.git",
|
"url": "https://github.com/twigphp/Twig.git",
|
||||||
"reference": "677ef8da6497a03048192aeeb5aa3018e379ac71"
|
"reference": "acffa88cc2b40dbe42eaf3a5025d6c0d4600cc50"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/twigphp/Twig/zipball/677ef8da6497a03048192aeeb5aa3018e379ac71",
|
"url": "https://api.github.com/repos/twigphp/Twig/zipball/acffa88cc2b40dbe42eaf3a5025d6c0d4600cc50",
|
||||||
"reference": "677ef8da6497a03048192aeeb5aa3018e379ac71",
|
"reference": "acffa88cc2b40dbe42eaf3a5025d6c0d4600cc50",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -14960,7 +14957,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/twigphp/Twig/issues",
|
"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": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -14972,7 +14969,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-12-12T09:58:10+00:00"
|
"time": "2024-12-29T10:51:50+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ua-parser/uap-php",
|
"name": "ua-parser/uap-php",
|
||||||
|
@ -15577,25 +15574,25 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/doctrine-fixtures-bundle",
|
"name": "doctrine/doctrine-fixtures-bundle",
|
||||||
"version": "3.7.1",
|
"version": "4.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
|
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
|
||||||
"reference": "bd59519a7532b9e1a41cef4049d5326dfac7def9"
|
"reference": "90185317e6bb3d845667c5ebd444d9c83ae19a01"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/bd59519a7532b9e1a41cef4049d5326dfac7def9",
|
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/90185317e6bb3d845667c5ebd444d9c83ae19a01",
|
||||||
"reference": "bd59519a7532b9e1a41cef4049d5326dfac7def9",
|
"reference": "90185317e6bb3d845667c5ebd444d9c83ae19a01",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"doctrine/data-fixtures": "^1.5 || ^2.0",
|
"doctrine/data-fixtures": "^2.0",
|
||||||
"doctrine/doctrine-bundle": "^2.2",
|
"doctrine/doctrine-bundle": "^2.2",
|
||||||
"doctrine/orm": "^2.14.0 || ^3.0",
|
"doctrine/orm": "^2.14.0 || ^3.0",
|
||||||
"doctrine/persistence": "^2.4 || ^3.0",
|
"doctrine/persistence": "^2.4 || ^3.0",
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^8.1",
|
||||||
"psr/log": "^1 || ^2 || ^3",
|
"psr/log": "^2 || ^3",
|
||||||
"symfony/config": "^5.4 || ^6.0 || ^7.0",
|
"symfony/config": "^5.4 || ^6.0 || ^7.0",
|
||||||
"symfony/console": "^5.4 || ^6.0 || ^7.0",
|
"symfony/console": "^5.4 || ^6.0 || ^7.0",
|
||||||
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
|
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
|
||||||
|
@ -15609,8 +15606,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/coding-standard": "^12",
|
"doctrine/coding-standard": "^12",
|
||||||
"phpstan/phpstan": "^2",
|
"phpstan/phpstan": "^2",
|
||||||
"phpunit/phpunit": "^9.6.13",
|
"phpunit/phpunit": "^10.5.38 || ^11"
|
||||||
"symfony/phpunit-bridge": "^6.3.6"
|
|
||||||
},
|
},
|
||||||
"type": "symfony-bundle",
|
"type": "symfony-bundle",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -15644,7 +15640,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/doctrine/DoctrineFixturesBundle/issues",
|
"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": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -15660,7 +15656,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-12-03T17:07:51+00:00"
|
"time": "2024-12-05T18:35:55+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ekino/phpstan-banned-code",
|
"name": "ekino/phpstan-banned-code",
|
||||||
|
|
|
@ -35,7 +35,7 @@ use Doctrine\Persistence\ObjectManager;
|
||||||
class LogEntryFixtures extends Fixture implements DependentFixtureInterface
|
class LogEntryFixtures extends Fixture implements DependentFixtureInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
public function load(ObjectManager $manager)
|
public function load(ObjectManager $manager): void
|
||||||
{
|
{
|
||||||
$this->createCategoryEntries($manager);
|
$this->createCategoryEntries($manager);
|
||||||
$this->createDeletedCategory($manager);
|
$this->createDeletedCategory($manager);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue