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

[PHP]: Update phan/phan requirement from 5.4.4 to 5.4.5 in /vendor-bin/phan #810

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2024

Updates the requirements on phan/phan to permit the latest version.

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

Dec 26 2023, Phan 5.4.3

New Features(Analysis):

  • Automatically inherit @throws types from parent methods if enable_phpdoc_types is true (which it is by default). (#4757)

Miscellaneous:

  • Fix ldap function signatures
  • Fix a couple of array spread crash bugs
  • Extend supported dependency versions of symfony/console to also allow 7.x (#4822)
  • Require php-ast 1.1.1 or newer in PHP 8.3+ if php-ast is installed.

... (truncated)

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
  • See full diff in compare view

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)

Updates the requirements on [phan/phan](https://github.com/phan/phan) to permit the latest version.
- [Release notes](https://github.com/phan/phan/releases)
- [Changelog](https://github.com/phan/phan/blob/v5/NEWS.md)
- [Commits](phan/phan@5.4.4...5.4.5)

---
updated-dependencies:
- dependency-name: phan/phan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added [Lang] PHP [Status] Automerge Used by Kodiak to automerge PRs that pass all CI checks. [Type] Dependencies Dependabot labels Aug 14, 2024
@dependabot dependabot bot requested a review from Aerendir August 14, 2024 04:21
@kodiakhq kodiakhq bot merged commit cd6f9da into dev Aug 14, 2024
35 of 40 checks passed
@kodiakhq kodiakhq bot deleted the dependabot/composer/vendor-bin/phan/dev/phan/phan-5.4.5 branch August 14, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependabot [Lang] PHP [Status] Automerge Used by Kodiak to automerge PRs that pass all CI checks. [Type] Dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant