Posts by Luan Nicolodi • 41 points
2 posts
-
2
votes1
answer233
viewsA: PHP Code Sniffer in VS Code : How do I ignore a certain rule to avoid getting errors?
Inside the Sniffer code directory I renamed the file CodeSniffer.conf.dist for CodeSniffer.conf and within it is the config: <?php $phpCodeSnifferConfig = array ( 'default_standard' => 'PSR2',…
-
2
votes1
answer233
viewsQ: PHP Code Sniffer in VS Code : How do I ignore a certain rule to avoid getting errors?
I want to use php code Sniffer to study and at the same time force me to follow the standards of Psrs but I don’t want to follow the rule that forces me to comment on every file and every function I…