ThatGerber/dfp-ads

View on GitHub
includes/admin/Settings_Form.php

Summary

Maintainability
A
0 mins
Test Coverage

Method name "Settings_Form::render_form" is not in camel caps format
Open

    public function render_form() {

Opening brace of a class must be on the line after the definition
Open

class Settings_Form extends Form {

Spaces must be used to indent lines; tabs are not allowed
Open

    public function render_form() {

Spaces must be used to indent lines; tabs are not allowed
Open

                        <?php settings_fields( $this->settings_fields ); ?>

Spaces must be used to indent lines; tabs are not allowed
Open

        </div>

Spaces must be used to indent lines; tabs are not allowed
Open

                        <?php do_settings_sections( $this->settings_sections ); ?>

Spaces must be used to indent lines; tabs are not allowed
Open

        ?>

Spaces must be used to indent lines; tabs are not allowed
Open

        <?php

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

            </div>

Spaces must be used to indent lines; tabs are not allowed
Open

     * Coagulates the functions into a form on the front-end.

Spaces must be used to indent lines; tabs are not allowed
Open

     * @since  0.0.1

Spaces must be used to indent lines; tabs are not allowed
Open

     * @access public

Spaces must be used to indent lines; tabs are not allowed
Open

            <?php $this->form_title(); ?>

Spaces must be used to indent lines; tabs are not allowed
Open

            <div class="postbox ">

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

                <div class="inside">

Spaces must be used to indent lines; tabs are not allowed
Open

                        <?php $this->submit_button(); ?>

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

                    </form>

Spaces must be used to indent lines; tabs are not allowed
Open

                </div>

Spaces must be used to indent lines; tabs are not allowed
Open

        <div class="wrap">

Spaces must be used to indent lines; tabs are not allowed
Open

                    <form method="post" action="options.php">

Expected 0 spaces before closing bracket; 1 found
Open

                        <?php do_settings_sections( $this->settings_sections ); ?>

Opening brace should be on a new line
Open

    public function render_form() {

Space after opening parenthesis of function call prohibited
Open

                        <?php do_settings_sections( $this->settings_sections ); ?>

Expected 0 spaces before closing bracket; 1 found
Open

                        <?php settings_fields( $this->settings_fields ); ?>

Space after opening parenthesis of function call prohibited
Open

                        <?php settings_fields( $this->settings_fields ); ?>

Class name "Settings_Form" is not in camel caps format
Open

class Settings_Form extends Form {

There are no issues that match your filters.

Category
Status