diff --git a/src/DURCModel.php b/src/DURCModel.php index 00b5256..ab3ff45 100644 --- a/src/DURCModel.php +++ b/src/DURCModel.php @@ -9,8 +9,8 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Validation\Validator; use CareSet\DURC\DURC; -use OwenIt\Auditing\Contracts\Auditable; - +//use Owen It\Auditing\Contracts\Auditable; +// Owen It is abandoned for php 8 /* This is where we put all of the functions that we want all DURC models to inherit */ diff --git a/src/Generators/LaravelEloquentGenerator.php b/src/Generators/LaravelEloquentGenerator.php index fe7611b..ed29bc6 100644 --- a/src/Generators/LaravelEloquentGenerator.php +++ b/src/Generators/LaravelEloquentGenerator.php @@ -339,8 +339,8 @@ public function $other_table_name(){ } //STARTING DURC Parent CLASS - if($is_audited){ - $audit_use_statement = ' use \OwenIt\Auditing\Auditable; // configured using is_auditable = 1 in config json'; + if(false){ //Owen It is abandonded for php 8 + $audit_use_statement = ' use \Owen It\Auditing\Auditable; // configured using is_auditable = 1 in config json'; $audit_implements = ' implements Auditable '; }else{ $audit_use_statement = ' //not auditable, configured using is_auditable = 0 in config json'; @@ -354,7 +354,7 @@ public function $other_table_name(){ $soft_delete_code_use_statememt use CareSet\DURC\DURCModel; use CareSet\DURC\DURC; -use OwenIt\Auditing\Contracts\Auditable; +//use Owen It\Auditing\Contracts\Auditable; /* Note this class was auto-generated from