<commit_before><?php

<<<<<<< HEAD
use Carbon\Carbon;
=======
>>>>>>> master
use Phinx\Seed\AbstractSeed;

class UserSeeder extends AbstractSeed
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
<<<<<<< HEAD
//        $data = array(
//            array(
//                'email'    => '<EMAIL>',
//                'password' => <PASSWORD>('me'),
//                'created_at' => Carbon::now()
//            ),
//            array(
//                'email'    => '<EMAIL>',
//                'password' => <PASSWORD>('<PASSWORD>@!'),
//                'active' => 1,
//                'created_at' => Carbon::now(),
//            )
//        );

=======
        /*
         * Manual Seeding
         * */
//        $data = array(
//            array(
//                'username'    => 'chandan07cse',
//                'password' => <PASSWORD>('me'),
//                'email' => '<EMAIL>'
//            ),
//            array(
//                'username'    => 'freakarian07',
//                'password' => <PASSWORD>('<PASSWORD>@!'),
//                'email' => '<EMAIL>',
//            )
//        );
        /*
         * As Elham ships with faker, so we can make use of that just like below
         * */
>>>>>>> master
        $faker = Faker\Factory::create();
        $data = [];
        for ($i = 0; $i < 100; $i++) {
            $data[] = [
<<<<<<< HEAD
                'email'      => $faker->email,
                'password'      => <PASSWORD>($faker->password),
                'created_at'       => date('Y-m-d H:i:s'),
=======
                'username'      => $faker->userName,
                'password'      => <PASSWORD>($faker->password),
                'email'       => $faker->email,
>>>>>>> master
            ];
        }

        $this->insert('users', $data);
    }

//        $users = $this->table('users');
//        $users->insert($data)
//              ->save();
    //}
}
<<<<<<< HEAD
=======

>>>>>>> master
<commit_msg>UserSeeder Updated<commit_after><?php
use Carbon\Carbon;

use Phinx\Seed\AbstractSeed;

class UserSeeder extends AbstractSeed
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {

//        $data = array(
//            array(
//                'email'    => '<EMAIL>',
//                'password' => <PASSWORD>('me'),
//                'created_at' => Carbon::now()
//            ),
//            array(
//                'email'    => '<EMAIL>',
//                'password' => <PASSWORD>('<PASSWORD>@!'),
//                'active' => 1,
//                'created_at' => Carbon::now(),
//            )
//        );


        /*
         * Manual Seeding
         * */
//        $data = array(
//            array(
//                'username'    => 'chandan07cse',
//                'password' => <PASSWORD>('me'),
//                'email' => '<EMAIL>'
//            ),
//            array(
//                'username'    => 'freakarian07',
//                'password' => <PASSWORD>('<PASSWORD>@!'),
//                'email' => '<EMAIL>',
//            )
//        );
        /*
         * As Elham ships with faker, so we can make use of that just like below
         * */

        $faker = Faker\Factory::create();
        $data = [];
        for ($i = 0; $i < 100; $i++) {
            $data[] = [

                'email'      => $faker->email,
                'password'      => <PASSWORD>($faker->password),

                'username'      => $faker->userName,
                'password'      => <PASSWORD>($faker->password),

            ];
        }

        $this->insert('users', $data);
    }

//        $users = $this->table('users');
//        $users->insert($data)
//              ->save();
    //}
}


{'fraction_non_alphanumeric': 0.20112689857912788, 'fraction_numerical': 0.004409603135717786, 'mean_word_length': 1.1998922413793103, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 108, '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': '4297111', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1197, 'n_words': 224}