Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2025

Bumps phan/phan from 5.5.0 to 5.5.1.

Changelog

Sourced from phan/phan's changelog.

August 6 2025, Phan 5.5.1

New features:

  • Add GitHub Issue Printer for GitHub Actions #5025
  • Check write access for property using asymmetric visibility. New issue type: PhanAccessSetPropertyWrongContext #5027

Bug fixes:

  • Fixed crash when using PHPDocRedundantPlugin on doc comment containing @throws #5003
  • Infer intersection types in instanceof with generic types #4673
  • Distinguish anonymous classes on the same line #4823
  • Do not warn for trailing commas in function calls when using the polyfill parser in PHP 8 #5008
  • Ignore @extends and @inherit used on interfaces, to avoid false positive PhanAccessWrongInheritanceCategoryInternal issues (phan does not support generic interfaces yet) #5002
  • Addressed various limitations in analysis of generic types #5013
  • Prevent generic type parameters from leaking out of function calls where some generic types aren't filled #4982
  • Do not emit issues about invalid callables for parameters taking string|callable or array|callable
  • Do not emit PhanUndeclaredConstant etc. when the constant may not be loaded yet #4855
  • Fix the issue message for CompatibleIntersectionType to state that PHP 8.1 is required, not PHP 8.0 #5017
  • Handle possibly undefined keys when merging array shapes #4864
  • Type checks involving generic classes and inheritance now detect more errors when the parent and child type parameters are not the same, and provide substituted template types in error messages. #5011
  • Support validating callable arrays where the object is of intersection type #4851
  • Handle PhanAttributeWrongTarget for constructor property promotion #4915
  • Improve handling of promoted properties also declared via doc comments #5022
  • Improve handling of never-typed functions and methods #4779
  • Improve real type inference for array union #5029

Internal changes:

  • The (@internal) Builder::RETURN_COMMENT_REGEX constant no longer matches @throws tags. Builder::RETURN_OR_THROWS_COMMENT_REGEX does now #5004
  • Throw an exception when emitting issues with an invalid format string #5005
Commits
  • 2b6a846 Merge pull request #5019 from Daimona/rel-5.5.1
  • f13cad8 Release phan 5.5.1
  • 3dda521 Merge pull request #5033 from Daimona/array-union-real
  • 31504cc Improve real type inference for array union
  • bc29b78 Merge pull request #5032 from DanielEScherzer/never-returns
  • 54ece32 Merge pull request #5030 from DanielEScherzer/promoted-doc-prop
  • 3d39263 Improve handling of promoted properties also declared via doc comments
  • 5f83d24 Add regression tests for current handling
  • 1adc5f5 Improve handling of never-typed functions and methods
  • 1216703 Add regression tests for current handling
  • 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 will merge this PR once CI passes on it, as requested by @nextcloud-command.


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.5.0 to 5.5.1.
- [Release notes](https://github.com/phan/phan/releases)
- [Changelog](https://github.com/phan/phan/blob/v5/NEWS.md)
- [Commits](phan/phan@5.5.0...5.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 1, 2025
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 1, 2025
Copy link
Contributor

@nextcloud-command nextcloud-command left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit bec8663 into main Sep 1, 2025
30 checks passed
@dependabot dependabot bot deleted the dependabot/composer/phan/phan-5.5.1 branch September 1, 2025 19:27
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants