Completed
Push — master ( 2da897...c93f74 )
by Sherif
03:39
created
src/Modules/V1/Reporting/Database/Factories/ReportFactory.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(App\Modules\V1\Reporting\Report::class, function (Faker\Generator $faker) {
4
-    return [
4
+	return [
5 5
 		'id'          => $faker->randomDigitNotNull(),
6 6
 		'report_name' => $faker->randomElement(['Users Count', 'Low Stock Products', 'Active Users']),
7 7
 		'view_name'   => $faker->word(),
8 8
 		'created_at'  => $faker->dateTimeBetween('-1 years', 'now'),
9 9
 		'updated_at'  => $faker->dateTimeBetween('-1 years', 'now')
10
-    ];
10
+	];
11 11
 });
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\V1\Reporting\Report::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\V1\Reporting\Report::class, function(Faker\Generator $faker) {
4 4
     return [
5 5
 		'id'          => $faker->randomDigitNotNull(),
6 6
 		'report_name' => $faker->randomElement(['Users Count', 'Low Stock Products', 'Active Users']),
Please login to merge, or discard this patch.
src/Modules/V1/Reporting/Providers/ModuleServiceProvider.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -7,26 +7,26 @@
 block discarded – undo
7 7
 class ModuleServiceProvider extends ServiceProvider
8 8
 {
9 9
 	/**
10
-     * Bootstrap the module services.
11
-     *
12
-     * @return void
13
-     */
14
-    public function boot()
15
-    {
16
-        $this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'reporting');
17
-        $this->loadViewsFrom(__DIR__.'/../Resources/Views', 'reporting');
10
+	 * Bootstrap the module services.
11
+	 *
12
+	 * @return void
13
+	 */
14
+	public function boot()
15
+	{
16
+		$this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'reporting');
17
+		$this->loadViewsFrom(__DIR__.'/../Resources/Views', 'reporting');
18 18
         
19
-        $factory = app('Illuminate\Database\Eloquent\Factory');
20
-        $factory->load(__DIR__.'/../Database/Factories');
21
-    }
19
+		$factory = app('Illuminate\Database\Eloquent\Factory');
20
+		$factory->load(__DIR__.'/../Database/Factories');
21
+	}
22 22
 
23
-    /**
24
-     * Register the module services.
25
-     *
26
-     * @return void
27
-     */
28
-    public function register()
29
-    {
30
-        $this->app->register(RouteServiceProvider::class);
31
-    }
23
+	/**
24
+	 * Register the module services.
25
+	 *
26
+	 * @return void
27
+	 */
28
+	public function register()
29
+	{
30
+		$this->app->register(RouteServiceProvider::class);
31
+	}
32 32
 }
Please login to merge, or discard this patch.
src/Modules/V1/Notifications/Database/Factories/NotificationFactory.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(App\Modules\V1\Notifications\Notification::class, function (Faker\Generator $faker) {
4
-    return [
4
+	return [
5 5
 		'id'          => $faker->randomDigitNotNull(),
6 6
 		'key'         => $faker->randomElement(['low_stock', 'order_added', 'new_request']),
7 7
 		'item_name '  => $faker->randomElement(['User', 'Settings', 'Group']),
@@ -10,5 +10,5 @@  discard block
 block discarded – undo
10 10
 		'data'        => [],
11 11
 		'created_at'  => $faker->dateTimeBetween('-1 years', 'now'),
12 12
 		'updated_at'  => $faker->dateTimeBetween('-1 years', 'now')
13
-    ];
13
+	];
14 14
 });
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\V1\Notifications\Notification::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\V1\Notifications\Notification::class, function(Faker\Generator $faker) {
4 4
     return [
5 5
 		'id'          => $faker->randomDigitNotNull(),
6 6
 		'key'         => $faker->randomElement(['low_stock', 'order_added', 'new_request']),
Please login to merge, or discard this patch.
V1/Notifications/Database/Factories/PushNotificationDeviceFactory.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(App\Modules\V1\Notifications\PushNotificationDevice::class, function (Faker\Generator $faker) {
4
-    return [
4
+	return [
5 5
 		'id'           => $faker->randomDigitNotNull(),
6 6
 		'device_token' => $faker->sha1(),
7 7
 		'device_type ' => $faker->randomElement(['android', 'ios']),
@@ -9,5 +9,5 @@  discard block
 block discarded – undo
9 9
 		'active'       => $faker->numberBetween(0, 1),
10 10
 		'created_at'   => $faker->dateTimeBetween('-1 years', 'now'),
11 11
 		'updated_at'   => $faker->dateTimeBetween('-1 years', 'now')
12
-    ];
12
+	];
13 13
 });
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\V1\Notifications\PushNotificationDevice::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\V1\Notifications\PushNotificationDevice::class, function(Faker\Generator $faker) {
4 4
     return [
5 5
 		'id'           => $faker->randomDigitNotNull(),
6 6
 		'device_token' => $faker->sha1(),
Please login to merge, or discard this patch.
src/Modules/V1/Notifications/Providers/ModuleServiceProvider.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -7,26 +7,26 @@
 block discarded – undo
7 7
 class ModuleServiceProvider extends ServiceProvider
8 8
 {
9 9
 	/**
10
-     * Bootstrap the module services.
11
-     *
12
-     * @return void
13
-     */
14
-    public function boot()
15
-    {
16
-        $this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'notification');
17
-        $this->loadViewsFrom(__DIR__.'/../Resources/Views', 'notification');
10
+	 * Bootstrap the module services.
11
+	 *
12
+	 * @return void
13
+	 */
14
+	public function boot()
15
+	{
16
+		$this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'notification');
17
+		$this->loadViewsFrom(__DIR__.'/../Resources/Views', 'notification');
18 18
         
19
-        $factory = app('Illuminate\Database\Eloquent\Factory');
20
-        $factory->load(__DIR__.'/../Database/Factories');
21
-    }
19
+		$factory = app('Illuminate\Database\Eloquent\Factory');
20
+		$factory->load(__DIR__.'/../Database/Factories');
21
+	}
22 22
 
23
-    /**
24
-     * Register the module services.
25
-     *
26
-     * @return void
27
-     */
28
-    public function register()
29
-    {
30
-        $this->app->register(RouteServiceProvider::class);
31
-    }
23
+	/**
24
+	 * Register the module services.
25
+	 *
26
+	 * @return void
27
+	 */
28
+	public function register()
29
+	{
30
+		$this->app->register(RouteServiceProvider::class);
31
+	}
32 32
 }
Please login to merge, or discard this patch.
src/Modules/V1/Acl/Database/Factories/UserFactory.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(App\Modules\V1\Acl\AclUser::class, function (Faker\Generator $faker) {
4
-    return [
4
+	return [
5 5
 		'id'         => $faker->randomDigitNotNull(),
6 6
 		'name'       => $faker->name(),
7 7
 		'email'      => $faker->safeEmail(),
8 8
 		'password'   => bcrypt(str_random(10)),
9 9
 		'created_at' => $faker->dateTimeBetween('-1 years', 'now'),
10 10
 		'updated_at' => $faker->dateTimeBetween('-1 years', 'now')
11
-    ];
11
+	];
12 12
 });
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\V1\Acl\AclUser::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\V1\Acl\AclUser::class, function(Faker\Generator $faker) {
4 4
     return [
5 5
 		'id'         => $faker->randomDigitNotNull(),
6 6
 		'name'       => $faker->name(),
Please login to merge, or discard this patch.
src/Modules/V1/Acl/Database/Factories/GroupFactory.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(App\Modules\V1\Acl\AclGroup::class, function (Faker\Generator $faker) {
4
-    return [
4
+	return [
5 5
 		'id'         => $faker->randomDigitNotNull(),
6 6
 		'name'       => $faker->randomElement(['Admin', 'Editor', 'Publisher']),
7 7
 		'created_at' => $faker->dateTimeBetween('-1 years', 'now'),
8 8
 		'updated_at' => $faker->dateTimeBetween('-1 years', 'now')
9
-    ];
9
+	];
10 10
 });
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\V1\Acl\AclGroup::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\V1\Acl\AclGroup::class, function(Faker\Generator $faker) {
4 4
     return [
5 5
 		'id'         => $faker->randomDigitNotNull(),
6 6
 		'name'       => $faker->randomElement(['Admin', 'Editor', 'Publisher']),
Please login to merge, or discard this patch.
src/Modules/V1/Acl/Database/Factories/PermissionFactory.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(App\Modules\V1\Acl\AclPermission::class, function (Faker\Generator $faker) {
4
-    return [
4
+	return [
5 5
 		'id'         => $faker->randomDigitNotNull(),
6 6
 		'name'       => $faker->randomElement(['save', 'delete', 'find', 'paginate']),
7 7
 		'model'      => $faker->randomElement(['users', 'groups', 'settings', 'notifications']),
8 8
 		'created_at' => $faker->dateTimeBetween('-1 years', 'now'),
9 9
 		'updated_at' => $faker->dateTimeBetween('-1 years', 'now')
10
-    ];
10
+	];
11 11
 });
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\V1\Acl\AclPermission::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\V1\Acl\AclPermission::class, function(Faker\Generator $faker) {
4 4
     return [
5 5
 		'id'         => $faker->randomDigitNotNull(),
6 6
 		'name'       => $faker->randomElement(['save', 'delete', 'find', 'paginate']),
Please login to merge, or discard this patch.
src/Modules/V1/Acl/Providers/ModuleServiceProvider.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -6,27 +6,27 @@
 block discarded – undo
6 6
 
7 7
 class ModuleServiceProvider extends ServiceProvider
8 8
 {
9
-    /**
10
-     * Bootstrap the module services.
11
-     *
12
-     * @return void
13
-     */
14
-    public function boot()
15
-    {
16
-        $this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'acl');
17
-        $this->loadViewsFrom(__DIR__.'/../Resources/Views', 'acl');
9
+	/**
10
+	 * Bootstrap the module services.
11
+	 *
12
+	 * @return void
13
+	 */
14
+	public function boot()
15
+	{
16
+		$this->loadTranslationsFrom(__DIR__.'/../Resources/Lang', 'acl');
17
+		$this->loadViewsFrom(__DIR__.'/../Resources/Views', 'acl');
18 18
 
19
-        $factory = app('Illuminate\Database\Eloquent\Factory');
20
-        $factory->load(__DIR__.'/../Database/Factories');
21
-    }
19
+		$factory = app('Illuminate\Database\Eloquent\Factory');
20
+		$factory->load(__DIR__.'/../Database/Factories');
21
+	}
22 22
 
23
-    /**
24
-     * Register the module services.
25
-     *
26
-     * @return void
27
-     */
28
-    public function register()
29
-    {
30
-        $this->app->register(RouteServiceProvider::class);
31
-    }
23
+	/**
24
+	 * Register the module services.
25
+	 *
26
+	 * @return void
27
+	 */
28
+	public function register()
29
+	{
30
+		$this->app->register(RouteServiceProvider::class);
31
+	}
32 32
 }
Please login to merge, or discard this patch.