Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic properties #39

Open
sabas opened this issue Oct 22, 2024 · 2 comments
Open

Dynamic properties #39

sabas opened this issue Oct 22, 2024 · 2 comments

Comments

@sabas
Copy link
Contributor

sabas commented Oct 22, 2024

@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

@pazion
Copy link
Contributor

pazion commented Oct 22, 2024

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

@see src/Generator/Invoic/Item.php

@sabas
Copy link
Contributor Author

sabas commented Oct 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants