Skip to content

Commit

Permalink
FIX: scrutinizer false positive with snake_case() (not deprecated but…
Browse files Browse the repository at this point in the history
… Laravel build in)
  • Loading branch information
pixelpeter committed Mar 15, 2019
1 parent 5b292a5 commit 47527ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IsoCodesValidationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function boot()
private function getTranslationKeyFromMethodName($name)
{
if (stripos($name, 'validate') !== false) {
return snake_case(substr($name, 8));
return /** @scrutinizer ignore-deprecated */ snake_case(substr($name, 8));
}

}
Expand Down

0 comments on commit 47527ef

Please sign in to comment.