Skip to content

build(deps-dev): bump codeception/verify from 2.2.0 to 3.0.0#120

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/codeception/verify-3.0.0
Closed

build(deps-dev): bump codeception/verify from 2.2.0 to 3.0.0#120
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/codeception/verify-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2023

Bumps codeception/verify from 2.2.0 to 3.0.0.

Release notes

Sourced from codeception/verify's releases.

3.0.0

  • Support for PHPUnit 10
  • Removed VerifyClass methods incompatible with PHPUnit 10:
    • hasAttribute
    • hasStaticAttribute
    • notHasAttribute
    • notHasStaticAttribute

2.3.0

  • Fixed PHPUnit constraint
  • This version supports PHPUnit 9 only
Upgrade guide

Sourced from codeception/verify's upgrade guide.

UPGRADE FROM 1.X TO 2.X

PHP version

  • Removed support for PHP 7.1 & PHP 7.2.

Verify function

In version 2.x, verifiers can be used as classes. Each verifier class handles a specific type of data.

Thanks to this you can enjoy an autocompletion of your IDE much more intelligent than before...

That is why we remove some global functions that have a less intuitive behavior.

According to the above:

  • verify no longer receives a string $message as a parameter, now each verifier fulfills this function.
  • verify_not was deleted. Use verify()->empty instead.
  • expect_that and expect_not were deleted. Use expect()->notEmpty and expect()->empty instead.
  • expect_file and setIsFileExpectation were deleted. Use Verify::File() instead.

Verifiers

Verify 1.x Verify 2.x
verify()->array verify()->isArray
verify()->bool verify()->isBool
verify()->callable verify()->isCallable
verify()->float verify()->isFloat
verify()->greaterOrEquals verify()->greaterThanOrEqual
verify()->int verify()->isInt
verify()->isEmpty verify()->empty
verify()->isInstanceOf verify()->instanceOf
verify()->isNotInstanceOf verify()->notInstanceOf
verify()->lessOrEquals verify()->lessThanOrEqual
verify()->notArray verify()->isNotArray
verify()->notBool verify()->isNotBool
verify()->notCallable verify()->isNotCallable
verify()->notFloat verify()->isNotFloat
verify()->notInt verify()->isNotInt
verify()->notNumeric verify()->isNotNumeric
verify()->notObject verify()->isNotObject
verify()->notResource verify()->isNotResource
verify()->notScalar verify()->isNotScalar

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [codeception/verify](https://github.com/Codeception/Verify) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/Codeception/Verify/releases)
- [Changelog](https://github.com/Codeception/Verify/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/Codeception/Verify/blob/master/UPGRADE.md)
- [Commits](Codeception/Verify@2.2.0...3.0.0)

---
updated-dependencies:
- dependency-name: codeception/verify
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from bobby285271 as a code owner February 9, 2023 14:01
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 9, 2023
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Feb 5, 2024

Superseded by #154.

@dependabot dependabot bot closed this Feb 5, 2024
@dependabot dependabot bot deleted the dependabot/composer/codeception/verify-3.0.0 branch February 5, 2024 14:35
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