includes/admin/Form.php
PHP keywords must be lowercase; expected "abstract" but found "Abstract" Open
Open
Abstract Class Form {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between opening bracket and argument "$args"; 1 found Open
Open
public function text( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
Abstract Class Form {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between argument "$title" and closing bracket; 1 found Open
Open
public function form_title( $title = null ) {
- Create a ticketCreate a ticket
- Exclude checks
PHP keywords must be lowercase; expected "class" but found "Class" Open
Open
Abstract Class Form {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between opening bracket and argument "$title"; 1 found Open
Open
public function form_title( $title = null ) {
- Create a ticketCreate a ticket
- Exclude checks
Method name "Form::render_form" is not in camel caps format Open
Open
abstract public function render_form();
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between argument "$args" and closing bracket; 1 found Open
Open
public function text( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Method name "Form::form_title" is not in camel caps format Open
Open
public function form_title( $title = null ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between opening bracket and argument "$args"; 1 found Open
Open
public function ads_dropdown( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Method name "Form::ads_dropdown" is not in camel caps format Open
Open
public function ads_dropdown( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between argument "$args" and closing bracket; 1 found Open
Open
public function checkbox( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between argument "$args" and closing bracket; 1 found Open
Open
public function ads_dropdown( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between opening bracket and argument "$args"; 1 found Open
Open
public function checkbox( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between argument "$primary" and closing bracket; 1 found Open
Open
public function button( $value, $primary = false ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces between opening bracket and argument "$value"; 1 found Open
Open
public function button( $value, $primary = false ) {
- Create a ticketCreate a ticket
- Exclude checks
Method name "Form::submit_button" is not in camel caps format Open
Open
public function submit_button() {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php if ( isset( $args['description'] ) ) { ?>
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function text( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$id = $this->options_str . '[' . $args['id'] . ']';
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Page Title
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $settings_sections;
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.2.0
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @TODO Add Labels
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
abstract public function render_form();
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param $title string Form Title
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$args = $args[0];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Coagulates the functions into a form on the front-end.
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function form_title( $title = null ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Takes specialized title, or uses default if empty.
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Echos title
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var array
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Abstract
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $values;
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.2.0
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $options_str;
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* String to call settings fields
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $settings_fields;
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
echo "<h2>$title</h2>";
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param $args array
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $title;
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* String identifier for the options
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Creates input
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$title = ( $title === null ? $this->title : $title );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Why is it so nested?
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* String to call settings sections
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Adds the title to the page.
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.2.0
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<input type="<?php _e( $field, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
name="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Simple method for accessing a submit button
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$args = $args[0];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$id = $this->options_str . '[' . $args['id'] . ']';
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$value = wp_strip_all_tags( $value, true );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<input type="submit" name="submit" id="submit" class="button <?php echo $button_type; ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</select>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php if ( isset( $args['description'] ) ) { ?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @TODO Add Labels
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.3.0
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
value="<?php _e( $value, 'dfp-ads' ); ?>"/>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Creates an HTML button.
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param $value string Value of the submit button
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function ads_dropdown( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param $primary bool Mark a button as a primary button
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$title = $args['title'];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function submit_button() {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
echo '<p><em>' . $args['description'] . '</em></p>';
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Creates checkbox input
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param $args array
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$field = $args['field'];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
id="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function button( $value, $primary = false ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->button( "Save Changes", true );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<select id="<?php _e( $id, 'dfp-ads' ); ?>" name="<?php _e( $id, 'dfp-ads' ); ?>">
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<input type="<?php _e( $field, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Button Function
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$field = $args['field'];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param $args Array
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Why is it so nested?
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Field values
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$args = $args[0];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$id = $this->options_str . '[' . $args['id'] . ']';
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Why is it so nested?
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php dfp_ad_select_options( $value ); ?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
name="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$button_type = ( $primary === false ? 'button-secondary' : 'button-primary' )
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @access public
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function checkbox( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$title = $args['title'];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
value="<?php echo $value; ?>">
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$title = $args['title'];
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Creates Select Options for widget
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @TODO Add Labels
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.2.0
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php } ?>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php _e( $checked ); ?> />
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 0.0.1
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
id="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<p><em><?php _e( $args['description'], 'dfp-ads' ); ?></em></p>
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$checked = ( $value == 'on' ? 'checked' : '' );
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
echo '<p><em>' . $args['description'] . '</em></p>';
- Create a ticketCreate a ticket
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Opening brace should be on a new line Open
Open
public function form_title( $title = null ) {
- Create a ticketCreate a ticket
- Exclude checks
Opening brace should be on a new line Open
Open
public function text( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
name="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<p><em><?php _e( $args['description'], 'dfp-ads' ); ?></em></p>
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<input type="<?php _e( $field, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
id="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
name="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<input type="<?php _e( $field, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<select id="<?php _e( $id, 'dfp-ads' ); ?>" name="<?php _e( $id, 'dfp-ads' ); ?>">
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<select id="<?php _e( $id, 'dfp-ads' ); ?>" name="<?php _e( $id, 'dfp-ads' ); ?>">
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<?php dfp_ad_select_options( $value ); ?>
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<p><em><?php _e( $args['description'], 'dfp-ads' ); ?></em></p>
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$this->button( "Save Changes", true );
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<input type="<?php _e( $field, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<select id="<?php _e( $id, 'dfp-ads' ); ?>" name="<?php _e( $id, 'dfp-ads' ); ?>">
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Opening brace should be on a new line Open
Open
public function button( $value, $primary = false ) {
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Opening brace should be on a new line Open
Open
public function ads_dropdown( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
id="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
value="<?php _e( $value, 'dfp-ads' ); ?>"/>
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php if ( isset( $args['description'] ) ) { ?>
- Create a ticketCreate a ticket
- Exclude checks
Opening brace should be on a new line Open
Open
public function checkbox( $args ) {
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
id="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( isset( $args['description'] ) ) {
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$this->button( "Save Changes", true );
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
<?php if ( isset( $args['description'] ) ) { ?>
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php _e( $checked ); ?> />
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$value = wp_strip_all_tags( $value, true );
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
id="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php dfp_ad_select_options( $value ); ?>
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
name="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<?php _e( $checked ); ?> />
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<select id="<?php _e( $id, 'dfp-ads' ); ?>" name="<?php _e( $id, 'dfp-ads' ); ?>">
- Create a ticketCreate a ticket
- Exclude checks
Opening brace should be on a new line Open
Open
public function submit_button() {
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<?php if ( isset( $args['description'] ) ) { ?>
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<input type="<?php _e( $field, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
name="<?php _e( $id, 'dfp-ads' ); ?>"
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$value = wp_strip_all_tags( $value, true );
- Create a ticketCreate a ticket
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
value="<?php _e( $value, 'dfp-ads' ); ?>"/>
- Create a ticketCreate a ticket
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$value = ( ! isset( $this->values[ $args['id'] ] ) ? '' : $this->values[ $args['id'] ] );
- Create a ticketCreate a ticket
- Exclude checks