Skip to content

chore(deps-dev): Bump doctrine/data-fixtures from 1.8.1 to 2.0.2#147

Merged
vitormattos merged 1 commit intomainfrom
dependabot/composer/doctrine/data-fixtures-2.0.2
Mar 20, 2025
Merged

chore(deps-dev): Bump doctrine/data-fixtures from 1.8.1 to 2.0.2#147
vitormattos merged 1 commit intomainfrom
dependabot/composer/doctrine/data-fixtures-2.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2025

Bumps doctrine/data-fixtures from 1.8.1 to 2.0.2.

Release notes

Sourced from doctrine/data-fixtures's releases.

2.0.2

Release Notes for 2.0.2

2.0.x bugfix release (patch)

2.0.2

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Improvement

CI

2.0.1

Release Notes for 2.0.1

2.0.x bugfix release (patch)

2.0.1

  • Total issues resolved: 0
  • Total pull requests resolved: 0
  • Total contributors: 0

This release includes changes from 1.8.1

2.0.0

Release Notes for 2.0.0

2.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 9
  • Total contributors: 4

BC break

... (truncated)

Upgrade guide

Sourced from doctrine/data-fixtures's upgrade guide.

Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.

  • Use of @deprecated docblock that is detected by IDEs (like PHPStorm) or Static Analysis tools (like Psalm, phpstan)
  • Use of our low-overhead runtime deprecation API, details: https://github.com/doctrine/deprecations/

Upgrade to 2.0

You need PHP 8.1 or newer to use this library.

BC BREAK: Add native types declarations to all the methods

All types defined in phpdoc annotations are now defined natively, they must be added to your code if you extend the classes or implement the interfaces.

Loggers have to implement the PSR-3 contracts

  • Passing a callable to AbstractExecutor::setLogger() is not possible anymore, pass a PSR-3 logger instead.
  • The method AbstractExecutor::log() has been removed without replacement.

Specifying the class is mandatory when loading references

For the following method, the class param is now mandatory:

  • AbstractFixture::getReference
  • AbstractFixture::hasReference
  • ReferenceRepository::setReferenceIdentity
  • ReferenceRepository::hasIdentity
  • ReferenceRepository::getReference
  • ReferenceRepository::setReference

The following method was removed:

  • ReferenceRepository::getReferences

The following classes are now final, each of them has an interface you can implement:

  • Doctrine\Common\DataFixtures\Executor\MongoDBExecutor
  • Doctrine\Common\DataFixtures\Executor\ORMExecutor
  • Doctrine\Common\DataFixtures\Executor\PHPCSExecutor
  • Doctrine\Common\DataFixtures\Purger\MongoDBPurger
  • Doctrine\Common\DataFixtures\Purger\ORMPurger
  • Doctrine\Common\DataFixtures\Purger\PHPCSPurger

Upgrade to 1.8

Deprecated closure loggers in favor of PSR-3

  • Passing a callable to AbstractExecutor::setLogger() is deprecated, pass a PSR-3 logger instead.
  • The method AbstractExecutor::log() is deprecated without replacement.

... (truncated)

Commits
  • f7f1e12 Allow persistence v4 (#518)
  • ddda1ea Merge pull request #515 from SenseException/website-schema
  • 13985e5 Create website schema validation workflow
  • 2ae4513 Merge pull request #510 from greg0ire/2.0.x
  • a8d9df5 Merge remote-tracking branch 'origin/1.8.x' into 2.0.x
  • 007bda9 Merge pull request #509 from greg0ire/2.0.x
  • 6813353 Merge remote-tracking branch 'origin/1.8.x' into 2.0.x
  • 26536cc Merge pull request #502 from doctrine/1.8.x
  • 641a51d Merge pull request #501 from greg0ire/update-target-branch
  • c1a9fa6 Use 1.8.x as the target branch
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [doctrine/data-fixtures](https://github.com/doctrine/data-fixtures) from 1.8.1 to 2.0.2.
- [Release notes](https://github.com/doctrine/data-fixtures/releases)
- [Upgrade guide](https://github.com/doctrine/data-fixtures/blob/2.0.x/UPGRADE.md)
- [Commits](doctrine/data-fixtures@1.8.1...2.0.2)

---
updated-dependencies:
- dependency-name: doctrine/data-fixtures
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Mar 20, 2025
@vitormattos vitormattos merged commit 63eadbb into main Mar 20, 2025
6 checks passed
@dependabot dependabot bot deleted the dependabot/composer/doctrine/data-fixtures-2.0.2 branch March 20, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant