Completed
Push — master ( 8023d3...8b2ccd )
by Sherif
10:04
created
src/Modules/PushNotificationDevices/Resources/Lang/ar/errors.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your error messages.
7
-     */
5
+	/**
6
+	 * Here goes your error messages.
7
+	 */
8 8
 
9 9
 ];
Please login to merge, or discard this patch.
src/Modules/OauthClients/Resources/Lang/en/errors.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your error messages.
7
-     */
5
+	/**
6
+	 * Here goes your error messages.
7
+	 */
8 8
 
9 9
 ];
Please login to merge, or discard this patch.
src/Modules/OauthClients/Resources/Lang/ar/errors.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your error messages.
7
-     */
5
+	/**
6
+	 * Here goes your error messages.
7
+	 */
8 8
 
9 9
 ];
Please login to merge, or discard this patch.
src/Modules/Permissions/Resources/Lang/ar/errors.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your error messages.
7
-     */
5
+	/**
6
+	 * Here goes your error messages.
7
+	 */
8 8
 
9 9
 ];
Please login to merge, or discard this patch.
src/Modules/Reporting/Resources/Lang/en/errors.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your error messages.
7
-     */
5
+	/**
6
+	 * Here goes your error messages.
7
+	 */
8 8
 
9 9
 ];
Please login to merge, or discard this patch.
src/Modules/Reporting/Resources/Lang/ar/errors.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     
5
-    /**
6
-     * Here goes your error messages.
7
-     */
5
+	/**
6
+	 * Here goes your error messages.
7
+	 */
8 8
 
9 9
 ];
Please login to merge, or discard this patch.
src/ApiSkeletonServiceProvider.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -6,46 +6,46 @@
 block discarded – undo
6 6
 
7 7
 class ApiSkeletonServiceProvider extends ServiceProvider
8 8
 {
9
-    /**
10
-     * Perform post-registration booting of services.
11
-     *
12
-     * @return void
13
-     */
14
-    public function boot()
15
-    {
16
-        $this->publishes([
17
-            __DIR__.'/Modules'                               => app_path('Modules'),
18
-            __DIR__.'/Modules/Core/Resources/Assets'         => base_path('public/doc/assets'),
19
-            __DIR__.'/../lang'                               => base_path('resources/lang'),
20
-            __DIR__.'/../files/Handler.php'                  => app_path('Exceptions/Handler.php'),
21
-            __DIR__.'/../files/AuthServiceProvider.php'      => app_path('Providers/AuthServiceProvider.php'),
22
-            __DIR__.'/../files/BroadcastServiceProvider.php' => app_path('Providers/BroadcastServiceProvider.php'),
23
-            __DIR__.'/../files/Kernel.php'                   => app_path('Console/Kernel.php'),
24
-            __DIR__.'/../files/HttpKernel.php'               => app_path('Http/Kernel.php'),
25
-            __DIR__.'/../files/channels.php'                 => base_path('routes/channels.php'),
26
-            __DIR__.'/../files/phpcs.xml'                    => base_path('/phpcs.xml'),
27
-            __DIR__.'/../files/docker'                       => base_path('/docker'),
28
-            __DIR__.'/../files/docker-compose.dev.yml'       => base_path('/docker-compose.dev.yml'),
29
-            __DIR__.'/../files/docker-compose.prod.yml'      => base_path('/docker-compose.prod.yml'),
30
-            __DIR__.'/../files/.dockerignore'                => base_path('/.dockerignore'),
31
-        ]);
9
+	/**
10
+	 * Perform post-registration booting of services.
11
+	 *
12
+	 * @return void
13
+	 */
14
+	public function boot()
15
+	{
16
+		$this->publishes([
17
+			__DIR__.'/Modules'                               => app_path('Modules'),
18
+			__DIR__.'/Modules/Core/Resources/Assets'         => base_path('public/doc/assets'),
19
+			__DIR__.'/../lang'                               => base_path('resources/lang'),
20
+			__DIR__.'/../files/Handler.php'                  => app_path('Exceptions/Handler.php'),
21
+			__DIR__.'/../files/AuthServiceProvider.php'      => app_path('Providers/AuthServiceProvider.php'),
22
+			__DIR__.'/../files/BroadcastServiceProvider.php' => app_path('Providers/BroadcastServiceProvider.php'),
23
+			__DIR__.'/../files/Kernel.php'                   => app_path('Console/Kernel.php'),
24
+			__DIR__.'/../files/HttpKernel.php'               => app_path('Http/Kernel.php'),
25
+			__DIR__.'/../files/channels.php'                 => base_path('routes/channels.php'),
26
+			__DIR__.'/../files/phpcs.xml'                    => base_path('/phpcs.xml'),
27
+			__DIR__.'/../files/docker'                       => base_path('/docker'),
28
+			__DIR__.'/../files/docker-compose.dev.yml'       => base_path('/docker-compose.dev.yml'),
29
+			__DIR__.'/../files/docker-compose.prod.yml'      => base_path('/docker-compose.prod.yml'),
30
+			__DIR__.'/../files/.dockerignore'                => base_path('/.dockerignore'),
31
+		]);
32 32
 
33
-        $this->publishes([
34
-            __DIR__.'/../config/skeleton.php' => config_path('skeleton.php'),
35
-            __DIR__.'/../files/auth.php'      => config_path('auth.php'),
36
-        ], 'config');
37
-    }
33
+		$this->publishes([
34
+			__DIR__.'/../config/skeleton.php' => config_path('skeleton.php'),
35
+			__DIR__.'/../files/auth.php'      => config_path('auth.php'),
36
+		], 'config');
37
+	}
38 38
 
39
-    /**
40
-     * Register any package services.
41
-     *
42
-     * @return void
43
-     */
44
-    public function register()
45
-    {
46
-        $this->mergeConfigFrom(
47
-            __DIR__.'/../config/skeleton.php',
48
-            'skeleton'
49
-        );
50
-    }
39
+	/**
40
+	 * Register any package services.
41
+	 *
42
+	 * @return void
43
+	 */
44
+	public function register()
45
+	{
46
+		$this->mergeConfigFrom(
47
+			__DIR__.'/../config/skeleton.php',
48
+			'skeleton'
49
+		);
50
+	}
51 51
 }
