Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — master ( f5b2f7...edc19e )
by Cristian
02:29
created
src/resources/views/reorder.blade.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -20,42 +20,42 @@  discard block
 block discarded – undo
20 20
 
21 21
 @section('content')
22 22
 <?php
23
-  function tree_element($entry, $key, $all_entries, $crud)
24
-  {
23
+    function tree_element($entry, $key, $all_entries, $crud)
24
+    {
25 25
     if (!isset($entry->tree_element_shown)) {
26
-      // mark the element as shown
27
-      $all_entries[$key]->tree_element_shown = true;
28
-      $entry->tree_element_shown = true;
26
+        // mark the element as shown
27
+        $all_entries[$key]->tree_element_shown = true;
28
+        $entry->tree_element_shown = true;
29 29
 
30
-      // show the tree element
31
-      echo '<li id="list_'.$entry->id.'">';
32
-      echo '<div><span class="disclose"><span></span></span>'.$entry->{$crud['reorder_label']}.'</div>';
30
+        // show the tree element
31
+        echo '<li id="list_'.$entry->id.'">';
32
+        echo '<div><span class="disclose"><span></span></span>'.$entry->{$crud['reorder_label']}.'</div>';
33 33
 
34
-      // see if this element has any children
35
-      $children = [];
36
-      foreach ($all_entries as $key => $subentry) {
34
+        // see if this element has any children
35
+        $children = [];
36
+        foreach ($all_entries as $key => $subentry) {
37 37
         if ($subentry->parent_id == $entry->id) {
38
-          $children[] = $subentry;
38
+            $children[] = $subentry;
39
+        }
39 40
         }
40
-      }
41 41
 
42
-      $children = collect($children)->sortBy('lft');
42
+        $children = collect($children)->sortBy('lft');
43 43
 
44
-      // if it does have children, show them
45
-      if (count($children)) {
44
+        // if it does have children, show them
45
+        if (count($children)) {
46 46
         echo '<ol>';
47 47
         foreach ($children as $key => $child) {
48
-          $children[$key] = tree_element($child, $child->id, $all_entries, $crud);
48
+            $children[$key] = tree_element($child, $child->id, $all_entries, $crud);
49 49
         }
50 50
         echo '</ol>';
51
-      }
52
-      echo '</li>';
51
+        }
52
+        echo '</li>';
53 53
     }
54 54
 
55 55
     return $entry;
56
-  }
56
+    }
57 57
 
58
- ?>
58
+    ?>
59 59
 <div class="row">
60 60
   <div class="col-md-8 col-md-offset-2">
61 61
     @if (!(isset($crud['view_table_permission']) && !$crud['view_table_permission']))
@@ -87,15 +87,15 @@  discard block
 block discarded – undo
87 87
 
88 88
           <ol class="sortable">
89 89
             <?php
90
-              $all_entries = collect($entries->all())->sortBy('lft')->keyBy('id');
91
-              $root_entries = $all_entries->filter(function($item) {
90
+                $all_entries = collect($entries->all())->sortBy('lft')->keyBy('id');
91
+                $root_entries = $all_entries->filter(function($item) {
92 92
                 return $item->parent_id == 0;
93
-              });
94
-             ?>
93
+                });
94
+                ?>
95 95
             @foreach ($root_entries as $key => $entry)
96 96
               <?php
97 97
                 $root_entries[$key] = tree_element($entry, $key, $all_entries, $crud);
98
-              ?>
98
+                ?>
99 99
             @endforeach
100 100
           </ol>
101 101
 
Please login to merge, or discard this patch.
src/resources/lang/en/crud.php 1 patch
Indentation   +64 added lines, -64 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| Dick Crud Language Lines
8 8
 	|--------------------------------------------------------------------------
@@ -13,77 +13,77 @@  discard block
 block discarded – undo
13 13
 	|
14 14
 	*/
15 15
 
16
-	// Create form
17
-	'add' 				=> 'Add',
18
-	'back_to_all'     	=> 'Back to all ',
19
-	'cancel'     		=> 'Cancel',
20
-	'add_a_new'     	=> 'Add a new ',
16
+    // Create form
17
+    'add' 				=> 'Add',
18
+    'back_to_all'     	=> 'Back to all ',
19
+    'cancel'     		=> 'Cancel',
20
+    'add_a_new'     	=> 'Add a new ',
21 21
 
