Skip to content

chore(deps): update dependency spatie/phpunit-snapshot-assertions to v5 - #58

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/spatie-phpunit-snapshot-assertions-5.x
Open

chore(deps): update dependency spatie/phpunit-snapshot-assertions to v5#58
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/spatie-phpunit-snapshot-assertions-5.x

Conversation

@renovate

@renovate renovate Bot commented Feb 9, 2023

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
spatie/phpunit-snapshot-assertions ^4.2^5.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

spatie/phpunit-snapshot-assertions (spatie/phpunit-snapshot-assertions)

v5.4.0

Compare Source

What's Changed
  • Add vendor/bin/update-snapshots wrapper binary that sets UPDATE_SNAPSHOTS=true and runs PHPUnit. This replaces the previously documented phpunit -d --update-snapshots syntax, which abused PHPUnit's -d flag and produces a Failed to set "--update-snapshots=1" test runner warning since PHPUnit 12.5.12.
  • Drop the phpunit -d --without-creating-snapshots form from the README. Use the CREATE_SNAPSHOTS=false environment variable instead. The argv check is kept in shouldCreateSnapshots() for backwards compatibility.
  • The wrapper restores the prior UPDATE_SNAPSHOTS env var state on shutdown, so it does not leak a state mutation to any in-process code that runs after PHPUnit.
  • Reworded the "Snapshot does not exist" failure message and the "snapshots can be updated by..." prompt to point at the new approach.
  • shouldUpdateSnapshots() and shouldCreateSnapshots() now check the env var first, then fall back to the legacy CLI argument.
  • Fix tests on PHPUnit 12.5+, where mocks throwing AssertionFailedError are tracked as a test failure even when user code catches the exception. The expectFail helper now uses a plain RuntimeException carrying the expected message.

Closes #​242.

Full Changelog: spatie/phpunit-snapshot-assertions@5.3.2...5.4.0

v5.3.2

Compare Source

What's Changed
  • Add vendor/bin/update-snapshots wrapper binary that sets UPDATE_SNAPSHOTS=true and runs PHPUnit. This replaces the previously documented phpunit -d --update-snapshots syntax, which abused PHPUnit's -d flag and produces a Failed to set "--update-snapshots=1" test runner warning since PHPUnit 12.5.12.
  • Drop the phpunit -d --without-creating-snapshots form from the README. Use the CREATE_SNAPSHOTS=false environment variable instead. The argv check is kept in shouldCreateSnapshots() for backwards compatibility.
  • The wrapper restores the prior UPDATE_SNAPSHOTS env var state on shutdown, so it does not leak a state mutation to any in-process code that runs after PHPUnit.
  • Reworded the "Snapshot does not exist" failure message and the "snapshots can be updated by..." prompt to point at the new approach.
  • shouldUpdateSnapshots() and shouldCreateSnapshots() now check the env var first, then fall back to the legacy CLI argument.
  • Fix tests on PHPUnit 12.5+, where mocks throwing AssertionFailedError are tracked as a test failure even when user code catches the exception. The expectFail helper now uses a plain RuntimeException carrying the expected message.

Closes #​242.

Full Changelog: spatie/phpunit-snapshot-assertions@5.3.2...5.4.0

v5.3.1

Compare Source

What's Changed
  • Allow PHPUnit 13

v5.3.0

Compare Source

What's Changed
  • Add support for PHPUnit 9.6 by @​alex-dev in #​235
  • Add PHPUnit versioning to CI matrix to test against multiple PHPUnit versions
  • Add PhpUnitCompatibility trait for cross-version compatibility
  • Fix CI workflow to properly handle PHPUnit version constraints

Full Changelog: spatie/phpunit-snapshot-assertions@5.2.3...5.3.0

v5.2.3

Compare Source

What's Changed
  • Add support for PHPUnit 9.6 by @​alex-dev in #​235
  • Add PHPUnit versioning to CI matrix to test against multiple PHPUnit versions
  • Add PhpUnitCompatibility trait for cross-version compatibility
  • Fix CI workflow to properly handle PHPUnit version constraints

