The property $apiKeyValidated is declared dynamically in web/modules/contrib/civicccookiecontrol/src/Form/Steps/CCCLicenseInfo.php, which is deprecated from PHP 8.2 onwards.

This will cause deprecation warnings.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

littlepixiez created an issue. See original summary.

littlepixiez’s picture

Assigned: littlepixiez » Unassigned
Status: Active » Needs review
nathankg’s picture

Hi littlepixiez, Tested during a PHP8.1 to PHP8.3 update, and this patch worked as expected. Post patch apply, no dynamically declared property warning/depreciation notices. Thanks.

  • 95f698fb committed on 4.6.1
    #3546972 : Added protected property for API key validated value
    

  • 4ce13426 committed on 4.6.1
    #3546972 : update readme file
    

  • d867f136 committed on 4.5.x
    #3546972: Added protected property for API key validated value
    

  • 4a0a9eae committed on 4.5.6
    #3546972 : update readme file
    
c.moisiadis’s picture

Assigned: Unassigned » c.moisiadis

  • 4ce13426 committed on 4.6.x
    #3546972 : update readme file
    

  • 95f698fb committed on 4.6.x
    #3546972 : Added protected property for API key validated value
    

  • d867f136 committed on 4.5.6
    #3546972: Added protected property for API key validated value
    

tper’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.