EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

Call to method integer from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->integer('base_price')->nullable();

Call to method hasTable from undeclared class \Illuminate\Support\Facades\Schema
Open

            if (Schema::hasTable('orders')) {

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Permission
Open

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_DELETE, 'api');

Call to method foreign from undeclared class \Illuminate\Database\Schema\Blueprint
Open

                $table->foreign('order_item_id')->on('order_items')->references('id')->cascadeOnDelete();

Class extends undeclared class \Illuminate\Foundation\Support\Providers\AuthServiceProvider (Did you mean class \EscolaLms\Consultations\AuthServiceProvider)
Open

class AuthServiceProvider extends ServiceProvider
Severity: Critical
Found in src/AuthServiceProvider.php by phan

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Permission
Open

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_CHANGE_TERM, 'api');

Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open

class RemoveNotUsedColumnsFromConsultationsTable extends Migration

Call to method dropColumn from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->dropColumn('product_id');

Call to method unsignedInteger from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->unsignedInteger('max_session_students')->default(1);

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Role
Open

        $admin = Role::findOrCreate(UserRole::ADMIN, 'api');

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Permission
Open

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_DELETE_OWN, 'api');

Call to undeclared method \EscolaLms\Consultations\AuthServiceProvider::registerPolicies
Open

        $this->registerPolicies();
Severity: Critical
Found in src/AuthServiceProvider.php by phan

Call to method bigInteger from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->bigInteger('user_id')->unsigned()->nullable();

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('consultations', function (Blueprint $table) {

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('consultations', function (Blueprint $table) {

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('consultations', function (Blueprint $table) {

Call to method renameColumn from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->renameColumn('active_to', 'finished_at');

Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open

class CreateConsultationProposedTermsTale extends Migration

Call to method timestamps from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->timestamps();

Call to method dropIfExists from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::dropIfExists('consultation_proposed_terms');
Severity
Category
Status
Source
Language