Please login to merge, or discard this patch.
src/Modules/PushNotificationDevices/PushNotificationDevice.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -10,32 +10,32 @@
 block discarded – undo
10 10
 class PushNotificationDevice extends Model
11 11
 {
12 12
 
13
-    use SoftDeletes;
14
-    protected $table    = 'push_notification_devices';
15
-    protected $dates    = ['created_at', 'updated_at', 'deleted_at'];
16
-    protected $hidden   = ['deleted_at', 'access_token'];
17
-    protected $guarded  = ['id'];
18
-    protected $fillable = ['device_token', 'user_id', 'access_token'];
13
+	use SoftDeletes;
14
+	protected $table    = 'push_notification_devices';
15
+	protected $dates    = ['created_at', 'updated_at', 'deleted_at'];
16
+	protected $hidden   = ['deleted_at', 'access_token'];
17
+	protected $guarded  = ['id'];
18
+	protected $fillable = ['device_token', 'user_id', 'access_token'];
19 19
     
20
-    public function user()
21
-    {
22
-        return $this->belongsTo(AclUser::class);
23
-    }
20
+	public function user()
21
+	{
22
+		return $this->belongsTo(AclUser::class);
23
+	}
24 24
 
25
-    /**
26
-     * Encrypt the access_token attribute before
27
-     * saving it in the storage.
28
-     *
29
-     * @param string $value
30
-     */
31
-    public function setLoginTokenAttribute($value)
32
-    {
33
-        $this->attributes['access_token'] = encrypt($value);
34
-    }
25
+	/**
26
+	 * Encrypt the access_token attribute before
27
+	 * saving it in the storage.
28
+	 *
29
+	 * @param string $value
30
+	 */
31
+	public function setLoginTokenAttribute($value)
32
+	{
33
+		$this->attributes['access_token'] = encrypt($value);
34
+	}
35 35
 
36
-    public static function boot()
37
-    {
38
-        parent::boot();
39
-        PushNotificationDevice::observe(PushNotificationDeviceObserver::class);
40
-    }
36
+	public static function boot()
37
+	{
38
+		parent::boot();
39
+		PushNotificationDevice::observe(PushNotificationDeviceObserver::class);
40
+	}
41 41
 }
Please login to merge, or discard this patch.
Database/Migrations/2018_08_08_100000_create_telescope_entries_table.php 2 patches
Indentation   +69 added lines, -69 removed lines patch added patch discarded remove patch
@@ -6,82 +6,82 @@
 block discarded – undo
6 6
 
7 7
 class CreateTelescopeEntriesTable extends Migration