22
-		// Create form - advanced options
23
-		'after_saving' => "After saving",
24
-		'go_to_the_table_view' => "go to the table view",
25
-		'let_me_add_another_item' => "let me add another item",
26
-		'edit_the_new_item' => "edit the new item",
22
+        // Create form - advanced options
23
+        'after_saving' => "After saving",
24
+        'go_to_the_table_view' => "go to the table view",
25
+        'let_me_add_another_item' => "let me add another item",
26
+        'edit_the_new_item' => "edit the new item",
27 27
 
28
-	// Edit form
29
-	'edit'     			=> 'Edit',
30
-	'save'     			=> 'Save',
28
+    // Edit form
29
+    'edit'     			=> 'Edit',
30
+    'save'     			=> 'Save',
31 31
 
32
-	// CRUD table view
33
-	'all'     			=> 'All ',
34
-	'in_the_database'   => 'in the database',
35
-	'list'     			=> 'List',
36
-	'actions'     		=> 'Actions',
37
-	'preview'     		=> 'Preview',
38
-	'delete'     		=> 'Delete',
32
+    // CRUD table view
33
+    'all'     			=> 'All ',
34
+    'in_the_database'   => 'in the database',
35
+    'list'     			=> 'List',
36
+    'actions'     		=> 'Actions',
37
+    'preview'     		=> 'Preview',
38
+    'delete'     		=> 'Delete',
39 39
 
40
-		// Confirmation messages and bubbles
41
-		'delete_confirm'     						=> 'Are you sure you want to delete this item?',
42
-		'delete_confirmation_title'     			=> 'Item Deleted',
43
-		'delete_confirmation_message'     			=> 'The item has been deleted successfully.',
44
-		'delete_confirmation_not_title'     		=> 'NOT deleted',
45
-		'delete_confirmation_not_message'     		=> "There's been an error. Your item might not have been deleted.",
46
-		'delete_confirmation_not_deleted_title'     => 'Not deleted',
47
-		'delete_confirmation_not_deleted_message'   => 'Nothing happened. Your item is safe.',
40
+        // Confirmation messages and bubbles
41
+        'delete_confirm'     						=> 'Are you sure you want to delete this item?',
42
+        'delete_confirmation_title'     			=> 'Item Deleted',
43
+        'delete_confirmation_message'     			=> 'The item has been deleted successfully.',
44
+        'delete_confirmation_not_title'     		=> 'NOT deleted',
45
+        'delete_confirmation_not_message'     		=> "There's been an error. Your item might not have been deleted.",
46
+        'delete_confirmation_not_deleted_title'     => 'Not deleted',
47
+        'delete_confirmation_not_deleted_message'   => 'Nothing happened. Your item is safe.',
48 48
 
49
-		// DataTables translation
50
-		"emptyTable" =>     "No data available in table",
51
-	    "info" =>           "Showing _START_ to _END_ of _TOTAL_ entries",
52
-	    "infoEmpty" =>      "Showing 0 to 0 of 0 entries",
53
-	    "infoFiltered" =>   "(filtered from _MAX_ total entries)",
54
-	    "infoPostFix" =>    "",
55
-	    "thousands" =>      ",",
56
-	    "lengthMenu" =>     "_MENU_ records per page",
57
-	    "loadingRecords" => "Loading...",
58
-	    "processing" =>     "Processing...",
59
-	    "search" =>         "Search: ",
60
-	    "zeroRecords" =>    "No matching records found",
61
-	    "paginate" => [
62
-	        "first" =>      "First",
63
-	        "last" =>       "Last",
64
-	        "next" =>       "Next",
65
-	        "previous" =>   "Previous"
66
-	    ],
67
-	    "aria" => [
68
-	        "sortAscending" =>  ": activate to sort column ascending",
69
-	        "sortDescending" => ": activate to sort column descending"
70
-	    ],
49
+        // DataTables translation
50
+        "emptyTable" =>     "No data available in table",
51
+        "info" =>           "Showing _START_ to _END_ of _TOTAL_ entries",
52
+        "infoEmpty" =>      "Showing 0 to 0 of 0 entries",
53
+        "infoFiltered" =>   "(filtered from _MAX_ total entries)",
54
+        "infoPostFix" =>    "",
55
+        "thousands" =>      ",",
56
+        "lengthMenu" =>     "_MENU_ records per page",
57
+        "loadingRecords" => "Loading...",
58
+        "processing" =>     "Processing...",
59
+        "search" =>         "Search: ",
60
+        "zeroRecords" =>    "No matching records found",
61
+        "paginate" => [
62
+            "first" =>      "First",
63
+            "last" =>       "Last",
64
+            "next" =>       "Next",
65
+            "previous" =>   "Previous"
66
+        ],
67
+        "aria" => [
68
+            "sortAscending" =>  ": activate to sort column ascending",
69
+            "sortDescending" => ": activate to sort column descending"
70
+        ],
71 71
 
