Showing 1,241 of 1,241 total issues
The variable $consultation_user_id is not named in camelCase. Open
Open
public function __construct(int $consultation_user_id, int $consultation_id, string $executed_at, string $status, string $duration, ?User $author, ?string $finished_at = null, ?Collection $users = null)
{
$this->consultation_user_id = $consultation_user_id;
$this->consultation_id = $consultation_id;
$this->executed_at = $executed_at;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
Static call to undeclared method \EscolaLms\Consultations\Enum\ConsultationStatusEnum::getValues
Open
Open
'status' => $this->faker->randomElement(ConsultationStatusEnum::getValues()),
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::table('consultations', function (Blueprint $table) {
- Exclude checks
Call to undeclared function \now()
Open
Open
$now = now();
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Database\Factories\ConsultationFactory->faker
Open
Open
'description' => $this->faker->sentence,
- Exclude checks
Call to method table
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::table('consultations', function (Blueprint $table) {
- Exclude checks
Call to method hasTable
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::hasTable('orders') &&
- Exclude checks
Call to method table
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::table('consultations', function (Blueprint $table) {
- Exclude checks
Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open
Open
class RemoveRedundantColumnsFromConsultationsTable extends Migration
- Exclude checks
Call to method hasTable
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::hasTable('orders') &&
- Exclude checks
Static call to undeclared method \EscolaLms\Consultations\Models\Consultation::firstOrCreate
Open
Open
$consultation = Consultation::firstOrCreate();
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('consultations', function (Blueprint $table) {
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('duration')->nullable();
- Exclude checks
Call to method dateTime
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->dateTime('executed_at')->nullable();
- Exclude checks
Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open
Open
class ChangeNameColumnsForConsultationsTable extends Migration
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('duration')->nullable();
- Exclude checks
Static call to undeclared method \EscolaLms\Consultations\Enum\ConsultationTermStatusEnum::getValues
Open
Open
'executed_status' => $this->faker->randomElement(ConsultationTermStatusEnum::getValues()),
- Exclude checks
Call to method integer
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->integer('base_price')->nullable();
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('consultations_participants', function (Blueprint $table) {
- Exclude checks
Call to method id
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->id();
- Exclude checks