edifact-generator icon indicating copy to clipboard operation
edifact-generator copied to clipboard

Dynamic properties

Open sabas opened this issue 1 year ago • 2 comments

@viezel Hi can you please look into updating the trait Item to comply with php 8.2? Creation of dynamic property EDI\Generator\Orders\Item::$additionalText0 is deprecated cc @pazion

sabas avatar Oct 22 '24 13:10 sabas

As class var is created on the fly, workarounbd is to use: #[\AllowDynamicProperties]

@see src/Generator/Invoic/Item.php

pazion avatar Oct 22 '24 14:10 pazion

I'd prefer to rework the feature to make it future proof...

sabas avatar Oct 23 '24 09:10 sabas