72
-	// global crud - errors
73
-	"unauthorized_access" => "Unauthorized access - you do not have the necessary permissions to see this page.",
72
+    // global crud - errors
73
+    "unauthorized_access" => "Unauthorized access - you do not have the necessary permissions to see this page.",
74 74
 
75
-	// global crud - success / error notification bubbles
76
-	"insert_success" => "The item has been added successfully.",
77
-	"update_success" => "The item has been modified successfully.",
75
+    // global crud - success / error notification bubbles
76
+    "insert_success" => "The item has been added successfully.",
77
+    "update_success" => "The item has been modified successfully.",
78 78
 
79
-	// CRUD reorder view
80
-	'reorder'     				=> 'Reorder',
81
-	'reorder_text'     			=> 'Use drag&drop to reorder.',
82
-	'reorder_success_title'     => 'Done',
83
-	'reorder_success_message'   => 'Your order has been saved.',
84
-	'reorder_error_title'   	=> 'Error',
85
-	'reorder_error_message'   	=> 'Your order has not been saved.',
79
+    // CRUD reorder view
80
+    'reorder'     				=> 'Reorder',
81
+    'reorder_text'     			=> 'Use drag&drop to reorder.',
82
+    'reorder_success_title'     => 'Done',
83
+    'reorder_success_message'   => 'Your order has been saved.',
84
+    'reorder_error_title'   	=> 'Error',
85
+    'reorder_error_message'   	=> 'Your order has not been saved.',
86 86
 
87
-	'rules_text'	=> "<strong>Notice: </strong> Do not translate words prefixed with colon (ex: ':number_of_items'). Those will be replaced automatically with a proper value. If translated, that stops working.",
87
+    'rules_text'	=> "<strong>Notice: </strong> Do not translate words prefixed with colon (ex: ':number_of_items'). Those will be replaced automatically with a proper value. If translated, that stops working.",
88 88
 
89 89
 ];
Please login to merge, or discard this patch.
src/resources/lang/ro/crud.php 1 patch
Indentation   +56 added lines, -56 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| Dick Crud Language Lines
8 8
 	|--------------------------------------------------------------------------
@@ -13,66 +13,66 @@  discard block
 block discarded – undo
13 13
 	|
14 14
 	*/
15 15
 
16
-	// Create form
17
-	'add' 				=> 'Adaugă',
18
-	'back_to_all'     	=> 'Înapoi la toate ',
19
-	'cancel'     		=> 'Anulează',
20
-	'add_a_new'     	=> 'Adaugă un nou ',
16
+    // Create form
17
+    'add' 				=> 'Adaugă',
18
+    'back_to_all'     	=> 'Înapoi la toate ',
19
+    'cancel'     		=> 'Anulează',
20
+    'add_a_new'     	=> 'Adaugă un nou ',
21 21
 
22
-		// Create form - advanced options
23
-		'after_saving' => "După salvare",
24
-		'go_to_the_table_view' => "du-mă la toate intrările",
25
-		'let_me_add_another_item' => "vreu să adaug o altă intrare",
26
-		'edit_the_new_item' => "vreau să editez intrarea",
22
+        // Create form - advanced options
23
+        'after_saving' => "După salvare",
24
+        'go_to_the_table_view' => "du-mă la toate intrările",
25
+        'let_me_add_another_item' => "vreu să adaug o altă intrare",
26
+        'edit_the_new_item' => "vreau să editez intrarea",
27 27
 
