Here some example of code
class A {
public $attribute1;
public $attribute2;
public $attribute3;
........
public $attributeN;
}
I need to know how many properties I can have in the class.
What say about this PSR or phpmd or something else standard?
With bud example I can have "how many I want", but I need to write it with PSR and phpmd.
I am searching this but still can not find.
Thanks for help.
If you plan to have attributes in such way, you definitely do it wrong.
You probably need several arrays, with all that values.