Because of #2904467: Plugins do not preserve integer keys when parsing annotations the core plugin system does not support using integer keys in annotations. We need to rework how services are defined so that they do not get parsed as integer keys. It would be helpful to have a utility to handle this now, but remove the utility if the linked issue is resolved in core at a later date.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | commerce_ups-annotations_do_not_support_integer_keys-2904477.patch | 3.24 KB | andyg5000 |
Comments
Comment #2
andyg5000Comment #3
joelpittet@andyg5000, could you just use numeric values and pad them to 2 to avoid the introduction of an extra workaround construct "_"?
https://secure.php.net/str_pad
Comment #4
joelpittetScratch that, discussed in slack. Could you just reference to remove this once the core issue is committed.
Comment #6
andyg5000