28
-	// Edit form
29
-	'edit'     			=> 'Editează',
30
-	'save'     			=> 'Salvează',
28
+    // Edit form
29
+    'edit'     			=> 'Editează',
30
+    'save'     			=> 'Salvează',
31 31
 
32
-	// CRUD table view
33
-	'all'     			=> 'Toate ',
34
-	'in_the_database'   => 'din baza de date',
35
-	'list'     			=> 'Listă',
36
-	'actions'     		=> 'Operațiuni',
37
-	'preview'     		=> 'Previzualizează',
38
-	'delete'     		=> 'Șterge',
32
+    // CRUD table view
33
+    'all'     			=> 'Toate ',
34
+    'in_the_database'   => 'din baza de date',
35
+    'list'     			=> 'Listă',
36
+    'actions'     		=> 'Operațiuni',
37
+    'preview'     		=> 'Previzualizează',
38
+    'delete'     		=> 'Șterge',
39 39
 
40
-		// Confirmation messages and bubbles
41
-		'delete_confirm'     						=> 'Ești sigur că vrei să ștergi această intrare?',
42
-		'delete_confirmation_title'     			=> 'Intrare ștearsă',
43
-		'delete_confirmation_message'     			=> 'Intrarea a fost ștearsă cu succes.',
44
-		'delete_confirmation_not_title'     		=> 'Eroare',
45
-		'delete_confirmation_not_message'     		=> "A avut loc o eroare. E posibil ca intrarea să nu fi fost ștearsă.",
46
-		'delete_confirmation_not_deleted_title'     => 'Intrarea nu a fost ștearsă',
47
-		'delete_confirmation_not_deleted_message'   => 'Nu am șters intrarea din baza de date.',
40
+        // Confirmation messages and bubbles
41
+        'delete_confirm'     						=> 'Ești sigur că vrei să ștergi această intrare?',
42
+        'delete_confirmation_title'     			=> 'Intrare ștearsă',
43
+        'delete_confirmation_message'     			=> 'Intrarea a fost ștearsă cu succes.',
44
+        'delete_confirmation_not_title'     		=> 'Eroare',
45
+        'delete_confirmation_not_message'     		=> "A avut loc o eroare. E posibil ca intrarea să nu fi fost ștearsă.",
46
+        'delete_confirmation_not_deleted_title'     => 'Intrarea nu a fost ștearsă',
47
+        'delete_confirmation_not_deleted_message'   => 'Nu am șters intrarea din baza de date.',
48 48
 
49
-		// DataTables translation
50
-		"emptyTable" =>     "Nu există intrări în baza de date",
51
-	    "info" =>           "Sunt afișate intrările _START_-_END_ din _TOTAL_",
52
-	    "infoEmpty" =>      "Sunt afișate toate intrarile. Adică niciuna.",
53
-	    "infoFiltered" =>   "(filtrate din _MAX_ intrări în total)",
54
-	    "infoPostFix" =>    "",
55
-	    "thousands" =>      ",",
56
-	    "lengthMenu" =>     "_MENU_ intrări pe pagină",
57
-	    "loadingRecords" => "Se încarcă...",
58
-	    "processing" =>     "Se procesează...",
59
-	    "search" =>         "Caută: ",
60
-	    "zeroRecords" =>    "Nu au fost găsite intrări care să se potrivească",
61
-	    "paginate" => [
62
-	        "first" =>      "Prima pagină",
63
-	        "last" =>       "Ultima pagină",
64
-	        "next" =>       "Pagina următoare",
65
-	        "previous" =>   "Pagina anterioară"
66
-	    ],
67
-	    "aria" => [
68
-	        "sortAscending" =>  ": activează pentru a ordona ascendent coloana",
69
-	        "sortDescending" => ": activează petnru a ordona descendent coloana"
70
-	    ],
49
+        // DataTables translation
50
+        "emptyTable" =>     "Nu există intrări în baza de date",
51
+        "info" =>           "Sunt afișate intrările _START_-_END_ din _TOTAL_",
52
+        "infoEmpty" =>      "Sunt afișate toate intrarile. Adică niciuna.",
53
+        "infoFiltered" =>   "(filtrate din _MAX_ intrări în total)",
54
+        "infoPostFix" =>    "",
55
+        "thousands" =>      ",",
56
+        "lengthMenu" =>     "_MENU_ intrări pe pagină",
57
+        "loadingRecords" => "Se încarcă...",
58
+        "processing" =>     "Se procesează...",
59
+        "search" =>         "Caută: ",
60
+        "zeroRecords" =>    "Nu au fost găsite intrări care să se potrivească",
61
+        "paginate" => [
62
+            "first" =>      "Prima pagină",
63
+            "last" =>       "Ultima pagină",
64
+            "next" =>       "Pagina următoare",
65
+            "previous" =>   "Pagina anterioară"
66
+        ],
67
+        "aria" => [
68
+            "sortAscending" =>  ": activează pentru a ordona ascendent coloana",
69
+            "sortDescending" => ": activează petnru a ordona descendent coloana"
70
+        ],
71 71
 
