From 1605d621d3cc46e0b66b402690c03e79bd4bff4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 5 May 2024 16:34:39 +0200 Subject: [PATCH 01/11] Upgrade to codecov/codecov-action v4 --- .github/workflows/continuous-integration.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 7cad8a2..904abb3 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -101,6 +101,8 @@ jobs: path: "reports" - name: "Upload to Codecov" - uses: "codecov/codecov-action@v3" + uses: "codecov/codecov-action@v4" with: directory: reports + env: + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" From e7e6a3affaf25ff81779dedf204c0f92adc3253c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 5 May 2024 16:34:56 +0200 Subject: [PATCH 02/11] Setup Dependabot for Github actions --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..15bd172 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + labels: + - "CI" From a668c486346e1ca97aa32c6c2d53e7dbf82e27ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 May 2024 14:45:35 +0000 Subject: [PATCH 03/11] Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 904abb3..2975c6d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -70,14 +70,14 @@ jobs: run: "vendor/bin/phpunit --coverage-clover=coverage.xml" - name: "Upload coverage file" - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" if: "${{ ! contains(matrix.extra_constraint, '/') }}" with: name: "phpunit-${{ matrix.dependencies }}-${{ matrix.stability }}-${{ matrix.php-version }}.coverage" path: "coverage.xml" - name: "Upload coverage file, sanitize the name" - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" if: "${{ contains(matrix.extra_constraint, '/') }}" with: name: "phpunit-symfony-lts-${{ matrix.php-version }}.coverage" From 7a77e7dceb46dbacd9a2fb8f6d20a6877433b0d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 May 2024 14:45:38 +0000 Subject: [PATCH 04/11] Bump ramsey/composer-install from 2 to 3 Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](https://github.com/ramsey/composer-install/compare/v2...v3) --- updated-dependencies: - dependency-name: ramsey/composer-install dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 904abb3..54c1f89 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -57,7 +57,7 @@ jobs: if: "${{ matrix.stability == 'dev' }}" - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" composer-options: "--prefer-dist" From cbac7381a52fc9512b305a5cca4ff4097c046ca8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 May 2024 14:45:40 +0000 Subject: [PATCH 05/11] Bump doctrine/.github from 4.0.0 to 5.0.1 Bumps [doctrine/.github](https://github.com/doctrine/.github) from 4.0.0 to 5.0.1. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](https://github.com/doctrine/.github/compare/4.0.0...5.0.1) --- updated-dependencies: - dependency-name: doctrine/.github dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/release-on-milestone-closed.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 9d0faaf..d82ba21 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -12,4 +12,4 @@ on: jobs: coding-standards: name: "Coding Standards" - uses: "doctrine/.github/.github/workflows/coding-standards.yml@4.0.0" + uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.0.1" diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index 34abfbc..3cac620 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -8,7 +8,7 @@ on: jobs: release: name: "Git tag, release & create merge-up PR" - uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@4.0.0" + uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.0.1" secrets: GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 656c03c..1959f69 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -11,4 +11,4 @@ on: jobs: static-analysis: - uses: "doctrine/.github/.github/workflows/static-analysis.yml@4.0.0" + uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.0.1" From 59a06c49a7782000be04414929c134e914e78bdb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 May 2024 14:45:44 +0000 Subject: [PATCH 06/11] Bump actions/download-artifact from 3 to 4 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 904abb3..0584450 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -96,7 +96,7 @@ jobs: fetch-depth: 2 - name: "Download coverage files" - uses: "actions/download-artifact@v3" + uses: "actions/download-artifact@v4" with: path: "reports" From 549183601a0a1a9897d60a4e57b0d0f7223fc57c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 7 May 2024 08:24:57 +0200 Subject: [PATCH 07/11] Update Symfony bundle metadata --- .symfony.bundle.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.symfony.bundle.yaml b/.symfony.bundle.yaml index c6b26f0..740d03a 100644 --- a/.symfony.bundle.yaml +++ b/.symfony.bundle.yaml @@ -8,5 +8,5 @@ maintained_branches: - "3.5.x" - "3.6.x" - "3.7.x" -doc_dir: "docs/" +doc_dir: {"3.5.x": "Resources/doc/", "3.6.x": "docs/", "3.7.x": "docs/"} dev_branch: "3.7.x" From 5081b3e4b8d317792789cbcf5170088ec572ab64 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 7 May 2024 08:51:29 +0200 Subject: [PATCH 08/11] Remove 3.5.x from maintained versions --- .symfony.bundle.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.symfony.bundle.yaml b/.symfony.bundle.yaml index 740d03a..736b508 100644 --- a/.symfony.bundle.yaml +++ b/.symfony.bundle.yaml @@ -5,8 +5,7 @@ branches: - "3.6.x" - "3.7.x" maintained_branches: - - "3.5.x" - "3.6.x" - "3.7.x" -doc_dir: {"3.5.x": "Resources/doc/", "3.6.x": "docs/", "3.7.x": "docs/"} +doc_dir: "docs/" dev_branch: "3.7.x" From 5532047fc31fab977f07d80aad73a746fe902392 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 27 May 2024 17:56:08 +0200 Subject: [PATCH 09/11] Update index.rst: Shortening non-Flex installation Page: https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html Wording is inspired by https://symfony.com/doc/current/frontend/asset_mapper.html#installation --- docs/index.rst | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 4a18ac1..2713113 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,36 +12,18 @@ This bundle is compatible with any database supported by `Doctrine ORM`_ Installation ------------ -In Symfony 4 or higher applications that use `Symfony Flex`_, open a command -console, enter your project directory and run the following command: +If you're using `Symfony Flex`_, run this command and you're done: .. code-block:: terminal $ composer require --dev orm-fixtures -Starting from Symfony 4.0, Flex should be used by default and register the -bundle for you, and in that case you can skip to the next section and start -writing fixtures. - -In Symfony 3 applications (or when not using Symfony Flex), run this other -command instead: +If you're not using Flex, run this other command instead: .. code-block:: terminal $ composer require --dev doctrine/doctrine-fixtures-bundle -You will also need to enable the bundle. In Symfony 3 and earlier applications, -update the ``AppKernel`` class:: - - // app/AppKernel.php - - // ... - // registerBundles() - if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { - // ... - $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(); - } - Writing Fixtures ---------------- From 2e0d7b2b86f9d7c98f33c5efef7402bfefa74324 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:29:19 +0200 Subject: [PATCH 10/11] Bump doctrine/.github from 5.0.1 to 5.1.0 (#448) Bumps [doctrine/.github](https://github.com/doctrine/.github) from 5.0.1 to 5.1.0. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](https://github.com/doctrine/.github/compare/5.0.1...5.1.0) --- updated-dependencies: - dependency-name: doctrine/.github dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/release-on-milestone-closed.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index d82ba21..d9d7490 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -12,4 +12,4 @@ on: jobs: coding-standards: name: "Coding Standards" - uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.0.1" + uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.1.0" diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index 3cac620..e193d87 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -8,7 +8,7 @@ on: jobs: release: name: "Git tag, release & create merge-up PR" - uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.0.1" + uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.1.0" secrets: GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 1959f69..29af82e 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -11,4 +11,4 @@ on: jobs: static-analysis: - uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.0.1" + uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.1.0" From a345e6ccb1f195a29cb3a016ebae31c00091ceb4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:35:25 +0200 Subject: [PATCH 11/11] Bump doctrine/.github from 5.1.0 to 5.2.0 (#449) --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/release-on-milestone-closed.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index d9d7490..0c8e7f3 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -12,4 +12,4 @@ on: jobs: coding-standards: name: "Coding Standards" - uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.1.0" + uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.2.0" diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index e193d87..67a81bf 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -8,7 +8,7 @@ on: jobs: release: name: "Git tag, release & create merge-up PR" - uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.1.0" + uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.2.0" secrets: GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 29af82e..fe6a82b 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -11,4 +11,4 @@ on: jobs: static-analysis: - uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.1.0" + uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.2.0"