log-oscon/wpstatuscake

View on GitHub
lib/Admin.php

Summary

Maintainability
A
0 mins
Test Coverage

Class file names should be based on the class name with "class-" prepended. Expected class-admin.php, but found Admin.php.
Open

<?php
Severity: Minor
Found in lib/Admin.php by phpcodesniffer

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Open

            <h1><?php \_e( 'StatusCake Settings', 'wpstatuscake' ); ?></h1>
Severity: Minor
Found in lib/Admin.php by phpcodesniffer

Filenames should be all lowercase with hyphens as word separators. Expected admin.php, but found Admin.php.
Open

<?php
Severity: Minor
Found in lib/Admin.php by phpcodesniffer

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'get_option'.
Open

            \get_option( 'statuscake_rum_id' )
Severity: Minor
Found in lib/Admin.php by phpcodesniffer

There are no issues that match your filters.

Category
Status