Skip to content

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

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#76
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/spatie-phpunit-snapshot-assertions-5.x

Conversation

@renovate

@renovaterenovateBot commented Feb 9, 2023

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

PackageChangeAgeConfidence
spatie/phpunit-snapshot-assertions^4.2^5.0ageconfidence

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
renovateBot requested a review from tcarrio as a code ownerFebruary 9, 2023 17:21
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 550f74d to e81b6a2CompareFebruary 12, 2023 03:31
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from e81b6a2 to 8c4e3e3CompareFebruary 20, 2023 04:47
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 4 times, most recently from 3a241ed to 6dbb2dbCompareMarch 11, 2023 06:17
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 6dbb2db to dbf2e44CompareApril 15, 2023 00:42
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from dbf2e44 to bd50034CompareMay 16, 2023 23:48
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from bd50034 to efe62f9CompareAugust 16, 2023 00:31
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 4 times, most recently from 3e22a74 to 4c89b75CompareSeptember 21, 2023 01:23
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 4c89b75 to 99c51f0CompareOctober 2, 2023 01:27
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 99c51f0 to 6372c37CompareNovember 7, 2023 01:01
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 6372c37 to 01efec3CompareNovember 23, 2023 03:09
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 4 times, most recently from 6c83a4f to 1e74b3cCompareDecember 5, 2023 04:12
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 1e74b3c to 2212c3eCompareDecember 17, 2023 13:48
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 2212c3e to 83ae1ecCompareJanuary 8, 2024 18:29
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 83ae1ec to 561575bCompareJanuary 22, 2024 05:42
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 561575b to a3dc2fdCompareMarch 15, 2024 18:53
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from a3dc2fd to 21aaff8CompareApril 21, 2024 02:18
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 3 times, most recently from 6d030a4 to d8cd151CompareMay 7, 2024 05:30
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 93d11dd to 50f60d4CompareMay 7, 2024 05:40
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 50f60d4 to b310c72CompareMay 27, 2024 01:23
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from b7cce2b to f062ab9CompareAugust 5, 2024 03:09
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 439b5e3 to 4b8ed4aCompareSeptember 25, 2024 04:04
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 4b8ed4a to d485d0eCompareOctober 6, 2024 04:38
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 15377f0 to bfc292aCompareOctober 28, 2024 14:22
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 3 times, most recently from 76118e7 to 7e70285CompareJuly 9, 2025 13:51
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 3 times, most recently from b3590ec to d183c4aCompareSeptember 4, 2025 03:28
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from e765c0c to a4b2c7fCompareSeptember 14, 2025 02:49
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from a4b2c7f to 9f6fae9CompareSeptember 27, 2025 20:50
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 9f6fae9 to 12b8effCompareNovember 19, 2025 15:50
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 4 times, most recently from 70dd897 to b47f95fCompareDecember 22, 2025 16:57
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 2 times, most recently from 1a42e14 to abadb30CompareApril 27, 2026 20:33
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch 3 times, most recently from bce1ab4 to 5c52cdeCompareJune 10, 2026 19:10
@renovate
renovateBotforce-pushed the renovate/spatie-phpunit-snapshot-assertions-5.x branch from 5c52cde to 7deeccaCompareJuly 26, 2026 03:46
Sign up for freeto 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.

0 participants