Fix Magento script to work on PHP 8.1

Job ID: 34471415

Budget: $10 – $30 USD

Hi,
I have a custom PHP Magento extension which I need to be upgrade to work with PHP 8.1
Such lines like this:
list ($key, $value) = explode(': ', $line);
return an error: Warning: Undefined array key 1

So I need someone who can update the script to PHP 8.1 - run and check everything in Magento.
The script work perfect in PHP 7.4

ONLY FINAL BIDS!!!
DO NOT BID IF YOU ARE NOT SURE THAT YOU CAN DO THIS!!!
Related categories: PHP Magento