Showing 88 of 88 total issues
Call to undeclared function \config()
Open
Open
if (config('settings.automatic_migrations')) {
- Exclude checks
Call to method create
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::create(config('settings.table_name'), function (Blueprint $table) {
- Exclude checks
Call to method dropIfExists
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::dropIfExists(config('settings.table_name'));
- Exclude checks
Call to undeclared method \Poisa\Settings\Commands\GetCommand::line
Open
Open
$this->line(print_r($value, true));
- Exclude checks
Call to undeclared method \Poisa\Settings\Commands\SetCommand::argument
Open
Open
Settings::setKey($this->argument('key'), $this->argument('value'), $database);
- Exclude checks
Class uses undeclared trait \Illuminate\Queue\SerializesModels
Open
Open
class SettingCreated
- Exclude checks
Call to undeclared method \Poisa\Settings\Models\Settings::where
Open
Open
$data = $model->where('key', $key)->first();
- Exclude checks
Call to undeclared function \config()
Open
Open
return config('settings.serializers');
- Exclude checks
Call to undeclared method \Poisa\Settings\Models\Settings::save
Open
Open
$success = $model->save();
- Exclude checks
Call to undeclared function \config()
Open
Open
$data->setTable(config('settings.table_name'));
- Exclude checks
Class extends undeclared class \Illuminate\Console\Command
Open
Open
class SetCommand extends Command
- Exclude checks
Call to undeclared method \Poisa\Settings\Commands\SetCommand::option
Open
Open
if (!$this->option('database')) {
- Exclude checks
Call to method setKey
from undeclared class \Settings
(Did you mean class \Poisa\Settings\Settings or class \Poisa\Settings\Facades\Settings or class \Poisa\Settings\Models\Settings) Open
Open
Settings::setKey($this->argument('key'), $this->argument('value'), $database);
- Exclude checks
Class uses undeclared trait \Illuminate\Foundation\Events\Dispatchable
Open
Open
class SettingUpdated
- Exclude checks
Method \Poisa\Settings\Commands\SetCommand::handle
is declared to return mixed
but has no return value Open
Open
public function handle()
- Exclude checks
Call to undeclared function \event()
Open
Open
event(new SettingUpdated($key, $value, $connection));
- Exclude checks
Call to undeclared function \config()
Open
Open
config(['settings.serializers' => $serializers]);
- Exclude checks
Call to undeclared function \config()
Open
Open
$model->setConnection(config("settings.{$connection}_connection"));
- Exclude checks
Call to undeclared method \Poisa\Settings\Models\Settings::setTable
Open
Open
$model->setTable(config('settings.table_name'));
- Exclude checks
Call to undeclared method \Poisa\Settings\Commands\GetCommand::option
Open
Open
if (!$this->option('database')) {
- Exclude checks