Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps webmozart/assert from 1.0.2 to 1.6.0.

Release notes

Sourced from webmozart/assert's releases.

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.6.0 (2019-11-24)

Added

  • added Assert::validArrayKey()
  • added Assert::isNonEmptyList()
  • added Assert::isNonEmptyMap()
  • added @throws InvalidArgumentException annotations to all methods that throw.
  • added @psalm-assert for the list type to the isList assertion.

Fixed

  • ResourceBundle & SimpleXMLElement now pass the isCountable assertions.
    They are countable, without implementing the Countable interface.
  • The doc block of range now has the proper variables.
  • An empty array will now pass isList and isMap. As it is a valid form of both.
    If a non empty variant is needed, use isNonEmptyList or isNonEmptyMap.

Changed

  • Removed some @psalm-assert annotations, that were 'side effect' assertions See:
  • If you use psalm, the minimum version needed is 3.6.0. Which is enforced through a composer conflict.
    If you don't use psalm, then this has no impact.

1.5.0 (2019-08-24)

Added

  • added Assert::uniqueValues()
  • added Assert::unicodeLetters()
  • added: Assert::email()
  • added support for Psalm, by adding @psalm-assert annotations where appropriate.

Fixed

  • Assert::endsWith() would not give the correct result when dealing with multibyte suffix.
  • Assert::length(), minLength, maxLength, lengthBetween would not give the correct result when dealing with multibyte characters.

NOTE: These 2 changes may break your assertions if you relied on the fact that multibyte characters didn't behave correctly.

Changed

  • The names of some variables have been updated to better reflect what they are.
  • All function calls are now in their FQN form, slightly increasing performance.
  • Tests are now properly ran against HHVM-3.30 and PHP nightly.
... (truncated)
Commits

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)
  • @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:

  • 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)

Bumps [webmozart/assert](https://github.com/webmozart/assert) from 1.0.2 to 1.6.0.
- [Release notes](https://github.com/webmozart/assert/releases)
- [Changelog](https://github.com/webmozart/assert/blob/master/CHANGELOG.md)
- [Commits](webmozarts/assert@1.0.2...1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 25, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #176.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/webmozart/assert-1.6.0 branch February 17, 2020 07:11
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.

0 participants