beyondcode / beyondcode/invoker-community

[Bug]: When implementing Auditable Module doesn't get picked up.

Open
#369 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### Operating system

Ubuntu 22

### Laravel Version

v9.52.15

### PHP Version

PHP 8.2.12 (cli) (built: Oct 26 2023 17:33:49) (NTS)

### Project Location

Remote (Server)

### Bug description

I am using package `owen-it/laravel-auditing` for auditing data changes in Model. But then Invoker doesn't pickup this Model files.

Example Model details in bottom

```php
namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Database\Eloquent\SoftDeletes;
use OwenIt\Auditing\Contracts\Auditable;

class Person extends Model implements Auditable
{
use HasFactory;
use \OwenIt\Auditing\Auditable;
use SoftDeletes;
...
}
```

### Steps to reproduce

Install package add it to Model file to be used. And try start project in Invoker application.

### Relevant log output

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.