You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I asked what kind of code triggers the deprecation notice.
Anything that creates an instance of ToolkitServiceParameter is going to generate a warning.
We've got the code wrapped, so this isn't exactly it, but it will be something like this:
A developer writes:
We ran into trouble with an RPG program call in PHP 8.2.
Exception: PHP ERROR Exception: [Creation of dynamic property ToolkitApi\\PackedDecParam::$returnParameter is deprecated][8192]; File: [\/QOpenSys\/chroots\/php8_2\/QOpenSys\/pkgs\/lib\/php\/ToolkitApi\/ToolkitServiceParameter.php]; Line Number: [66]
The constructor is setting a returnParameter that isn't declared. I added this below line below 23
protected $returnParameter;
(This is only a deprecation, but their framework elevated it into an exception. We should correct the issue now.)
The text was updated successfully, but these errors were encountered: