Your package is fantastic and I used to find many things not suitable for a long time. Since Today I've found an issue when running the command. It scans the vendor folder and sees the incorrect code from Fortify package
1 errors found for views
1 Incorrect namespace.
['namespace' => 'Laravel\Fortify\Http\Controllers'] passed to Route::group(...) is not correct.
I have no choice but to fix it. Need to PR to their repo. So I try to ignore it but can't find the correct to do that.
Could you please suggest how to ignore folders or files that prevent scanning?
/**
* An array of root namespaces to be ignored while scanning for errors.
*/
'ignored_namespaces' => [
// 'Laravel\\Nova\\',
// 'Laravel\\Nova\\Tests\\'
'Laravel\\Fortify\\',
],
Update As I spend more time looking at your package. I've found the problem from SpyRouter
Your package is fantastic and I used to find many things not suitable for a long time. Since Today I've found an issue when running the command. It scans the vendor folder and sees the incorrect code from Fortify package
I have no choice but to fix it. Need to PR to their repo. So I try to ignore it but can't find the correct to do that. Could you please suggest how to ignore folders or files that prevent scanning?
Update As I spend more time looking at your package. I've found the problem from SpyRouter
From Above $dir always returns an empty string. Now I pin version to 1.0.287 instead of 1.0.288 to avoid an issue.