Full Changelog: spatie/phpunit-snapshot-assertions@5.2.3...5.3.0

v5.2.2

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.2.2...5.2.3

v5.2.1

Compare Source

What's Changed

Full Changelog: spatie/phpunit-snapshot-assertions@5.2.1...5.2.2

v5.2.0

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.2.0...5.2.1

v5.1.8

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.8...5.2.0

v5.1.7

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.7...5.1.8

v5.1.6

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.6...5.1.7

v5.1.5

Compare Source

What's Changed

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.5...5.1.6

v5.1.4

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.4...5.1.5

v5.1.3

Compare Source

What's Changed

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.3...5.1.4

v5.1.2

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.2...5.1.3

v5.1.1

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.1.1...5.1.2

v5.1.0

Compare Source

What's Changed

Full Changelog: spatie/phpunit-snapshot-assertions@5.0.2...5.1.0

v5.0.2

Compare Source

What's Changed

Full Changelog: spatie/phpunit-snapshot-assertions@5.0.2...5.1.0

v5.0.1

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.0.0...5.0.1

v5.0.0

Compare Source

What's Changed
New Contributors

Full Changelog: spatie/phpunit-snapshot-assertions@5.0.0...5.0.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 919e55c to 903e6b4 Compare March 15, 2023 19:12
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 903e6b4 to 7b98607 Compare January 17, 2024 18:56
@renovate
renovate Bot requested a review from a team as a code owner January 17, 2024 18:56
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 98583ed to 33f36ca Compare August 9, 2024 00:28
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 5 times, most recently from fdfe72a to eda1497 Compare September 4, 2024 03:25
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 6 times, most recently from 6e091e9 to b0b54a5 Compare September 4, 2024 03:50
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from b0b54a5 to 6bc481b Compare September 4, 2024 18:45

@thomaspoignant thomaspoignant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for GOFF

@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 6bc481b to aa3d4d0 Compare November 3, 2024 14:16

@thomaspoignant thomaspoignant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for GOFF

@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from aa3d4d0 to 7c3a076 Compare January 22, 2025 15:34
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 3 times, most recently from 235426a to 5e2c0a9 Compare January 29, 2025 09:17
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 5e2c0a9 to b2c7be3 Compare February 10, 2025 08:31
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from b2c7be3 to 937ece7 Compare November 19, 2025 15:50
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 11 times, most recently from 13a234a to e97ba08 Compare December 24, 2025 04:47
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 3 times, most recently from 374cdc2 to 9b4819d Compare January 5, 2026 14:08
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from d4226a9 to c256d71 Compare July 27, 2026 13:11
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.30%. Comparing base (f9f3c48) to head (c256d71).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
+ Coverage   69.91%   72.30%   +2.39%     
==========================================
  Files          44       44              
  Lines         708      715       +7     
==========================================
+ Hits          495      517      +22     
+ Misses        213      198      -15     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from c256d71 to 9f904c9 Compare July 27, 2026 13:29
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 68bfc7c to bcf28b1 Compare August 24, 2026 18:52
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 98f3e2c to 45b5902 Compare August 27, 2026 12:23
@renovate renovate Bot changed the title chore(deps): update dependency spatie/phpunit-snapshot-assertions to v5 chore(deps): update dependency spatie/phpunit-snapshot-assertions to v5 - autoclosed Aug 31, 2026
@renovate renovate Bot closed this Aug 31, 2026
@renovate
renovate Bot deleted the renovate/spatie-phpunit-snapshot-assertions-5.x branch August 31, 2026 20:33
@renovate renovate Bot changed the title chore(deps): update dependency spatie/phpunit-snapshot-assertions to v5 - autoclosed chore(deps): update dependency spatie/phpunit-snapshot-assertions to v5 Sep 1, 2026
@renovate renovate Bot reopened this Sep 1, 2026
@renovate
renovate Bot force-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 45b5902 to ca7d600 Compare September 1, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant