Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ondrejmirtes/better-reflection from 4.3.81 to 6.11.0.1 #607

Open
wants to merge 1 commit into
base: rc
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 15, 2024

Bumps ondrejmirtes/better-reflection from 4.3.81 to 6.11.0.1.

Upgrade guide

Sourced from ondrejmirtes/better-reflection's upgrade guide.

Upgrade Documentation

This document serves as a reference to upgrade your current BetterReflection installation if improvements, deprecations or backwards compatibility (BC) breakages occur.

5.0.0

BC Breaks

  • Removed the ability to monkey patch the code.
  • Doc block parsing has been removed:
    • \Roave\BetterReflection\Reflection\ReflectionMethod::getDocBlockReturnTypes()
    • \Roave\BetterReflection\Reflection\ReflectionFunction::getDocBlockReturnTypes()
    • \Roave\BetterReflection\Reflection\ReflectionParameter::getDocBlockTypes()
    • \Roave\BetterReflection\Reflection\ReflectionParameter::getDocBlockTypeStrings()
    • \Roave\BetterReflection\Reflection\ReflectionProperty::getDocBlockTypes()
    • \Roave\BetterReflection\Reflection\ReflectionProperty::getDocBlockTypeStrings()
  • Method \Roave\BetterReflection\Identifier\IdentifierType::isMatchingReflector() has been removed.
  • All adapters are final
  • ClassReflector, FunctionReflector and ConstantReflector have been removed. Use DefaultReflector to reflect all types.
  • Adapters don't have ::export() method anymore because these methods were removed from PHP. These methods have been removed:
    • \Roave\BetterReflection\Reflection\Adapter\ReflectionClass::export()
    • \Roave\BetterReflection\Reflection\Adapter\ReflectionFunction::export()
    • \Roave\BetterReflection\Reflection\Adapter\ReflectionMethod::export()
    • \Roave\BetterReflection\Reflection\Adapter\ReflectionObject::export()
    • \Roave\BetterReflection\Reflection\Adapter\ReflectionParameter::export()
    • \Roave\BetterReflection\Reflection\Adapter\ReflectionProperty::export()
  • Casting to string is compatible with PHP:
    • string or NULL is now ?string
    • boolean is now bool
    • integer is now int
    • properties types are exported
  • CompilerContext is marked as @internal.

4.0.0

BC Breaks

  • The following classes no longer implement \Reflector. If you need something that implements \Reflector, you should wrap the BetterReflection in the appropriate \Roave\BetterReflection\Reflection\Adapter\* class.
    • \Roave\BetterReflection\Reflection\ReflectionClass
    • \Roave\BetterReflection\Reflection\ReflectionClassConstant
    • \Roave\BetterReflection\Reflection\ReflectionConstant
    • \Roave\BetterReflection\Reflection\ReflectionFunctionAbstract
    • \Roave\BetterReflection\Reflection\ReflectionFunction
    • \Roave\BetterReflection\Reflection\ReflectionMethod
    • \Roave\BetterReflection\Reflection\ReflectionObject
    • \Roave\BetterReflection\Reflection\ReflectionParameter
    • \Roave\BetterReflection\Reflection\ReflectionProperty
  • The $stubber parameter of Roave\BetterReflection\SourceLocator\Type\EvaledCodeSourceLocator and Roave\BetterReflection\SourceLocator\Type\PhpInternalSourceLocator constructors is now required.

... (truncated)

Commits
  • 8513965 [GENERATED] Renamed
  • 890befd [GENERATED] Downgraded
  • 277b960 Fix newInstance on ReflectionAttribute adapter with enum argument
  • 49b6bb9 Do not throw exceptions about wrongly extended/implemented classlike
  • 79613e9 Update baseline
  • 345e2a7 Fix getExtensionName
  • ecd85f6 Revert "Removed support for PHP4 style constructors"
  • 9451854 Fix modifiers
  • 3e00061 CalculateReflectionColumn - do not throw exceptions
  • f5f7532 Fix non-existent constants on lower PHP versions
  • Additional commits viewable in compare view

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

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [ondrejmirtes/better-reflection](https://github.com/ondrejmirtes/BetterReflection) from 4.3.81 to 6.11.0.1.
- [Release notes](https://github.com/ondrejmirtes/BetterReflection/releases)
- [Upgrade guide](https://github.com/ondrejmirtes/BetterReflection/blob/6.21.x/UPGRADE.md)
- [Commits](ondrejmirtes/BetterReflection@4.3.81...6.11.0.1)

---
updated-dependencies:
- dependency-name: ondrejmirtes/better-reflection
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

composer.lock

Package changes

Package Operation From To About
jetbrains/phpstorm-stubs upgrade dev-master 50172be dev-master 340feaa diff
ondrejmirtes/better-reflection upgrade 4.3.81 6.11.0.1 diff

Settings · Docs · Powered by Private Packagist

Copy link

codecov bot commented Jan 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6db09fc) 76.71% compared to head (41a9076) 76.71%.

Additional details and impacted files
@@            Coverage Diff            @@
##                 rc     #607   +/-   ##
=========================================
  Coverage     76.71%   76.71%           
  Complexity     1312     1312           
=========================================
  Files           165      165           
  Lines          4157     4157           
=========================================
  Hits           3189     3189           
  Misses          968      968           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

0 participants