EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open

        $this->app->register(ModelFieldsServiceProvider::class);

Return type of rejectTerm() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function rejectTerm(ConsultationUserTermRequest $request, int $consultationTermId): JsonResponse;

Call to undeclared function \auth()
Open

        $user = auth()->user();

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

        Schema::dropIfExists('consultation_proposed_terms');

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

            $table->id();

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

            $table->id();

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

            $table->timestamps();

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

            $table->unique(['user_id', 'consultation_id'], 'consultation_user_unique');

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

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

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

class ChangeColumnsInConsultationuserTable extends Migration

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

            $table->dropColumn(['executed_at', 'executed_status']);

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

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

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

            $table->dropColumn('max_session_students');

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

        Schema::create('consultation_teachers', function (Blueprint $table) {

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

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

Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open

        $this->app->register(AuthServiceProvider::class);

Reference to constant class from undeclared class \EscolaLms\Categories\EscolaLmsCategoriesServiceProvider
Open

        $this->app->register(EscolaLmsCategoriesServiceProvider::class);

Return type of generateJitsi() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function generateJitsi(ConsultationUserTermRequest $request, int $consultationTermId): JsonResponse;

Call to method __construct from undeclared class \EscolaLms\Consultations\Rules\UserTermExist
Open

            'term' => ['required', 'date', new UserTermExist(request('consultationTermId') ? (int) request('consultationTermId') : null)],

Class extends undeclared class \Illuminate\Foundation\Http\FormRequest
Open

abstract class ConsultationRequest extends FormRequest
Severity: Critical
Found in src/Http/Requests/ConsultationRequest.php by phan
Severity
Category
Status
Source
Language