Completed
Pull Request — master (#4)
by Paolo
04:01
created

app/admin/bootstrap.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/*
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
4
 * Describe you custom columns and form items here.
5
 *
6
 * There is some simple examples what you can use:
7
 *
8
 *		Column::register('customColumn', '\Foo\Bar\MyCustomColumn');
9
 *
10
 * 		FormItem::register('customElement', \Foo\Bar\MyCustomElement::class);
11
 *
12
 * 		FormItem::register('otherCustomElement', function (\Eloquent $model)
13
 * 		{
14
 *			AssetManager::addStyle(URL::asset('css/style-to-include-on-page-with-this-element.css'));
15
 *			AssetManager::addScript(URL::asset('js/script-to-include-on-page-with-this-element.js'));
16
 * 			if ($model->exists)
17
 * 			{
18
 * 				return 'My edit code.';
19
 * 			}
20
 * 			return 'My custom element code';
21
 * 		});
22
 */
23
24