Showing 1,011 of 1,011 total issues
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::table('consultations', function (Blueprint $table) {
- Exclude checks
Call to method dropColumn
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->dropColumn('short_desc');
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('consultation_user', function (Blueprint $table) {
- Exclude checks
Call to method timestamps
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->timestamps();
- Exclude checks
Call to method foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
- Exclude checks
Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open
Open
class ChangeColumnsInConsultationuserTable extends Migration
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('consultation_terms', function (Blueprint $table) {
- Exclude checks
Call to method connection
from undeclared class \DB
Open
Open
if (DB::connection() instanceof MySqlConnection) {
- Exclude checks
Call to method foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('teacher_id')->references('id')->on('users')->onDelete('CASCADE');
- Exclude checks
Reference to constant ADMIN
from undeclared class \EscolaLms\Core\Enums\UserRole
Open
Open
$admin = Role::findOrCreate(UserRole::ADMIN, 'api');
- Exclude checks
syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
protected array $relations = [];
- Exclude checks
Class extends undeclared class \Illuminate\Database\Eloquent\Factories\Factory
Open
Open
class ConsultationFactory extends Factory
- Exclude checks
Call to method hasTable
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::hasTable('orders') &&
- Exclude checks
Call to method dateTime
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->dateTime('executed_at')->nullable();
- Exclude checks
Call to method bigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->bigInteger('user_id')->unsigned()->nullable();
- Exclude checks
Call to method create
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::create('category_consultation', function (Blueprint $table) {
- Exclude checks
Call to method table
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::table('category_consultation', function (Blueprint $table) {
- Exclude checks
Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open
Open
class AddTableRelationsUsersConsultations extends Migration
- Exclude checks
Call to method bigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->bigInteger('user_id')->unsigned();
- Exclude checks
Checking instanceof against undeclared class \Illuminate\Database\MySqlConnection
Open
Open
if (DB::connection() instanceof MySqlConnection) {
- Exclude checks