EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

class AddConsultationIdColumnForConsultationTermsTable extends Migration

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

            'deleted_at' => $this->resource->deletedAt,

Call to method statement from undeclared class \DB
Open

            DB::statement('ALTER TABLE `consultation_user` DROP INDEX `consultation_user_unique`, ADD INDEX (user_id, consultation_id)');

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

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

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

            $table->dropColumn('product_id');

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource->resource
Open

            'consultation_term_id' => $this->resource->consultation_user_id,

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

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

Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource::apply
Open

        return self::apply($fields, $this);

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

            $table->dateTime('executed_at')->nullable();

Static call to undeclared method \EscolaLms\Consultations\Models\ConsultationUserPivot::query
Open

        ConsultationUserPivot::query()->whereNotNull('executed_at')->chunk(100, function ($consultationUsers) {

syntax error, unexpected 'ConsultationServiceContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private ConsultationServiceContract $consultationServiceContract;

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

Return type of author() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open

    public function author(): BelongsTo
Severity: Minor
Found in src/Models/Consultation.php by phan

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private string $name;
Severity: Critical
Found in src/Dto/FilterListDto.php by phan

Class uses undeclared trait \Illuminate\Database\Eloquent\Factories\HasFactory
Open

class ConsultationUserTerm extends Model
Severity: Critical
Found in src/Models/ConsultationUserTerm.php by phan

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected string $term;
Severity: Critical
Found in src/Dto/FinishTermDto.php by phan

Reference to constant class from undeclared class \EscolaLms\Auth\EscolaLmsAuthServiceProvider
Open

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

Call to undeclared function \response()
Open

        return response()->json([
Severity: Critical
Found in src/Exceptions/ChangeTermException.php by phan

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

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

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

    public function screenSave(ConsultationScreenSaveRequest $request): JsonResponse;
Severity
Category
Status
Source
Language