Showing 2,474 of 2,474 total issues
Line exceeds 120 characters; contains 152 characters Open
Open
$subscriptions = wcs_get_subscriptions_for_order(wcs_get_objects_property($order, 'id'), array('order_type' => array('parent', 'renewal')));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param int $bill_id Order object.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
if (function_exists('wcs_order_contains_subscription') && wcs_order_contains_subscription($this->order, array('any'))) {
- Exclude checks
Line exceeds 120 characters; contains 149 characters Open
Open
return $this->abort(__('Falha ao recuperar informações sobre o produto na Vindi. Verifique os dados e tente novamente.', VINDI), true);
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
sprintf('<a href="%s">', esc_url(wcs_get_edit_post_link(wcs_get_objects_property($order, 'id')))),
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return object Either an object of name value pairs for a success, or a WP_ERROR object.
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
Open
if (wcs_get_objects_property($order, 'id') == $latest_order && $subscription->can_be_updated_to('cancelled')) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param int $bill_id Order object.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $refund['last_transaction'];
- Exclude checks
Line exceeds 120 characters; contains 144 characters Open
Open
wp_register_style('vindi_woocommerce_admin_style', plugins_url('/assets/css/admin.css', plugin_dir_path(__FILE__)), array(), VINDI_VERSION);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'Não foi possível criar/atualizar o produto na Vindi!', VINDI ) ); ?></p>
- Exclude checks
Inline control structures are not allowed Open
Open
if ($product->id === null) $product->id = 63;
- Exclude checks
Inline control structures are not allowed Open
Open
if(is_user_logged_in() || get_option('woocommerce_enable_guest_checkout') == "yes") return;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
exit;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<p><strong><?php _e( 'Chave API Inválida', VINDI ); ?></strong>: <?php printf( __( 'A chave API utilizada não é uma chave válida! Por favor verifique as informações e tente novamente!', VINDI ) ); ?></p>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$request = array(
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!is_null($amount) ) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks