phpinsights icon indicating copy to clipboard operation
phpinsights copied to clipboard

Sniff out deprecated accessors & mutators in Laravel

Open j-dohnalek opened this issue 5 years ago • 1 comments

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?

j-dohnalek avatar Jul 30 '19 19:07 j-dohnalek

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.

olivernybroe avatar Jul 30 '19 19:07 olivernybroe