Skip to main content
11 events
when toggle format what by license comment
Feb 16, 2023 at 0:46 vote accept Patrick Kenny
Feb 9, 2023 at 1:47 answer added Patrick Kenny timeline score: 0
Feb 8, 2023 at 18:12 history edited avpaderno CC BY-SA 4.0
removed tags from the title
Feb 3, 2023 at 18:02 comment added Clive Might well just be a bug like this one: drupal.org/project/coder/issues/3250986
Feb 3, 2023 at 16:12 comment added Jaypan Is there a particular reason for making your properties dynamic and not declare them in the class? Using dynamic properties is new to me. Usually properties are static and declared in the class, and each property has a codeblock for it. I'm not clear on the use case for dynamic properties.
Feb 3, 2023 at 15:26 history edited Patrick Kenny CC BY-SA 4.0
added 279 characters in body
Feb 3, 2023 at 15:24 comment added Patrick Kenny @cilefen I could declare the properties to fix this as well, but here I want to know how I can use an attribute with a class in a way that does not violate the coding standards.
Feb 3, 2023 at 15:22 comment added Patrick Kenny @Kevin I'm doing this with the latest version of Coder as of writing, 8.3.16. That was released in August 2022 prior to PHP 8.2, but attributes arrived in PHP 8.0, so I assume there would be some way to handle them by now.
Feb 3, 2023 at 14:55 comment added Kevin Is the coding standards file up to date for attributes, php 8.2 etc?
Feb 3, 2023 at 13:45 comment added mona lisa Is declaring the properties not an option?
Feb 3, 2023 at 5:40 history asked Patrick Kenny CC BY-SA 4.0