Showing 1,422 of 1,422 total issues

No space found after comma in function call
Open

                    array_push($values,"statustime");
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

                if ( isset( $postmortem['problem_type'] ) ){
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

                if ( isset( $postmortem['owner_team'] ) ){
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function get_array($columns, $where = array(), $table_name, $conn = null) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Line indented incorrectly; expected 20 spaces, found 16
Open

                case "!=": // not actually a range query but not supported by get_array
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Expected 1 space after CATCH keyword; 0 found
Open

        } catch(PDOException $e) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function get_events_by_date($start_date = null, $end_date = null, $conn = null) {
Severity: Minor
Found in phplib/Postmortem.php by phpcodesniffer

Expected 1 space after IF keyword; 0 found
Open

                if( isset($postmortem['tldr']) ) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

                if ( isset( $postmortem['created'] ) ){
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function get_postmortem($postmortem_id, $conn = null) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function save_forum($forum, $conn = null) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function range_query($columns, $table_name, $where = array(), $conn = null) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function get_history_event($id, $conn = null) {
Severity: Minor
Found in phplib/Postmortem.php by phpcodesniffer

Line indented incorrectly; expected 20 spaces, found 16
Open

                case ">":
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Expected 1 space after CATCH keyword; 0 found
Open

        } catch(PDOException $e) {
Severity: Minor
Found in phplib/Postmortem.php by phpcodesniffer

Line indented incorrectly; expected at least 24 spaces, found 20
Open

                    $placeholder_values[$min_ph] = $value->min_value;
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Expected 1 space after CATCH keyword; 0 found
Open

        } catch(PDOException $e) {
Severity: Minor
Found in phplib/Persistence.php by phpcodesniffer

Whitespace found at end of line
Open

        if (strcmp($user['username'], $event['modifier']) != 0) {                  
Severity: Minor
Found in phplib/Postmortem.php by phpcodesniffer

Opening brace should be on a new line
Open

    static function get_events_for_tags($tag_ids, $conn = null) {
Severity: Minor
Found in phplib/Postmortem.php by phpcodesniffer

Expected 1 space after ELSEIF keyword; 0 found
Open

                } elseif( $row['deleted'] ) {
Severity: Minor
Found in phplib/Postmortem.php by phpcodesniffer
Severity
Category
Status
Source
Language