Add Larastan level 7 analysis
All checks were successful
Tests / Laravel tests (pull_request) Successful in 2m36s
All checks were successful
Tests / Laravel tests (pull_request) Successful in 2m36s
This commit is contained in:
@@ -9,6 +9,9 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
*/
|
||||
class EducationFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
$startDate = fake()->dateTimeBetween('-8 years', '-2 years');
|
||||
|
||||
@@ -9,6 +9,9 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
*/
|
||||
class PersonaliaFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@@ -9,6 +9,9 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
*/
|
||||
class SkillFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@@ -9,6 +9,9 @@ use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
*/
|
||||
class WorkExperienceFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
$startDate = fake()->dateTimeBetween('-8 years', '-1 year');
|
||||
|
||||
@@ -9,14 +9,14 @@ return new class extends Migration
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('skills', function (Blueprint $table) {
|
||||
$table->string('type')->default('rating')->after('id');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('skills', function (Blueprint $table) {
|
||||
$table->dropColumn('type');
|
||||
|
||||
Reference in New Issue
Block a user