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

Fix: PhanPossiblyUnsetPropertyOfThis - variable is unset #28714

Merged
merged 2 commits into from
Mar 9, 2024

Commits on Mar 8, 2024

  1. Fix: PhanPossiblyUnsetPropertyOfThis - variable is unset

    # Fix: PhanPossiblyUnsetPropertyOfThis - variable is unset
    
    Because the variable is unset to force recomputation, the Phan message
    is valid and the if condition is always true.
    
    Hence, the if condition was commented.
    
    Also added an initialisation to an empty array before assigning array fields.
    mdeweerd committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    a45b29b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68faf91 View commit details
    Browse the repository at this point in the history