Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add transcoded url meta #296

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

pranvinit
Copy link

Types of changes

What types of changes does your code introduced to project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update

Details

  1. Add a _rt_transcoded_url meta field to the attachment to save the transcoded URL.
  2. Add an editable URL form field in the media modal.
  3. Add a toggle to set Adaptive Bitrate Streaming in the transcoder settings page.
  4. WIP: Progress bar functionality.

Checklist

Put an x in the boxes that apply.

  • Lint and tests pass locally with my changes
  • I have added necessary documentation (if appropriate)

Closing issues

@pranvinit pranvinit requested a review from elifvish November 13, 2024 09:17
Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 8 errors

⚠️ 2 warnings


skipped-files

Maximum number of lines exceeded (15000):

  • assets/build/blocks/rt-player/index.js

Note that the above file(s) were not analyzed due to their length.


Powered by rtCamp's GitHub Actions Library

assets/build/blocks/rt-player/frontend.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/frontend.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/frontend.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/frontend.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/index.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/index.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/index.asset.php Outdated Show resolved Hide resolved
assets/build/blocks/rt-player/index.asset.php Outdated Show resolved Hide resolved
inc/classes/class-assets.php Show resolved Hide resolved
inc/classes/class-blocks.php Outdated Show resolved Hide resolved
Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

⚠️ 1 warning


Powered by rtCamp's GitHub Actions Library

admin/rt-transcoder-rest-routes.php Show resolved Hide resolved
rtBot
rtBot previously requested changes Nov 19, 2024
Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 1 error


Powered by rtCamp's GitHub Actions Library

admin/rt-transcoder-actions.php Outdated Show resolved Hide resolved
Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 2 errors


Powered by rtCamp's GitHub Actions Library

admin/rt-transcoder-actions.php Outdated Show resolved Hide resolved
assets/src/blocks/rt-player/index.php Show resolved Hide resolved
Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 1 error

⚠️ 3 warnings


Powered by rtCamp's GitHub Actions Library

admin/rt-transcoder-actions.php Outdated Show resolved Hide resolved
admin/rt-transcoder-actions.php Show resolved Hide resolved
admin/rt-transcoder-actions.php Show resolved Hide resolved
admin/rt-transcoder-actions.php Show resolved Hide resolved
Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

⚠️ 2 warnings


Powered by rtCamp's GitHub Actions Library

admin/rt-transcoder-actions.php Show resolved Hide resolved
admin/rt-transcoder-actions.php Show resolved Hide resolved
@rtBot rtBot dismissed their stale review November 21, 2024 07:27

Dismissing review as all inline comments are obsolete by now

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 184 errors


Powered by rtCamp's GitHub Actions Library

Posting will continue in further review(s)

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).

@@ -1,4 +1,5 @@
<?php
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: There must be no blank lines before the file comment (Squiz.Commenting.FileComment.SpacingAfterOpen).

@@ -8,36 +9,46 @@
* @subpackage Transcoder/Admin/Partials
*/

$current_page = transcoder_filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS );
$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -8,36 +9,46 @@
* @subpackage Transcoder/Admin/Partials
*/

$current_page = transcoder_filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS );
$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS);

// Check if the user has access to the transcoding service.
$usage_details = get_site_option('rt-transcoding-usage');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS);

// Check if the user has access to the transcoding service.
$usage_details = get_site_option('rt-transcoding-usage');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).


// Check if the user has access to the transcoding service.
$usage_details = get_site_option('rt-transcoding-usage');
$usage = $usage_details[$this->api_key] ?? null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

// Check if the user has access to the transcoding service.
$usage_details = get_site_option('rt-transcoding-usage');
$usage = $usage_details[$this->api_key] ?? null;
$has_access = ! empty($this->api_key) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

// Check if the user has access to the transcoding service.
$usage_details = get_site_option('rt-transcoding-usage');
$usage = $usage_details[$this->api_key] ?? null;
$has_access = ! empty($this->api_key) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

