Skip to content

Reference class properties never read #5935

Closed

Description

@Yurunsoft

Bug report

I use references to improve performance, but in 1.0 it is assumed that class properties are never read

Code snippet that reproduces the problem

https://phpstan.org/r/a0cc7e7f-1bce-469f-8583-9f787a2184ba

Expected output

No errors!

Did PHPStan help you today? Did it make you happy in any way?

Yes~

Activity

  1. leoloso commented on Nov 8, 2021

    @leoloso

    I have the same problem

  2. ondrejmirtes commented on Nov 9, 2021

    @ondrejmirtes
    Member
  3. github-actions commented on Dec 11, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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