owen-it / laravel-auditing

Record the change log from models in Laravel
https://laravel-auditing.com
MIT License
3.01k stars 387 forks source link

Fix incorrect namespace in PHPDoc return #842

Closed digistorm-developer closed 1 year ago

digistorm-developer commented 1 year ago

Hi,

PHPStan started failing with "Class OwenIt\Auditing\Contracts\OwenIt\Auditing\Contracts\Audit was not found while trying to analyse it" due to the missing leading slash on the PHPDoc @return in \OwenIt\Auditing\Contracts\Auditable::audits()

parallels999 commented 1 year ago

Duplicate of #839 Try V14

jkneepkens commented 1 year ago

We are getting also the Class OwenIt\Auditing\Contracts\OwenIt\Auditing\Contracts\Audit was not found while trying to analyse it errors when running phpstan. This should be fixed in V14 then? When will that version be released?

parallels999 commented 1 year ago

dev-v14-dev https://packagist.org/packages/owen-it/laravel-auditing#dev-v14-dev

mdpoulter commented 1 year ago

Confirmed this is working in the v14 branch, but will this be released anytime soon?