After updating to PHP8.2, when running for example ReadRegistersBuilder::newReadHoldingRegisters()->allFromArray($requests)->build();
I am getting a PHP Deprecated Warning
'ErrorException' with message 'Using ${var} in strings is deprecated, use {$var} instead'
Hi everyone!
After updating to PHP8.2, when running for example
ReadRegistersBuilder::newReadHoldingRegisters()->allFromArray($requests)->build();
I am getting a PHP Deprecated Warning'ErrorException' with message 'Using ${var} in strings is deprecated, use {$var} instead'
I discovered that ${} string interpolation was deprecated in PHP8.2 https://www.php.net/releases/8.2/en.php#deprecations_and_bc_breaks
I will upload a patch that fixes this problem shortly!
Environment: