Open taufek opened 6 years ago
I'm getting violation below when running with a migration file
△ laravel> phpstan analyze -c phpstan.neon -l max database/migrations/2014_10_12_000000_create_users_table.php 1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% ------ ------------------------------------------------------------------ Line 2014_10_12_000000_create_users_table.php ------ ------------------------------------------------------------------ 19 Call to an undefined method Illuminate\Support\Fluent::unique(). ------ ------------------------------------------------------------------ [ERROR] Found 1 error
Below is my phpstan.neon content.
phpstan.neon
includes: - vendor/weebly/phpstan-laravel/extension.neon
Yep, haven't added any migration support yet. Will try to get to this soon.
I'm getting violation below when running with a migration file
Below is my
phpstan.neon
content.