8 8
 {
9
-    /**
10
-     * The database schema.
11
-     *
12
-     * @var \Illuminate\Database\Schema\Builder
13
-     */
14
-    protected $schema;
9
+	/**
10
+	 * The database schema.
11
+	 *
12
+	 * @var \Illuminate\Database\Schema\Builder
13
+	 */
14
+	protected $schema;
15 15
 
16
-    /**
17
-     * Create a new migration instance.
18
-     *
19
-     * @return void
20
-     */
21
-    public function __construct()
22
-    {
23
-        $this->schema = Schema::connection($this->getConnection());
24
-    }
16
+	/**
17
+	 * Create a new migration instance.
18
+	 *
19
+	 * @return void
20
+	 */
21
+	public function __construct()
22
+	{
23
+		$this->schema = Schema::connection($this->getConnection());
24
+	}
25 25
 
26
-    /**
27
-     * Get the migration connection name.
28
-     *
29
-     * @return string|null
30
-     */
31
-    public function getConnection()
32
-    {
33
-        return config('telescope.storage.database.connection');
34
-    }
26
+	/**
27
+	 * Get the migration connection name.
28
+	 *
29
+	 * @return string|null
30
+	 */
31
+	public function getConnection()
32
+	{
33
+		return config('telescope.storage.database.connection');
34
+	}
35 35
 
36
-    /**
37
-     * Run the migrations.
38
-     *
39
-     * @return void
40
-     */
41
-    public function up()
42
-    {
43
-        $this->schema->create('telescope_entries', function (Blueprint $table) {
44
-            $table->bigIncrements('sequence');
45
-            $table->uuid('uuid');
46
-            $table->uuid('batch_id');
47
-            $table->string('family_hash')->nullable()->index();
48
-            $table->boolean('should_display_on_index')->default(true);
49
-            $table->string('type', 20);
50
-            $table->longText('content');
51
-            $table->dateTime('created_at')->nullable();
36
+	/**
37
+	 * Run the migrations.
38
+	 *
39
+	 * @return void
40
+	 */
41
+	public function up()
42
+	{
43
+		$this->schema->create('telescope_entries', function (Blueprint $table) {
44
+			$table->bigIncrements('sequence');
45
+			$table->uuid('uuid');
46
+			$table->uuid('batch_id');
47
+			$table->string('family_hash')->nullable()->index();
48
+			$table->boolean('should_display_on_index')->default(true);
49
+			$table->string('type', 20);
50
+			$table->longText('content');
51
+			$table->dateTime('created_at')->nullable();
52 52
 
53
-            $table->unique('uuid');
54
-            $table->index('batch_id');
55
-            $table->index(['type', 'should_display_on_index']);
56
-        });
53
+			$table->unique('uuid');
54
+			$table->index('batch_id');
55
+			$table->index(['type', 'should_display_on_index']);
56
+		});
57 57
 
58
-        $this->schema->create('telescope_entries_tags', function (Blueprint $table) {
59
-            $table->uuid('entry_uuid');
60
-            $table->string('tag');
58
+		$this->schema->create('telescope_entries_tags', function (Blueprint $table) {
59
+			$table->uuid('entry_uuid');
60
+			$table->string('tag');
61 61
 
62
-            $table->index(['entry_uuid', 'tag']);
63
-            $table->index('tag');
62
+			$table->index(['entry_uuid', 'tag']);
63
+			$table->index('tag');
64 64
 
65
-            $table->foreign('entry_uuid')
66
-                  ->references('uuid')
67
-                  ->on('telescope_entries')
68
-                  ->onDelete('cascade');
69
-        });
65
+			$table->foreign('entry_uuid')
66
+				  ->references('uuid')
67
+				  ->on('telescope_entries')
68
+				  ->onDelete('cascade');
69
+		});
70 70
 
71
-        $this->schema->create('telescope_monitoring', function (Blueprint $table) {
72
-            $table->string('tag');
73
-        });
74
-    }
71
+		$this->schema->create('telescope_monitoring', function (Blueprint $table) {
72
+			$table->string('tag');
73
+		});
74
+	}
75 75
 
76
-    /**
77
-     * Reverse the migrations.
78
-     *
79
-     * @return void
80
-     */
81
-    public function down()
82
-    {
83
-        $this->schema->dropIfExists('telescope_entries_tags');
84
-        $this->schema->dropIfExists('telescope_entries');
85
-        $this->schema->dropIfExists('telescope_monitoring');
86
-    }
76
+	/**
77
+	 * Reverse the migrations.
78
+	 *
79
+	 * @return void
80
+	 */
81
+	public function down()
82
+	{
83
+		$this->schema->dropIfExists('telescope_entries_tags');
84
+		$this->schema->dropIfExists('telescope_entries');
85
+		$this->schema->dropIfExists('telescope_monitoring');
86
+	}
87 87
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function up()
42 42
     {
43
-        $this->schema->create('telescope_entries', function (Blueprint $table) {
43
+        $this->schema->create('telescope_entries', function(Blueprint $table) {
44 44
             $table->bigIncrements('sequence');
45 45
             $table->uuid('uuid');
46 46
             $table->uuid('batch_id');
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             $table->index(['type', 'should_display_on_index']);
56 56
         });
57 57
 
58
-        $this->schema->create('telescope_entries_tags', function (Blueprint $table) {
58
+        $this->schema->create('telescope_entries_tags', function(Blueprint $table) {
59 59
             $table->uuid('entry_uuid');
60 60
             $table->string('tag');
61 61
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                   ->onDelete('cascade');
69 69
         });
70 70
 
71
-        $this->schema->create('telescope_monitoring', function (Blueprint $table) {
71
+        $this->schema->create('telescope_monitoring', function(Blueprint $table) {
72 72
             $table->string('tag');
73 73
         });
74 74
     }
Please login to merge, or discard this patch.