Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

Bumps phan/phan from 5.4.3 to 5.4.5.

Changelog

Sourced from phan/phan's changelog.

Aug 13 2024, Phan 5.4.5

New features(Analysis):

  • Emit PhanDeprecatedImplicitNullableParam for uses of implicitly nullable parameters (int $x = null instead of ?int $x = null). These can be fixed automatically via the accompanying IssueFixer. #4875

New features(CLI, Configs):

  • Add override_return_types to add types to all return types. Normally, Phan only adds inferred returned types when there is no @return type or real return type signature. This setting can be disabled on individual methods by adding @phan-hardcode-return-type to the doc comment.

    Disabled by default. This is more useful with --analyze-twice and in conjunction with PhoundPlugin to detect more callsite possibilities. See the PR description where this setting was added for more details.

    (Default: false)

    Along with this change, we are analyzing the return types of traits a bit more aggressively now. #4874

Bug fixes:

  • Fix crash in PHP 8.4 due to deprecation warning about implicitly nullable parameters #4875

Maintenance:

  • Update download links for php-ast zip files #4876

Jul 25 2024, Phan 5.4.4

New features:

  • New plugin PhoundPlugin to populate a sqlite database with callsites of all class elements. The database can be queried to find callsites of a given class element. This was actually introduced in 5.4.3, but not announced at the time. #18
  • In 5.4.4, the accuracy of PhoundPlugin is improved by giving it access to the full method, property, and constant list that phan infers for a given callsite #4865

Miscellaneous:

  • Fix DOMNode::insertBefore method signature #4837
  • Update Google\Protobuf\Internal\Message::mergeFromJsonString method signature #4840
  • Update fputcsv function signature #4856
  • Update preg_replace_* function signatures #4856
  • Update ReflectionClass::getConstants and ReflectionObject::getConstants method signatures #4861
  • Add support to column position on file location in CodeClimatePrinter #4862
Commits
  • 2b15302 release phan 5.4.5 (#4877)
  • b52a882 New phan config setting: override_return_types (#4874)
  • 26b92a7 Merge pull request #4875 from TysonAndre/php84-compat
  • 0d1e4ee Merge pull request #4876 from TysonAndre/update-download-link
  • c303365 Update download links for php zip files
  • 5f0ec9a Add automatic fixes of implicit nullable params
  • 8e22228 Add PhanDeprecatedImplicitNullableParam issue type
  • 1294d00 Merge pull request #4869 from dasl-/v5-4-5-dev
  • 242031a Back to 5.4.5-dev
  • a87bbad Merge pull request #4868 from dasl-/rel-5-4-4
  • 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 [phan/phan](https://github.com/phan/phan) from 5.4.3 to 5.4.5.
- [Release notes](https://github.com/phan/phan/releases)
- [Changelog](https://github.com/phan/phan/blob/v5/NEWS.md)
- [Commits](phan/phan@5.4.3...5.4.5)

---
updated-dependencies:
- dependency-name: phan/phan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 13, 2025
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