Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 6, 2022

Bumps webmozart/assert from 1.0.2 to 1.11.0.

Release notes

Sourced from webmozart/assert's releases.

Release 1.11.0

See change log for changes.

Release 1.10.0

See change log for changes.

Release 1.9.1

See change log for changes.

Release 1.9.0

See change log for changes.

Release 1.8.0

See change log for changes.

Release 1.7.0

See change log for changes.

Release 1.6.0

See change log for changes.

Release 1.5.0

See change log for changes.

Release 1.4.0

See change log for changes.

Release 1.3.0

See change log for changes.

1.2.0

  • added Assert::throws()
  • added Assert::count()
  • added extension point Assert::reportInvalidArgument() for custom subclasses

1.1.0

  • added Assert::object()
  • added Assert::propertyExists()
  • added Assert::propertyNotExists()
  • added Assert::methodExists()
  • added Assert::methodNotExists()
  • added Assert::uuid()
Changelog

Sourced from webmozart/assert's changelog.

1.11.0

Added

  • Added explicit (non magic) allNullOr* methods, with @psalm-assert annotations, for better Psalm support.

Changed

  • Trait methods will now check the assertion themselves, instead of using __callStatic
  • isList will now deal correctly with (modified) lists that contain NaN
  • reportInvalidArgument now has a return type of never.

Removed

  • Removed symfony/polyfill-ctype as a dependency, and require ext-cytpe instead.
    • You can still require the symfony/polyfill-ctype in your project if you need it, as it provides ext-ctype

1.10.0

Added

  • On invalid assertion, we throw a Webmozart\Assert\InvalidArgumentException
  • Added Assert::positiveInteger()

Changed

  • Using a trait with real implementations of all*() and nullOr*() methods to improve psalm compatibility.

Removed

  • Support for PHP <7.2

1.9.1

Fixed

  • provisional support for PHP 8.0

1.9.0

  • added better Psalm support for all* & nullOr* methods
  • These methods are now understood by Psalm through a mixin. You may need a newer version of Psalm in order to use this
  • added @psalm-pure annotation to Assert::notFalse()
  • added more @psalm-assert annotations where appropriate

Changed

  • the all* & nullOr* methods are now declared on an interface, instead of @method annotations. This interface is linked to the Assert class with a @mixin annotation. Most IDE's have supported this for a long time, and you should not lose any autocompletion capabilities. PHPStan has supported this since

... (truncated)

Commits
  • 11cb219 Add 1.11.0 to the changelog (#272)
  • af18046 Fix deprecated use of 'static' literal string in callable (#260)
  • 4e22b65 Introduce allNullOr methods (#263)
  • dc96b67 Deal with lists that have been modified that have (#247)
  • 7b05571 Update ci.yaml (#253)
  • 7de722e Update AssertTest fix lessThan test fail in a different time zone. (#264)
  • b65e17c Reduced dependency graph by removing symfony/polyfill-ctype, requiring `ext...
  • b419d64 Update .gitattributes (#251)
  • 8403a94 fix isA*Of exception messages (#231)
  • 8ee533c Mixin: avoid __callStatic calls (#242)
  • 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 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 [webmozart/assert](https://github.com/webmozarts/assert) from 1.0.2 to 1.11.0.
- [Release notes](https://github.com/webmozarts/assert/releases)
- [Changelog](https://github.com/webmozarts/assert/blob/master/CHANGELOG.md)
- [Commits](webmozarts/assert@1.0.2...1.11.0)

---
updated-dependencies:
- dependency-name: webmozart/assert
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 6, 2022
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant