Skip to content

build(deps-dev): bump codeception/verify from 2.2.0 to 3.1.0#154

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2024

Bumps codeception/verify from 2.2.0 to 3.1.0.

Release notes

Sourced from codeception/verify's releases.

3.1.0

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
  • f19c34e Merge pull request #57 from particleflux/add-objecthas-property
  • 4f37d78 Fix relative links in README
  • 370af7a Deprecate objectHasAttribute expectations/verifiers
  • 688e576 Require phpunit >=9.6.11
  • 597052c Add new hasProperty to docs
  • e02a6ec Add baseObject(Not)ToHaveProperty expectation
  • 4f3a74f Add baseObject(Not)HasProperty verifier
  • 25b84a9 Support PHPUnit 10
  • 1d3c58c Removed VerifyClass
  • 2f8f5ce actions/checkout@v3
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [codeception/verify](https://github.com/Codeception/Verify) from 2.2.0 to 3.1.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.1.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 5, 2024 14:35
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 5, 2024
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Mar 28, 2024

Superseded by #156.

@dependabot dependabot bot closed this Mar 28, 2024
@dependabot dependabot bot deleted the dependabot/composer/codeception/verify-3.1.0 branch March 28, 2024 14:51
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