includes/class-vaa.php
Missing class import via use statement (line '237', column '27'). Open
Open
$this->hooks = new VAA_View_Admin_As_Hooks();
- 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();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$notice'. Open
Open
echo '<div class="' . $notice['type'] . ' notice is-dismissible"><p>' . $notice['message'] . '</p></div>';
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$notice'. Open
Open
echo '<div class="' . $notice['type'] . ' notice is-dismissible"><p>' . $notice['message'] . '</p></div>';
- Exclude checks
Method name "_autoload" should not be prefixed with an underscore to indicate visibility Open
Open
public function _autoload( $class ) {
- Exclude checks