$usage_details = get_site_option('rt-transcoding-usage');
$usage = $usage_details[$this->api_key] ?? null;
$has_access = ! empty($this->api_key) &&
is_object($usage) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$usage_details = get_site_option('rt-transcoding-usage');
$usage = $usage_details[$this->api_key] ?? null;
$has_access = ! empty($this->api_key) &&
is_object($usage) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

$usage = $usage_details[$this->api_key] ?? null;
$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$usage = $usage_details[$this->api_key] ?? null;
$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
(! isset($usage->remaining) || $usage->remaining > 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after open parenthesis; 0 found (Generic.WhiteSpace.ArbitraryParenthesesSpacing.SpaceAfterOpen).

$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
(! isset($usage->remaining) || $usage->remaining > 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).

$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
(! isset($usage->remaining) || $usage->remaining > 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
(! isset($usage->remaining) || $usage->remaining > 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

$has_access = ! empty($this->api_key) &&
is_object($usage) &&
! empty($usage->status) &&
(! isset($usage->remaining) || $usage->remaining > 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before close parenthesis; 0 found (Generic.WhiteSpace.ArbitraryParenthesesSpacing.SpaceBeforeClose).

?>
<div class="wrap">
<h1 class="rtm-option-title">
<?php esc_html_e( 'Transcoder Service Settings', 'transcoder' ); ?>
<?php esc_html_e('Transcoder Service Settings', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
<div class="wrap">
<h1 class="rtm-option-title">
<?php esc_html_e( 'Transcoder Service Settings', 'transcoder' ); ?>
<?php esc_html_e('Transcoder Service Settings', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<span class="alignright by">
<a class="rt-link"
href="https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=transcoder"
target="_blank"
title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>">
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/>
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<span class="alignright by">
<a class="rt-link"
href="https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=transcoder"
target="_blank"
title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>">
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/>
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>">
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/>
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>">
<img src="<?php echo esc_url(RT_TRANSCODER_URL); ?>admin/images/rtcamp-logo.png" alt="rtCamp" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>">
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/>
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>">
<img src="<?php echo esc_url(RT_TRANSCODER_URL); ?>admin/images/rtcamp-logo.png" alt="rtCamp" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</a>
</span>
</h1>
<div id="rtt-settings_updated" class="updated settings-error notice is-dismissible hide">
<p></p>
<button type="button" class="notice-dismiss">
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'transcoder' ); ?>.</span>
<span class="screen-reader-text"><?php esc_html_e('Dismiss this notice', 'transcoder'); ?>.</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</a>
</span>
</h1>
<div id="rtt-settings_updated" class="updated settings-error notice is-dismissible hide">
<p></p>
<button type="button" class="notice-dismiss">
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'transcoder' ); ?>.</span>
<span class="screen-reader-text"><?php esc_html_e('Dismiss this notice', 'transcoder'); ?>.</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</button>
</div>
<div class="transcoder-settings-boxes-wrapper">
<div id="transcoder-settings-boxes" class="transcoder-settings-boxes-container transcoder-setting-container">
<p>
<form method="get" action="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>">
<form method="get" action="<?php echo esc_url(admin_url('admin.php')); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

</button>
</div>
<div class="transcoder-settings-boxes-wrapper">
<div id="transcoder-settings-boxes" class="transcoder-settings-boxes-container transcoder-setting-container">
<p>
<form method="get" action="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>">
<form method="get" action="<?php echo esc_url(admin_url('admin.php')); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<label for="new-api-key">
<?php esc_html_e( 'Enter License Key', 'transcoder' ); ?>
<?php esc_html_e('Enter License Key', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<label for="new-api-key">
<?php esc_html_e( 'Enter License Key', 'transcoder' ); ?>
<?php esc_html_e('Enter License Key', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<input type="hidden" name="page" value="<?php echo esc_attr( $current_page ); ?>">
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/>
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button>
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<input type="hidden" name="page" value="<?php echo esc_attr( $current_page ); ?>">
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/>
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button>
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/>
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button>
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>">
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/>
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button>
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>">
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button>
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>">
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" />
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e('Save Key', 'transcoder'); ?></button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button>
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>">
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" />
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e('Save Key', 'transcoder'); ?></button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

@@ -47,144 +58,144 @@
$enable_btn_style = 'display:none;';
$disable_btn_style = 'display:none;';

if ( $this->api_key ) {
if ($this->api_key) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -47,144 +58,144 @@
$enable_btn_style = 'display:none;';
$disable_btn_style = 'display:none;';

if ( $this->api_key ) {
if ($this->api_key) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).

$enable_btn_style = 'display:inline;';
} elseif ( $this->stored_api_key ) {
} elseif ($this->stored_api_key) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).

$enable_btn_style = 'display:inline;';
} elseif ( $this->stored_api_key ) {
} elseif ($this->stored_api_key) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).

$disable_btn_style = 'display:inline;';
}
?>
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/>
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/>
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$disable_btn_style = 'display:inline;';
}
?>
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/>
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/>
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/>
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/>
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" />
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr($disable_btn_style); ?>" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/>
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/>
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" />
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr($disable_btn_style); ?>" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Feature\Plan', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Feature\Plan', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Feature\Plan', 'transcoder'); ?>
</th>
<th>
<?php esc_html_e('Free', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

<?php esc_html_e('Feature\Plan', 'transcoder'); ?>
</th>
<th>
<?php esc_html_e('Free', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Free', 'transcoder'); ?>
</th>
<th>
<?php esc_html_e('Silver', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('Free', 'transcoder'); ?>
</th>
<th>
<?php esc_html_e('Silver', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php
<tr>
<th>
<?php esc_html_e('File Size Limit', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php
<tr>
<th>
<?php esc_html_e('File Size Limit', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('File Size Limit', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('100MB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('File Size Limit', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('100MB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('100MB', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('16GB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('100MB', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('16GB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

</tr>
<tr>
<th>
<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('5GB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('5GB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('5GB', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('100GB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('5GB', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('100GB', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('Not Available', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('Not Available', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Not Available', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('Currently not charged', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

<span class="rtm-tooltip">
<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php

esc_html_e( 'If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder' );
esc_html_e('If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</tr>
<tr valign="top">
<td scope="row">
<?php esc_html_e('Enable Adaptive Bitrate Streaming', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</tr>
<tr valign="top">
<td scope="row">
<?php esc_html_e('Enable Adaptive Bitrate Streaming', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
?>
<input type="checkbox" name="rtt_adaptive_bitrate_streaming" value="1" <?php checked($rtt_enable_adaptive_bitrate, 1); ?> <?php disabled(! $has_access); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
?>
<input type="checkbox" name="rtt_adaptive_bitrate_streaming" value="1" <?php checked($rtt_enable_adaptive_bitrate, 1); ?> <?php disabled(! $has_access); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
?>
<input type="checkbox" name="rtt_adaptive_bitrate_streaming" value="1" <?php checked($rtt_enable_adaptive_bitrate, 1); ?> <?php disabled(! $has_access); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).

<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php
esc_html_e('If enabled, Transcoder will generate multiple video files with different bitrates for adaptive streaming. This feature is only available for paid subscriptions.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php
esc_html_e('If enabled, Transcoder will generate multiple video files with different bitrates for adaptive streaming. This feature is only available for paid subscriptions.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

</tr>
<tr valign="top" class="<?php echo ! $has_access ? 'rtt-premium-feature' : ''; ?>">
<td scope="row">
<?php esc_html_e('Enable Watermark', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</tr>
<tr valign="top" class="<?php echo ! $has_access ? 'rtt-premium-feature' : ''; ?>">
<td scope="row">
<?php esc_html_e('Enable Watermark', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php
$rtt_watermark = get_option('rtt_watermark', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$rtt_watermark = get_option('rtt_watermark', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php
$rtt_watermark = get_option('rtt_watermark', false);
?>
<input type="checkbox" id="watermark-checkbox" name="rtt_watermark" value="1" <?php checked($rtt_watermark, 1); ?> <?php echo disabled( ! $has_access ); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php
$rtt_watermark = get_option('rtt_watermark', false);
?>
<input type="checkbox" id="watermark-checkbox" name="rtt_watermark" value="1" <?php checked($rtt_watermark, 1); ?> <?php echo disabled( ! $has_access ); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php
esc_html_e('If enabled, Transcoder will add a watermark to the transcoded video. This feature is only available for paid subscriptions.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php
esc_html_e('If enabled, Transcoder will add a watermark to the transcoded video. This feature is only available for paid subscriptions.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php
$rtt_watermark_text = get_option('rtt_watermark_text', '');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$rtt_watermark_text = get_option('rtt_watermark_text', '');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -283,7 +351,7 @@
echo wp_kses(
sprintf(
/* translators: 1. URL of documentation page. */
__( 'Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder' ),
__('Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -283,7 +351,7 @@
echo wp_kses(
sprintf(
/* translators: 1. URL of documentation page. */
__( 'Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder' ),
__('Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

@@ -317,41 +385,41 @@
</div>

<div class="metabox-holder transcoder-sidebar">
<?php do_action( 'rt_transcoder_before_widgets' ); ?>
<?php do_action('rt_transcoder_before_widgets'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -317,41 +385,41 @@
</div>

<div class="metabox-holder transcoder-sidebar">
<?php do_action( 'rt_transcoder_before_widgets' ); ?>
<?php do_action('rt_transcoder_before_widgets'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<div class="postbox" id="rt-spread-the-word">
<h3 class="hndle">
<span>
<?php esc_html_e( 'Spread the Word', 'transcoder' ); ?>
<?php esc_html_e('Spread the Word', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<div class="postbox" id="rt-spread-the-word">
<h3 class="hndle">
<span>
<?php esc_html_e( 'Spread the Word', 'transcoder' ); ?>
<?php esc_html_e('Spread the Word', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</span>
</h3>
<div class="inside">
<div id="social" class="rtm-social-share">
<?php

// translators: Placeholde contains link of the home url.
$message = sprintf( esc_html__( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder' ), home_url() );
$message = sprintf(esc_html__('I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder'), home_url());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</span>
</h3>
<div class="inside">
<div id="social" class="rtm-social-share">
<?php

// translators: Placeholde contains link of the home url.
$message = sprintf( esc_html__( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder' ), home_url() );
$message = sprintf(esc_html__('I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder'), home_url());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

?>
<p>
<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?>
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
<p>
<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?>
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?>
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>">
<?php esc_html_e('Post to Twitter', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?>
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>">
<?php esc_html_e('Post to Twitter', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<span class="dashicons dashicons-twitter"></span>
</a>
</p>
<p>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<span class="dashicons dashicons-twitter"></span>
</a>
</p>
<p>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>">
<?php esc_html_e('Share on Facebook', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>">
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>">
<?php esc_html_e('Share on Facebook', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<span class="dashicons dashicons-facebook"></span>
</a>
</p>
<p>
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>">
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?>
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<span class="dashicons dashicons-facebook"></span>
</a>
</p>
<p>
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>">
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?>
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>">
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?>
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>">
<?php esc_html_e('Rate on Wordpress.org', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>">
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?>
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>">
<?php esc_html_e('Rate on Wordpress.org', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

<span class="dashicons dashicons-wordpress"></span>
</a>
</p>
<p>
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>">
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?>
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<span class="dashicons dashicons-wordpress"></span>
</a>
</p>
<p>
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>">
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?>
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>">
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?>
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>">
<?php esc_html_e('Subscribe to our Feeds', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>">
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?>
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>">
<?php esc_html_e('Subscribe to our Feeds', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

@@ -361,7 +429,7 @@
<div class="postbox" id="rt-subscribe">
<h3 class="hndle">
<span>
<?php esc_html_e( 'Subscribe', 'transcoder' ); ?>
<?php esc_html_e('Subscribe', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -361,7 +429,7 @@
<div class="postbox" id="rt-subscribe">
<h3 class="hndle">
<span>
<?php esc_html_e( 'Subscribe', 'transcoder' ); ?>
<?php esc_html_e('Subscribe', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

@@ -371,9 +439,9 @@
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate"
target="_blank" novalidate>
<div class="mc-field-group">
<input type="email" value="<?php echo esc_attr( $the_current_user->user_email ); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" />
<input type="email" value="<?php echo esc_attr($the_current_user->user_email); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -371,9 +439,9 @@
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate"
target="_blank" novalidate>
<div class="mc-field-group">
<input type="email" value="<?php echo esc_attr( $the_current_user->user_email ); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" />
<input type="email" value="<?php echo esc_attr($the_current_user->user_email); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0" />
<input type="submit" value="<?php esc_attr_e( 'Subscribe', 'transcoder' ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" />
<input type="submit" value="<?php esc_attr_e('Subscribe', 'transcoder'); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0" />
<input type="submit" value="<?php esc_attr_e( 'Subscribe', 'transcoder' ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" />
<input type="submit" value="<?php esc_attr_e('Subscribe', 'transcoder'); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 68 errors

⚠️ 3 warnings


Powered by rtCamp's GitHub Actions Library

Posting will continue in further review(s)

</tr>
<tr>
<th>
<?php esc_html_e('HD Profile', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</tr>
<tr>
<th>
<?php esc_html_e('HD Profile', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('HD Profile', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('Not Available', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('HD Profile', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('Not Available', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Not Available', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('Coming Soon', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('Not Available', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('Coming Soon', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Pricing', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</tr>
<tr>
<th>
<?php esc_html_e('Pricing', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<?php esc_html_e('Pricing', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('Free', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('Pricing', 'transcoder'); ?>
</th>
<td>
<?php esc_html_e('Free', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

<?php esc_html_e('Free', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('$9/month', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<?php esc_html_e('Free', 'transcoder'); ?>
</td>
<td>
<?php esc_html_e('$9/month', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php
$button = $this->transcoding_subscription_button('free', 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$button = $this->transcoding_subscription_button('free', 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<td>
<?php
$button = $this->transcoding_subscription_button('free', 0);
echo wp_kses($button, $allowed_tags);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<td>
<?php
$button = $this->transcoding_subscription_button('free', 0);
echo wp_kses($button, $allowed_tags);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

?>
</td>
</tr>
$button = $this->transcoding_subscription_button('silver', 9);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
</td>
</tr>
$button = $this->transcoding_subscription_button('silver', 9);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
</tr>
$button = $this->transcoding_subscription_button('silver', 9);
echo wp_kses($button, $allowed_tags);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
</tr>
$button = $this->transcoding_subscription_button('silver', 9);
echo wp_kses($button, $allowed_tags);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -196,7 +207,7 @@
'i' => array(),
'strong' => array(),
);
printf( wp_kses( __( '<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder' ), $allowed_tags ) );
printf(wp_kses(__('<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder'), $allowed_tags));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -196,7 +207,7 @@
'i' => array(),
'strong' => array(),
);
printf( wp_kses( __( '<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder' ), $allowed_tags ) );
printf(wp_kses(__('<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder'), $allowed_tags));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

@@ -206,71 +217,128 @@
<form method="post" action="options.php">
<?php

settings_fields( 'rt-transcoder-settings-group' );
do_settings_sections( 'rt-transcoder-settings-group' );
settings_fields('rt-transcoder-settings-group');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -206,71 +217,128 @@
<form method="post" action="options.php">
<?php

settings_fields( 'rt-transcoder-settings-group' );
do_settings_sections( 'rt-transcoder-settings-group' );
settings_fields('rt-transcoder-settings-group');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

settings_fields( 'rt-transcoder-settings-group' );
do_settings_sections( 'rt-transcoder-settings-group' );
settings_fields('rt-transcoder-settings-group');
do_settings_sections('rt-transcoder-settings-group');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

settings_fields( 'rt-transcoder-settings-group' );
do_settings_sections( 'rt-transcoder-settings-group' );
settings_fields('rt-transcoder-settings-group');
do_settings_sections('rt-transcoder-settings-group');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

?>
<table class="form-table">
<tr valign="top">
<td scope="row">
<?php esc_html_e( 'Number of video thumbnails generated', 'transcoder' ); ?>
<?php esc_html_e('Number of video thumbnails generated', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
<table class="form-table">
<tr valign="top">
<td scope="row">
<?php esc_html_e( 'Number of video thumbnails generated', 'transcoder' ); ?>
<?php esc_html_e('Number of video thumbnails generated', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php

$number_of_thumbnails = get_option( 'number_of_thumbs', 5 );
if ( empty( $number_of_thumbnails ) ) {
$number_of_thumbnails = get_option('number_of_thumbs', 5);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php

$number_of_thumbnails = get_option( 'number_of_thumbs', 5 );
if ( empty( $number_of_thumbnails ) ) {
$number_of_thumbnails = get_option('number_of_thumbs', 5);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

$number_of_thumbnails = get_option( 'number_of_thumbs', 5 );
if ( empty( $number_of_thumbnails ) ) {
$number_of_thumbnails = get_option('number_of_thumbs', 5);
if (empty($number_of_thumbnails)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).

$number_of_thumbnails = get_option( 'number_of_thumbs', 5 );
if ( empty( $number_of_thumbnails ) ) {
$number_of_thumbnails = get_option('number_of_thumbs', 5);
if (empty($number_of_thumbnails)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$number_of_thumbnails = get_option( 'number_of_thumbs', 5 );
if ( empty( $number_of_thumbnails ) ) {
$number_of_thumbnails = get_option('number_of_thumbs', 5);
if (empty($number_of_thumbnails)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

$number_of_thumbnails = get_option( 'number_of_thumbs', 5 );
if ( empty( $number_of_thumbnails ) ) {
$number_of_thumbnails = get_option('number_of_thumbs', 5);
if (empty($number_of_thumbnails)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).

$number_of_thumbnails = 5;
}
?>
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr( $number_of_thumbnails ); ?>" min="1" max="10"/>
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr($number_of_thumbnails); ?>" min="1" max="10" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

$number_of_thumbnails = 5;
}
?>
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr( $number_of_thumbnails ); ?>" min="1" max="10"/>
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr($number_of_thumbnails); ?>" min="1" max="10" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<span class="rtm-tooltip">
<i class="dashicons dashicons-info"></i>
<span class="rtm-tip">
<?php

esc_html_e( 'This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to ​Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder' );
esc_html_e('This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to ​Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<span class="rtm-tooltip">
<i class="dashicons dashicons-info"></i>
<span class="rtm-tip">
<?php

esc_html_e( 'This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to ​Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder' );
esc_html_e('This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to ​Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

?>
</span>
</span>
</td>
</tr>
<tr valign="top">
<td scope="row">
<?php esc_html_e( 'Over-write video thumbnails after retranscoding', 'transcoder' ); ?>
<?php esc_html_e('Over-write video thumbnails after retranscoding', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
</span>
</span>
</td>
</tr>
<tr valign="top">
<td scope="row">
<?php esc_html_e( 'Over-write video thumbnails after retranscoding', 'transcoder' ); ?>
<?php esc_html_e('Over-write video thumbnails after retranscoding', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

</td>
<td>
<?php

$rtt_override_thumbnail = get_option( 'rtt_override_thumbnail', false );
$rtt_override_thumbnail = get_option('rtt_override_thumbnail', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php

$rtt_override_thumbnail = get_option( 'rtt_override_thumbnail', false );
$rtt_override_thumbnail = get_option('rtt_override_thumbnail', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

?>
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked( $rtt_override_thumbnail, 1 ); ?> />
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked($rtt_override_thumbnail, 1); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked( $rtt_override_thumbnail, 1 ); ?> />
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked($rtt_override_thumbnail, 1); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<span class="rtm-tooltip">
<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php

esc_html_e( 'If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder' );
esc_html_e('If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

<span class="rtm-tooltip">
<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php

esc_html_e( 'If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder' );
esc_html_e('If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

?>
</span>
</span>
</td>
</tr>
<tr valign="top">
<td scope="row">
<?php esc_html_e( 'Allow admin to track real-time transcoding status on user profile', 'transcoder' ); ?>
<?php esc_html_e('Allow admin to track real-time transcoding status on user profile', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
</span>
</span>
</td>
</tr>
<tr valign="top">
<td scope="row">
<?php esc_html_e( 'Allow admin to track real-time transcoding status on user profile', 'transcoder' ); ?>
<?php esc_html_e('Allow admin to track real-time transcoding status on user profile', 'transcoder'); ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php

$rtt_check_status_btn = get_option( 'rtt_client_check_status_button', false );
$rtt_check_status_btn = get_option('rtt_client_check_status_button', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php

$rtt_check_status_btn = get_option( 'rtt_client_check_status_button', false );
$rtt_check_status_btn = get_option('rtt_client_check_status_button', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

?>
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked( $rtt_check_status_btn, 1 ); ?> />
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked($rtt_check_status_btn, 1); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

?>
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked( $rtt_check_status_btn, 1 ); ?> />
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked($rtt_check_status_btn, 1); ?> />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

<span class="rtm-tooltip">
<i class="dashicons dashicons-info" style="padding-top:3px"></i>
<span class="rtm-tip">
<?php

esc_html_e( 'If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder' );
esc_html_e('If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$rtt_watermark = get_option('rtt_watermark', true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$rtt_watermark = get_option('rtt_watermark', true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

</td>
<td>
<?php
$rtt_watermark_text = get_option('rtt_watermark_text', 'EasyDAM');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

</td>
<td>
<?php
$rtt_watermark_text = get_option('rtt_watermark_text', 'EasyDAM');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

@@ -256,35 +265,44 @@ public function wp_media_transcoding( $wp_metadata, $attachment_id, $autoformat
}
}

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found).

@@ -256,35 +265,44 @@
}
}

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -256,35 +265,44 @@
}
}

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -256,35 +265,44 @@ public function wp_media_transcoding( $wp_metadata, $attachment_id, $autoformat
}
}

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning).

@@ -256,35 +265,44 @@
}
}

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

@@ -256,35 +265,44 @@
}
}

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
$rtt_watermark_text = get_option('rtt_watermark_text', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning).

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
$rtt_watermark_text = get_option('rtt_watermark_text', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

// Media settings.
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
$rtt_watermark_text = get_option('rtt_watermark_text', false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false);
$rtt_watermark = get_option('rtt_watermark', false);
$rtt_watermark_text = get_option('rtt_watermark_text', false);
$rtt_watermark_text = sanitize_text_field( $rtt_watermark_text );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning).

'force' => 0,
'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat,
'thumbnail_count' => $options_video_thumb,
'stream' => boolval($rtt_adaptive_bitrate_streaming),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

'force' => 0,
'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat,
'thumbnail_count' => $options_video_thumb,
'stream' => boolval($rtt_adaptive_bitrate_streaming),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat,
'thumbnail_count' => $options_video_thumb,
'stream' => boolval($rtt_adaptive_bitrate_streaming),
'watermark' => boolval($rtt_watermark),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat,
'thumbnail_count' => $options_video_thumb,
'stream' => boolval($rtt_adaptive_bitrate_streaming),
'watermark' => boolval($rtt_watermark),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

Copy link
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 1 error


Powered by rtCamp's GitHub Actions Library

RT_TRANSCODER_PATH . '/assets/build/blocks/easydam-player/'
);

}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose).

@rtBot
Copy link
Contributor

rtBot commented Dec 10, 2024

Total number of active review comments per pull request has been reached and some comments might not appear as a result. Please resolve some issues to see more (commit-ID: b5cff1e).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants