<commit_before><?php

use App\Model\Sale;
use Illuminate\Database\Seeder;
use Faker\Factory as Faker;

class SaleSeed extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        $faker = Faker::create();
        $data = [];
        foreach (range(1,100) as $index){
            $data[] = [
                'app_id'=>$faker->uuid,
                'name' => $faker->name,
                'discount' => $faker->numberBetween(0,100),
                'price' => $faker->numberBetween(0,300)
            ];
        }

        Sale::create($data);
    }
}<commit_msg>try to fix php 7 grep<commit_after><?php

use App\Model\Sale;
use Illuminate\Database\Seeder;
use Faker\Factory as Faker;

class SaleSeed extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        $faker = Faker::create();
        $data = [];
        foreach (range(1,100) as $index){
            $data[] = [
                'app_id'=>$faker->uuid,
                'name' => $faker->name,
                'discount' => $faker->randomNumber(),
                'price' => $faker->randomNumber()
            ];
        }

        Sale::create($data);
    }
}
{'fraction_non_alphanumeric': 0.15625, 'fraction_numerical': 0.01328125, 'mean_word_length': 1.572289156626506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '895213', 'n_tokens_mistral': 423, 'n_tokens_neox': 406, 'n_words': 81}