Discover/DiscoverRowBuilder.php
Method __construct
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function __construct(array $location)
{
echo '
<div id="' . $location['id_location'] . '" class="contentLocation">
<table style="width:100%" class="table" onclick="openlocation(' . $location['id_location'] . ', \'' . $location['name'] . '\')">
Missing class import via use statement (line '36', column '28'). Open
Open
$filemanager = new FileManager();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}