[PHP 8.2] Access to an undefined property in CRM_Contribute_Form_Contribution_Confirm
I tried to add the info to this report:
➜ civicrm-core (2b6d15a4629bff5922f35f33ce15e909ff633666) phpstan analyse -l 0 CRM/Contribute/Form/Contribution/Confirm.php
------ -------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Contribution/Confirm.php
------ -------------------------------------------------------------------------------------------------------------------------------
270 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
489 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
554 Access to an undefined property object::$_membershipBlock.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
704 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_membershipTypeValues.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
1485 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
2290 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
2301 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
2478 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
------ -------------------------------------------------------------------------------------------------------------------------------
Related: #4072 (closed)