Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add phpdoc return type to v6 codebase to prepare v7 typehint #47551

Copy link
Copy link
Closed
@94noni

Description

@94noni
Issue body actions

Description

Based on this comment #47480 (comment) on a small PR
Friendly ping @stof @fabpot as originals reviewers


Questions:

  • should it be done massively on the whole codebase to avoid conflicts? or per components?
  • can it be automatise in some way?
  • can it be prevented to not have new code without on v6 branches? new code or ported code from v4/v5?

Thank you

Example

Symfony v4/5/6

     /**
      * @return string
      */
     public function get()
     {}

Symfony v7

     public function get(): string
     {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.