72
-	// global crud - errors
73
-	"unauthorized_access" => "Acces neautorizat - Nu ai permisiunea necesară pentru a accesa pagina.",
72
+    // global crud - errors
73
+    "unauthorized_access" => "Acces neautorizat - Nu ai permisiunea necesară pentru a accesa pagina.",
74 74
 
75
-	// global crud - success / error notification bubbles
76
-	"insert_success" => "Intrarea a fost adăugată cu succes.",
77
-	"update_success" => "Intrarea a fost modificată cu succes.",
75
+    // global crud - success / error notification bubbles
76
+    "insert_success" => "Intrarea a fost adăugată cu succes.",
77
+    "update_success" => "Intrarea a fost modificată cu succes.",
78 78
 ];
Please login to merge, or discard this patch.
src/resources/views-elfinder/elfinder.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     <!-- elFinder JS (REQUIRED) -->
18 18
     <script src="<?= asset($dir.'/js/elfinder.min.js') ?>"></script>
19 19
 
20
-    <?php if($locale){ ?>
20
+    <?php if ($locale) { ?>
21 21
         <!-- elFinder translation (OPTIONAL) -->
22 22
         <script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
23 23
     <?php } ?>
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $().ready(function() {
41 41
             var elf = $('#elfinder').elfinder({
42 42
                 // set your elFinder options here
43
-                <?php if($locale){ ?>
43
+                <?php if ($locale) { ?>
44 44
                     lang: '<?= $locale ?>', // locale
45 45
                 <?php } ?>
46 46
                 customData: {
Please login to merge, or discard this patch.
src/resources/views-elfinder/tinymce.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     <!-- elFinder JS (REQUIRED) -->
18 18
     <script src="<?= asset($dir.'/js/elfinder.min.js') ?>"></script>
19 19
 
20
-    <?php if($locale){ ?>
20
+    <?php if ($locale) { ?>
21 21
         <!-- elFinder translation (OPTIONAL) -->
22 22
         <script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
23 23
     <?php } ?>
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $().ready(function() {
41 41
             var elf = $('#elfinder').elfinder({
42 42
                 // set your elFinder options here
43
-                <?php if($locale){ ?>
43
+                <?php if ($locale) { ?>
44 44
                     lang: '<?= $locale ?>', // locale
45 45
                 <?php } ?>
46 46
                 customData: {
Please login to merge, or discard this patch.
src/resources/views-elfinder/ckeditor4.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     <!-- elFinder JS (REQUIRED) -->
18 18
     <script src="<?= asset($dir.'/js/elfinder.min.js') ?>"></script>
19 19
 
20
-    <?php if($locale){ ?>
20
+    <?php if ($locale) { ?>
21 21
         <!-- elFinder translation (OPTIONAL) -->
22 22
         <script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
23 23
     <?php } ?>
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $().ready(function() {
41 41
             var elf = $('#elfinder').elfinder({
42 42
                 // set your elFinder options here
43
-                <?php if($locale){ ?>
43
+                <?php if ($locale) { ?>
44 44
                     lang: '<?= $locale ?>', // locale
45 45
                 <?php } ?>
46 46
                 customData: {
Please login to merge, or discard this patch.