Deprecated: Piggly\Pix\Emv\Field::__construct(): Implicitly marking parameter $id as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/piggly/php-pix/src/Emv/Field.php on line 50
php version 8.4.2
symfony version: 7.1.*
Code sample
use Piggly\Pix\Parser;
use Piggly\Pix\StaticPayload;
$payload = new StaticPayload()
->setAmount($order->getPlan()->getPrice())
->setTid($order->getId())
->setDescription($order->getId())
->setPixKey(Parser::KEY_TYPE_DOCUMENT, '00000000000')
->setMerchantName('SAMPLE')
->setMerchantCity('SAMPLE');
after the first mistake the next generations will be successful
This issue is not about the deprecation message, but about it breaking the flow, the deprecation message is expected
php version 8.4.2
symfony version: 7.1.*
Code sample
after the first mistake the next generations will be successful