phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Bump mockery/mockery from 1.3.5 to 1.5.0 #255

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mockery/mockery from 1.3.5 to 1.5.0.

Release notes

Sourced from mockery/mockery's releases.

1.5.0

  • Override default call count expectations via expects() #1146
  • Mock methods with static return types #1157
  • Mock methods with mixed return type #1156
  • Mock classes with new in initializers on PHP 8.1 #1160
  • Removes redundant PHPUnitConstraint #1158

1.4.4

  • Fixes auto-generated return values #1144
  • Adds support for tentative types #1130
  • Fixes for PHP 8.1 Support (#1130 and #1140)
  • Add method that allows defining a set of arguments the mock should yield #1133
  • Added option to configure default matchers for objects \Mockery::getConfiguration()->setDefaultMatcher($class, $matcherClass) #1120

1.4.3

  • Fixes calls to fetchMock before initialisation #1113
  • Allow shouldIgnoreMissing() to behave in a recursive fashion #1097
  • Custom object formatters #766 (Needs Docs)
  • Fix crash on a union type including null #1106

1.4.2

  • Fix array to string conversion in ConstantsPass (#1086)
  • Fixed nullable PHP 8.0 union types (#1088, #1089)
  • Fixed support for PHP 8.0 parent type (#1088, #1089)
  • Fixed PHP 8.0 mixed type support (#1088, #1089)
  • Fixed PHP 8.0 union return types (#1088, #1089)

Big thank you to @​GrahamCampbell

1.4.1

  • Allow quick definitions to use 'at least once' expectation \Mockery::getConfiguration()->getQuickDefinitions()->shouldBeCalledAtLeastOnce(true) (#1056)
  • Added provisional support for PHP 8.0 (#1068, #1072,#1079)
  • Fix mocking methods with iterable return type without specifying a return value (#1075)

1.4.0

  • Fix andAnyOthers() to properly match earlier expectations (#1051)
  • Drops support for PHP < 7.3 and PHPUnit < 8 (#1059)
Changelog

Sourced from mockery/mockery's changelog.

1.5.0 (2022-01-20)

  • Override default call count expectations via expects() #1146
  • Mock methods with static return types #1157
  • Mock methods with mixed return type #1156
  • Mock classes with new in initializers on PHP 8.1 #1160
  • Removes redundant PHPUnitConstraint #1158

1.4.4 (2021-09-13)

  • Fixes auto-generated return values #1144
  • Adds support for tentative types #1130
  • Fixes for PHP 8.1 Support (#1130 and #1140)
  • Add method that allows defining a set of arguments the mock should yield #1133
  • Added option to configure default matchers for objects \Mockery::getConfiguration()->setDefaultMatcher($class, $matcherClass) #1120

1.4.3 (2021-02-24)

  • Fixes calls to fetchMock before initialisation #1113
  • Allow shouldIgnoreMissing() to behave in a recursive fashion #1097
  • Custom object formatters #766 (Needs Docs)
  • Fix crash on a union type including null #1106

1.3.4 (2021-02-24)

  • Fixes calls to fetchMock before initialisation #1113
  • Fix crash on a union type including null #1106

1.4.2 (2020-08-11)

  • Fix array to string conversion in ConstantsPass (#1086)
  • Fixed nullable PHP 8.0 union types (#1088, #1089)
  • Fixed support for PHP 8.0 parent type (#1088, #1089)
  • Fixed PHP 8.0 mixed type support (#1088, #1089)
  • Fixed PHP 8.0 union return types (#1088, #1089)

1.4.1 (2020-07-09)

  • Allow quick definitions to use 'at least once' expectation \Mockery::getConfiguration()->getQuickDefinitions()->shouldBeCalledAtLeastOnce(true) (#1056)
  • Added provisional support for PHP 8.0 (#1068, #1072,#1079)
  • Fix mocking methods with iterable return type without specifying a return value (#1075)

1.3.3 (2020-08-11)

  • Fix array to string conversion in ConstantsPass (#1086)
  • Fixed nullable PHP 8.0 union types (#1088)
  • Fixed support for PHP 8.0 parent type (#1088)
  • Fixed PHP 8.0 mixed type support (#1088)
  • Fixed PHP 8.0 union return types (#1088)

... (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)