i migrate from Laravel 8 to Laravel 10 so i used in whole project DB::raw(). in laravel 10, DB::raw() does not work must use DB::raw()->getValue(DB::connection()->getQueryGrammar())
how can i refactor this in all of my project about 35 files and 135 usage in my project
i used this package but have an error : https://github.com/remarkablemark/rector-laravel-database-expressions
3