Passed
Push — master ( 74d1e3...fd9223 )
by Andres
03:15
created
src/Migrations/2014_11_06_150317_create_sirgrimorum_cms_articles.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@
 block discarded – undo
16 16
         {
17 17
             $table->engine = 'InnoDB';
18 18
             $table->bigIncrements('id');
19
-            $table->string('nickname',50);
20
-            $table->string('scope',50);
21
-            $table->string('lang',10);
19
+            $table->string('nickname', 50);
20
+            $table->string('scope', 50);
21
+            $table->string('lang', 10);
22 22
             $table->longtext('content');
23 23
             $table->boolean('activated')->default(0);
24 24
             $table->bigInteger('user_id')->unsigned()->nullable();
25 25
             $table->timestamps();
26
-            $table->unique(array('nickname','lang','scope'));
26
+            $table->unique(array('nickname', 'lang', 'scope'));
27 27
             $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
28 28
         });
29 29
     }
Please login to merge, or discard this patch.
src/TransArticlesServiceProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         });
28 28
         Blade::directive('transarticles_tojs', function($expression) {
29 29
             $auxExpression = explode(',', str_replace(['(', ')', ' ', '"', "'"], '', $expression));
30
-            if (count($auxExpression) > 1)
30
+            if (count($auxExpression)>1)
31 31
             {
32 32
                 $scope = $auxExpression[0];
33 33
                 $basevar = $auxExpression[1];
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             return $translations->getjs($scope, $basevar);
42 42
         });
43 43
 
44
-        Artisan::command('transarticles:createseed', function () {
44
+        Artisan::command('transarticles:createseed', function() {
45 45
             $bar = $this->output->createProgressBar(2);
46 46
             $confirm = $this->choice("Do you wisth to clean the DatabaseSeeder.php list?", ['yes', 'no'], 0);
47 47
             $bar->advance();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@
 block discarded – undo
31 31
             {
32 32
                 $scope = $auxExpression[0];
33 33
                 $basevar = $auxExpression[1];
34
-            }
35
-            else
34
+            } else
36 35
             {
37 36
                 $scope = $auxExpression[0];
38 37
                 $basevar = "";
Please login to merge, or discard this patch.