diff --git a/examples/demo.php b/examples/demo.php index 46ca7e2..cb4bf6a 100644 --- a/examples/demo.php +++ b/examples/demo.php @@ -76,13 +76,13 @@ print_r($numbers); $faker = Faker::init([ - 'vowels' => 'iea', - 'consonants' => 'dlm', - 'nextChar' => [ - 'sameChar' => 0, // percent between 0-100 - 'sameType' => 0, // percent between 0-100 - 'double' => 50, // percent between 0-100 - ] + 'vowels' => 'iea', + 'consonants' => 'dlm', + 'nextChar' => [ + 'sameChar' => 0, // percent between 0-100 + 'sameType' => 0, // percent between 0-100 + 'double' => 50, // percent between 0-100 + ] ]); $words = []; @@ -98,13 +98,13 @@ $faker = Faker::init([ - 'vowels' => 'ao', - 'consonants' => 'klmnpr', - 'nextChar' => [ - 'sameChar' => 0, // percent between 0-100 - 'sameType' => 0, // percent between 0-100 - 'double' => 0 // percent between 0-100 - ], + 'vowels' => 'ao', + 'consonants' => 'klmnpr', + 'nextChar' => [ + 'sameChar' => 0, // percent between 0-100 + 'sameType' => 0, // percent between 0-100 + 'double' => 0 // percent between 0-100 + ], ]); $names = []; @@ -114,13 +114,13 @@ $faker = Faker::init([ - 'vowels' => 'io', - 'consonants' => 'bdrstv', - 'nextChar' => [ - 'sameChar' => 0, // percent between 0-100 - 'sameType' => 0, // percent between 0-100 - 'double' => 0 // percent between 0-100 - ], + 'vowels' => 'io', + 'consonants' => 'bdrstv', + 'nextChar' => [ + 'sameChar' => 0, // percent between 0-100 + 'sameType' => 0, // percent between 0-100 + 'double' => 0 // percent between 0-100 + ], ]); $names = []; @@ -130,13 +130,13 @@ $faker = Faker::init([ - 'vowels' => 'e', - 'consonants' => 'bhdlmnkpstvz', - 'nextChar' => [ - 'sameChar' => 0, // percent between 0-100 - 'sameType' => 0, // percent between 0-100 - 'double' => 0 // percent between 0-100 - ], + 'vowels' => 'e', + 'consonants' => 'bhdlmnkpstvz', + 'nextChar' => [ + 'sameChar' => 0, // percent between 0-100 + 'sameType' => 0, // percent between 0-100 + 'double' => 0 // percent between 0-100 + ], ]); $sentence = []; @@ -147,19 +147,16 @@ $faker = Faker::init([ - 'vowels' => 'io', - 'consonants' => 'bd', - 'nextChar' => [ - 'sameChar' => 0, // percent between 0-100 - 'sameType' => 0, // percent between 0-100 - 'double' => 0 // percent between 0-100 - ], + 'vowels' => 'io', + 'consonants' => 'bd', + 'nextChar' => [ + 'sameChar' => 0, // percent between 0-100 + 'sameType' => 0, // percent between 0-100 + 'double' => 0 // percent between 0-100 + ], ]); $words = []; $words[] = strtoupper($faker->words(14, '.', 2, 4)); print_r($words); - - - diff --git a/examples/readme.php b/examples/readme.php index fbbaefe..56832f4 100644 --- a/examples/readme.php +++ b/examples/readme.php @@ -29,26 +29,26 @@ $items[] = $faker->date('2024-01-01', '2024-12-31', 'Y.m.'); // 2024.02. $faker = Faker::init([ - 'vowels' => 'e', - 'consonants' => 'bhdlmnkpstvz', - 'nextChar' => [ - 'sameChar' => 0, // percent between 0-100 - 'sameType' => 0, // percent between 0-100 - 'double' => 0 // percent between 0-100 - ], + 'vowels' => 'e', + 'consonants' => 'bhdlmnkpstvz', + 'nextChar' => [ + 'sameChar' => 0, // percent between 0-100 + 'sameType' => 0, // percent between 0-100 + 'double' => 0 // percent between 0-100 + ], ]); $items[] = $faker->text(20, 3, 10); // Sedev emeze evekem ez denebebekepep $faker = Faker::init([ - 'vowels' => 'ioue', - 'consonants' => 'nm', - 'nextChar' => [ - 'sameChar' => 70, // percent between 0-100 - 'sameType' => 70, // percent between 0-100 - 'double' => 0 // percent between 0-100 - ], + 'vowels' => 'ioue', + 'consonants' => 'nm', + 'nextChar' => [ + 'sameChar' => 70, // percent between 0-100 + 'sameType' => 70, // percent between 0-100 + 'double' => 0 // percent between 0-100 + ], ]); $items[] = $faker->text(20, 3, 10); // Sedev emeze evekem ez denebebekepep