attogram/attogram-contactform

View on GitHub

Showing 21 of 21 total issues

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class BaseTest extends PHPUnit\Framework\TestCase
Severity: Minor
Found in tests/BaseTest.php by phpcodesniffer

Line length
Open

- [codeclimate](https://codeclimate.com/github/attogram/attogram-contactform) engine setup
Severity: Info
Found in CHANGELOG.md by markdownlint

MD013 - Line length

Tags: line_length

Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)

This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.

This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.

You also have the option to exclude this rule for code blocks and tables. To do this, set the code_blocks and/or tables parameters to false.

Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.

Line length
Open

  [Attogram Framework Database Module](https://github.com/attogram/attogram-database), didn't you?
Severity: Info
Found in README.md by markdownlint

MD013 - Line length

Tags: line_length

Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)

This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.

This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.

You also have the option to exclude this rule for code blocks and tables. To do this, set the code_blocks and/or tables parameters to false.

Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.

Line length
Open

## [v0.0.1](https://github.com/attogram/attogram-contactform/compare/a45b633...v0.0.1) - 2016-07-15
Severity: Info
Found in CHANGELOG.md by markdownlint

MD013 - Line length

Tags: line_length

Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)

This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.

This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.

You also have the option to exclude this rule for code blocks and tables. To do this, set the code_blocks and/or tables parameters to false.

Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.

Line length
Open

## [v0.0.2](https://github.com/attogram/attogram-contactform/compare/v0.0.1...v0.0.2) - 2016-07-17
Severity: Info
Found in CHANGELOG.md by markdownlint

MD013 - Line length

Tags: line_length

Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)

This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.

This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.

You also have the option to exclude this rule for code blocks and tables. To do this, set the code_blocks and/or tables parameters to false.

Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.

Variable $this is undeclared
Open

        $this->pageFooter();
Severity: Minor
Found in actions/contact.php by phan

Call to undeclared method \BaseTest::assertTrue
Open

        $this->assertTrue(true, 'true not true!');
Severity: Critical
Found in tests/BaseTest.php by phan

Class extends undeclared class \PHPUnit\Framework\TestCase
Open

class BaseTest extends PHPUnit\Framework\TestCase
Severity: Critical
Found in tests/BaseTest.php by phan

TODO found
Open

[`[TODO]`](https://github.com/attogram/attogram-contactform/blob/master/TODO.md)
Severity: Minor
Found in README.md by fixme

Variable $this is undeclared
Open

    .'<br />Email: '.$this->webDisplay($message['email'])
Severity: Minor
Found in admin_actions/contact-admin.php by phan

Variable $this is undeclared
Open

$this->pageFooter();
Severity: Minor
Found in admin_actions/contact-admin.php by phan

Variable $this is undeclared
Open

$this->pageHeader('Contact');
Severity: Minor
Found in actions/contact.php by phan

Variable $this is undeclared
Open

    if ($this->database->queryb($sql, $bind)) {
Severity: Minor
Found in actions/contact.php by phan

Variable $this is undeclared
Open

$this->pageHeader('Contact Form Admin');
Severity: Minor
Found in admin_actions/contact-admin.php by phan

Variable $this is undeclared
Open

$messages = $this->database->query($sql);
Severity: Minor
Found in admin_actions/contact-admin.php by phan

TODO found
Open

# TODO: [Attogram Framework Contact Form Module](https://github.com/attogram/attogram-contactform)
Severity: Minor
Found in TODO.md by fixme

Variable $this is undeclared
Open

    .'<br />Agent: '.$this->webDisplay($message['agent'])
Severity: Minor
Found in admin_actions/contact-admin.php by phan

Variable $this is undeclared
Open

$this->pageFooter();
Severity: Minor
Found in actions/contact.php by phan

Variable $this is undeclared
Open

    .'<br />Message:<br />'.$this->webDisplay($message['msg'])
Severity: Minor
Found in admin_actions/contact-admin.php by phan

Possibly zero references to use statement for classlike/namespace TestCase (\PHPUnit\Framework\TestCase)
Open

use PHPUnit\Framework\TestCase;
Severity: Minor
Found in tests/BaseTest.php by phan
Severity
Category
Status
Source
Language