Release notes
*Sourced from [spatie/phpunit-snapshot-assertions's releases](https://github.com/spatie/phpunit-snapshot-assertions/releases).*
> ## 3.0.0
> - `assertMatchesJsonSnapshot` now supports all JSON serializable objects, and won't convert empty arrays to obejcts anymore
Changelog
*Sourced from [spatie/phpunit-snapshot-assertions's changelog](https://github.com/spatie/phpunit-snapshot-assertions/blob/master/CHANGELOG.md).*
> # Changelog
>
> All notable changes to `phpunit-snapshot-assertions` will be documented in this file
>
> ## 2.2.1 - 2019-11-22
> - Allow symfony 5 components
>
> ## 2.1.3 - 2019-08-07
> - Allow recursive mkdir for file snapshots
>
> ## 2.1.2 - 2019-03-27
> - Less restrictive symfony/yaml version requirement
>
> ## 2.1.1 - 2019-03-04
> - Fix for json driver
>
> ## 2.1.0 - 2019-02-07
> - Require PHPUnit 8 & PHP 7.2
>
> ## 2.0.0 - 2019-01-29
> - Use YAML by default for associative arrays
> - Drop PHP 7.0 support, the new constraint is ^7.1
> - Drop PHPUnit ^6.5 support, the new constraint is ^7.0
>
> ## 1.4.1 - 2019-01-29
> - Fix JSON array comparisons
>
> ## 1.4.0 - 2019-01-29
> - Allow arrays to be serialized to JSON
>
> ## 1.3.3 - 2018-12-15
> - Fix updating failed file-snapshots
>
> ## 1.3.2 - 2018-10-18
> - Fix for tests with weird characters
>
> ## 1.3.1 - 2018-06-09
> - Lowered minimum required PHPUnit version
>
> ## 1.3.0 - 2018-05-22
> - Only mark test incomplete after every snapshot has been run
>
> ## 1.2.3 - 2018-03-15
> - Fixed snapshot creation in recursive directories
>
> ## 1.2.2 - 2018-02-17
> - Support PHP 7.2
>
> ## 1.2.1 - 2018-02-02
> - Support phpunit ^7.0
> ... (truncated)
Commits
- [`04b5372`](https://github.com/spatie/phpunit-snapshot-assertions/commit/04b53728875a94e9ff8bbccd3b06b21ef4ad3118) Merge pull request [#74](https://github-redirect.dependabot.com/spatie/phpunit-snapshot-assertions/issues/74) from mintbridge/master
- [`810ff69`](https://github.com/spatie/phpunit-snapshot-assertions/commit/810ff6964efa1a904be63fd39e3d753d34735cec) Update CHANGELOG.md
- [`cc6769a`](https://github.com/spatie/phpunit-snapshot-assertions/commit/cc6769ab92a41d1d58d72f228e15d82d180f0b44) Update CHANGELOG.md
- [`f66c91c`](https://github.com/spatie/phpunit-snapshot-assertions/commit/f66c91c82e2ae951498a4af643afc371ffa8fdf0) Update .styleci.yml
- [`8f8da14`](https://github.com/spatie/phpunit-snapshot-assertions/commit/8f8da1494cd8289c524e01432010227aaf4e5c3e) Merge pull request [#78](https://github-redirect.dependabot.com/spatie/phpunit-snapshot-assertions/issues/78) from ianrodrigues/upgrade-yaml-component
- [`327a54f`](https://github.com/spatie/phpunit-snapshot-assertions/commit/327a54fde530f84a684c70e07ad9ed1832679a3f) Update composer.json
- [`8210644`](https://github.com/spatie/phpunit-snapshot-assertions/commit/82106445f9f5b3d0b5460c966f66874105d53479) upgrade symfony/yaml
- [`db640df`](https://github.com/spatie/phpunit-snapshot-assertions/commit/db640df37edef048a88ce223aedd081cfdde5fea) fixing code style issues with trailing commas
- [`e5b956f`](https://github.com/spatie/phpunit-snapshot-assertions/commit/e5b956fba129bce0cee5c769806ce85c6fe4f491) correct json driver to not force all objects to arrays (in particular when em...
- See full diff in [compare view](https://github.com/spatie/phpunit-snapshot-assertions/compare/2.2.0...3.0.0)
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on spatie/phpunit-snapshot-assertions to permit the latest version.
Release notes
*Sourced from [spatie/phpunit-snapshot-assertions's releases](https://github.com/spatie/phpunit-snapshot-assertions/releases).* > ## 3.0.0 > - `assertMatchesJsonSnapshot` now supports all JSON serializable objects, and won't convert empty arrays to obejcts anymoreChangelog
*Sourced from [spatie/phpunit-snapshot-assertions's changelog](https://github.com/spatie/phpunit-snapshot-assertions/blob/master/CHANGELOG.md).* > # Changelog > > All notable changes to `phpunit-snapshot-assertions` will be documented in this file > > ## 2.2.1 - 2019-11-22 > - Allow symfony 5 components > > ## 2.1.3 - 2019-08-07 > - Allow recursive mkdir for file snapshots > > ## 2.1.2 - 2019-03-27 > - Less restrictive symfony/yaml version requirement > > ## 2.1.1 - 2019-03-04 > - Fix for json driver > > ## 2.1.0 - 2019-02-07 > - Require PHPUnit 8 & PHP 7.2 > > ## 2.0.0 - 2019-01-29 > - Use YAML by default for associative arrays > - Drop PHP 7.0 support, the new constraint is ^7.1 > - Drop PHPUnit ^6.5 support, the new constraint is ^7.0 > > ## 1.4.1 - 2019-01-29 > - Fix JSON array comparisons > > ## 1.4.0 - 2019-01-29 > - Allow arrays to be serialized to JSON > > ## 1.3.3 - 2018-12-15 > - Fix updating failed file-snapshots > > ## 1.3.2 - 2018-10-18 > - Fix for tests with weird characters > > ## 1.3.1 - 2018-06-09 > - Lowered minimum required PHPUnit version > > ## 1.3.0 - 2018-05-22 > - Only mark test incomplete after every snapshot has been run > > ## 1.2.3 - 2018-03-15 > - Fixed snapshot creation in recursive directories > > ## 1.2.2 - 2018-02-17 > - Support PHP 7.2 > > ## 1.2.1 - 2018-02-02 > - Support phpunit ^7.0 > ... (truncated)Commits
- [`04b5372`](https://github.com/spatie/phpunit-snapshot-assertions/commit/04b53728875a94e9ff8bbccd3b06b21ef4ad3118) Merge pull request [#74](https://github-redirect.dependabot.com/spatie/phpunit-snapshot-assertions/issues/74) from mintbridge/master - [`810ff69`](https://github.com/spatie/phpunit-snapshot-assertions/commit/810ff6964efa1a904be63fd39e3d753d34735cec) Update CHANGELOG.md - [`cc6769a`](https://github.com/spatie/phpunit-snapshot-assertions/commit/cc6769ab92a41d1d58d72f228e15d82d180f0b44) Update CHANGELOG.md - [`f66c91c`](https://github.com/spatie/phpunit-snapshot-assertions/commit/f66c91c82e2ae951498a4af643afc371ffa8fdf0) Update .styleci.yml - [`8f8da14`](https://github.com/spatie/phpunit-snapshot-assertions/commit/8f8da1494cd8289c524e01432010227aaf4e5c3e) Merge pull request [#78](https://github-redirect.dependabot.com/spatie/phpunit-snapshot-assertions/issues/78) from ianrodrigues/upgrade-yaml-component - [`327a54f`](https://github.com/spatie/phpunit-snapshot-assertions/commit/327a54fde530f84a684c70e07ad9ed1832679a3f) Update composer.json - [`8210644`](https://github.com/spatie/phpunit-snapshot-assertions/commit/82106445f9f5b3d0b5460c966f66874105d53479) upgrade symfony/yaml - [`db640df`](https://github.com/spatie/phpunit-snapshot-assertions/commit/db640df37edef048a88ce223aedd081cfdde5fea) fixing code style issues with trailing commas - [`e5b956f`](https://github.com/spatie/phpunit-snapshot-assertions/commit/e5b956fba129bce0cee5c769806ce85c6fe4f491) correct json driver to not force all objects to arrays (in particular when em... - See full diff in [compare view](https://github.com/spatie/phpunit-snapshot-assertions/compare/2.2.0...3.0.0)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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)