Scan doesn't detect @lang() strings?
Opened this issue · 0 comments
stefkes commented
When I run a fresh scan with this package it only finds strings that are echoed using the __
method and not strings using the @lang
method.
Simply changing @lang('Back to overview)
to {{ __('Back to overview') }}
and then running a scan will make the string appear among the keys.
I can work around this by using the __
method but it's a shame I have to manually change this now in all my views.
Is this expected behaviour or am I missing something?
Laravel 5.4, this package 0.3.1