rhopress/yii2-rhopress

View on GitHub

Showing 158 of 158 total issues

Expected 1 newline at end of file; 0 found
Open

<?php $this->endContent() ?>

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in models/Article.php by phpcodesniffer

Whitespace found at end of line
Open

     * 

A closing tag is not permitted at the end of a PHP file
Open

<?php $this->endContent() ?>
Severity: Minor
Found in views/layouts/user/main.php by phpcodesniffer

Whitespace found at end of line
Open

     * 

Opening brace should be on a new line
Open

    public static function find() {
Severity: Minor
Found in models/User.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

        <?php if ($newComment): ?>
Severity: Minor
Found in views/article/view.php by phpcodesniffer

Opening brace should be on a new line
Open

    public static function find() {
Severity: Minor
Found in models/Article.php by phpcodesniffer

Opening brace should be on a new line
Open

    public static function find() {
Severity: Minor
Found in models/Comment.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

    <?php if ($profile): ?>
Severity: Minor
Found in views/user/index/user.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

];

Expected 1 space after closing parenthesis; found 0
Open

            <?php if ($newComment): ?>

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in models/Post.php by phpcodesniffer

A closing tag is not permitted at the end of a PHP file
Open

<?php $this->endContent() ?>

Expected 1 newline at end of file; 0 found
Open

];

Expected 1 space after closing parenthesis; found 0
Open

        <?php if ($comments = $article->childComments): ?>
Severity: Minor
Found in views/article/view.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

];

Whitespace found at end of line
Open

     * 
Severity
Category
Status
Source
Language