webd/includes/machine_registration.php
Showing 7 of 7 total issues
Line exceeds 120 characters; contains 215 characters Open
Open
$query = $dbh->prepare('INSERT INTO manager_host (ipaddress, port, module, username, password, status_id ,user_id, active) VALUES ( :ipaddress, :port, :module, :username, :password, :status_id, :user_id, 1 );');
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(isset($_POST['submit'])){
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
if(isset($_POST['submit'])){
- Exclude checks
No space found after comma in function call Open
Open
$status_id = $rest->restconnect($rest_host,$rest_port,$rest_user,$rest_pass);
- Exclude checks
No space found after comma in function call Open
Open
$status_id = $rest->restconnect($rest_host,$rest_port,$rest_user,$rest_pass);
- Exclude checks
Expected 1 space after CATCH keyword; 0 found Open
Open
} catch(PDOException $ex) {
- Exclude checks
No space found after comma in function call Open
Open
$status_id = $rest->restconnect($rest_host,$rest_port,$rest_user,$rest_pass);
- Exclude checks