AuthorizeNet / sample-code-php

This repository contains working code samples which demonstrate php integration with the Authorize.Net API
MIT License
175 stars 197 forks source link

Dynamic property assignment deprecated (Log.php) #181

Open scottw-finao opened 3 months ago

scottw-finao commented 3 months ago

It looks like the pre-defining of the property $sensitiveStringRegexes was omitted at the top of the class net\authorize\util\Log

class Log
{
    private $sensitiveXmlTags = NULL;
    private $sensitiveStringRegexes = NULL; // line added
    private $logFile = '';
/*....*/

In newer versions of PHP it throws a deprecated warning