Showing 88 of 88 total issues
Opening brace should be on a new line Open
Open
public function getTypes(): array {
- Exclude checks
Call to method timestamps
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->timestamps();
- Exclude checks
Possibly zero references to use statement for classlike/namespace Serializer
(\Poisa\Settings\Serializers\Serializer)
Open
Open
use Poisa\Settings\Serializers\Serializer;
- Exclude checks
Call to undeclared function \config()
Open
Open
return config('settings.system_connection');
- Exclude checks
Call to undeclared function \config()
Open
Open
Schema::create(config('settings.table_name'), function (Blueprint $table) {
- Exclude checks
Call to method getKey
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
$value = Settings::getKey($this->argument('key'), $database);
- Exclude checks
Call to undeclared method \Poisa\Settings\Commands\GetCommand::argument
Open
Open
$value = Settings::getKey($this->argument('key'), $database);
- Exclude checks
Class uses undeclared trait \Illuminate\Foundation\Events\Dispatchable
Open
Open
class SettingCreated
- Exclude checks
Class uses undeclared trait \Illuminate\Foundation\Events\Dispatchable
Open
Open
class SettingRead
- Exclude checks
Class extends undeclared class \Illuminate\Database\Eloquent\Model
Open
Open
class Settings extends Model
- Exclude checks
Call to undeclared method \Poisa\Settings\SettingsServiceProvider::mergeConfigFrom
Open
Open
$this->mergeConfigFrom($configFile, 'settings');
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('key')->primary();
- Exclude checks
Class extends undeclared class \Illuminate\Console\Command
Open
Open
class GetCommand extends Command
- Exclude checks
Call to undeclared method \Poisa\Settings\Commands\GetCommand::option
Open
Open
$database = $this->option('database');
- Exclude checks
Class uses undeclared trait \Illuminate\Queue\SerializesModels
Open
Open
class SettingRead
- Exclude checks
Call to undeclared method \Poisa\Settings\SettingsServiceProvider::commands
Open
Open
$this->commands([
- Exclude checks
Call to undeclared function \encrypt()
Open
Open
$model->value = encrypt($serializable->serialize($value));
- Exclude checks
Call to undeclared function \decrypt()
Open
Open
$value = $serializable->unserialize(decrypt($data->value));
- Exclude checks
Call to undeclared function \event()
Open
Open
event(new SettingRead($key, $value, $connection));
- Exclude checks
Call to undeclared method \Poisa\Settings\Models\Settings::setConnection
Open
Open
$model->setConnection(config("settings.{$connection}_connection"));
- Exclude checks