I'm getting lots of CodeClimate issue messages like Avoid using static access to class 'X' in method 'Y'.
But I don't know how to do this in another way with the key classes such as -say- Log, Mail, Carbon, etc.
Should I fix this in the code, ignore the messages, or adjust .codeclimate.yml parameters for PHPMD? For whichever case, how?
Also, my project is Open Source so code can be reviewed if necessary
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire