phpinsights
phpinsights copied to clipboard
Sniff out deprecated accessors & mutators in Laravel
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
Library version | 1.7.0 |
Your documentation offers to add PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\DeprecatedFunctionsSniff
to sniff out deprecated functions. Is there a way to sniff out deprecated accessors & mutators in Laravel please?
So basically you want a sniff to detect usages of a accessor or mutator that you have marked deprecated?
If that is the case, then no we do not have support for that yet.