We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | 'middleware' => config('backpack.base.web_middleware', 'web'), |
| 17 | 17 | 'prefix' => config('backpack.base.route_prefix'), |
| 18 | 18 | ], |
| 19 | -function () { |
|
| 19 | +function() { |
|
| 20 | 20 | // if not otherwise configured, setup the auth routes |
| 21 | 21 | if (config('backpack.base.setup_auth_routes')) { |
| 22 | 22 | // Authentication Routes... |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | // we get the first column from database |
| 63 | 63 | // that is NOT indexed (usually primary, foreign keys) |
| 64 | 64 | foreach ($columns as $columnName => $columnProperties) { |
| 65 | - if (! in_array($columnName, $indexedColumns)) { |
|
| 65 | + if (!in_array($columnName, $indexedColumns)) { |
|
| 66 | 66 | |
| 67 | 67 | //check for convention "field<_id>" in case developer didn't add foreign key constraints. |
| 68 | 68 | if (strpos($columnName, '_id') !== false) { |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | <?php |
| 29 | 29 | function tree_element($entry, $key, $all_entries, $crud) |
| 30 | 30 | { |
| 31 | - if (! isset($entry->tree_element_shown)) { |
|
| 31 | + if (!isset($entry->tree_element_shown)) { |
|
| 32 | 32 | // mark the element as shown |
| 33 | 33 | $all_entries[$key]->tree_element_shown = true; |
| 34 | 34 | $entry->tree_element_shown = true; |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | <ol class="sortable mt-0"> |
| 72 | 72 | <?php |
| 73 | 73 | $all_entries = collect($entries->all())->sortBy('lft')->keyBy($crud->getModel()->getKeyName()); |
| 74 | - $root_entries = $all_entries->filter(function ($item) { |
|
| 74 | + $root_entries = $all_entries->filter(function($item) { |
|
| 75 | 75 | return $item->parent_id == 0; |
| 76 | 76 | }); |
| 77 | 77 | foreach ($root_entries as $key => $entry) { |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | } catch (\Throwable $e) { |
| 26 | 26 | } |
| 27 | 27 | $this->assertEquals( |
| 28 | - new \Symfony\Component\HttpKernel\Exception\HttpException(500, 'Cannot register \'setModel\' macro. \'setModel()\' already exists on Backpack\CRUD\app\Library\CrudPanel\CrudPanel'), |
|
| 29 | - $e |
|
| 30 | - ); |
|
| 28 | + new \Symfony\Component\HttpKernel\Exception\HttpException(500, 'Cannot register \'setModel\' macro. \'setModel()\' already exists on Backpack\CRUD\app\Library\CrudPanel\CrudPanel'), |
|
| 29 | + $e |
|
| 30 | + ); |
|
| 31 | 31 | } |
| 32 | 32 | } |