Showing 2,474 of 2,474 total issues
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($response = $this->api->request("subscriptions/". filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT),'GET')['subscription'])
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
} else if ('PaymentMethod::BankSlip' === $method['type'] || 'PaymentMethod::OnlineBankSlip' === $method['type']) {
- Exclude checks
Inline control structures are not allowed Open
Open
if (!$response || !$response['merchant'])
- Exclude checks
Inline control structures are not allowed Open
Open
if (empty($response['charge']))
- Exclude checks
Inline control structures are not allowed Open
Open
if ($response = $this->api->request('subscriptions/' . filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT) . '/reactivate', 'POST'))
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return array|bool|mixed
- Exclude checks
Inline control structures are not allowed Open
Open
if(false !== $product)
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
$this->logger->log(sprintf("[Request #%s]: Novo Request para a API.\n%s %s\n%s", $request_id, $method, $url, $data_to_log));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Inline control structures are not allowed Open
Open
if (empty($customer))
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $response;
- Exclude checks
Inline control structures are not allowed Open
Open
if (isset($response['bill']))
- Exclude checks
Inline control structures are not allowed Open
Open
if (false == $response)
- Exclude checks
Line exceeds 120 characters; contains 141 characters Open
Open
if ($response = $this->api->request('subscriptions/' . filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT) . '/reactivate', 'POST'))
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
$this->logger->log(sprintf("[Request #%s]: Nova Resposta da API.\n%s\n%s", $request_id, $status, print_r($response['body'], true)));
- Exclude checks
Inline control structures are not allowed Open
Open
if ('charge_underpay' !== $issue_type)
- Exclude checks
Inline control structures are not allowed Open
Open
if(!$cancel_bills)
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
$this->logger->log(sprintf("[Request #%s]: Nova Resposta da API.\n%s\n%s", $request_id, $status, print_r($response['body'], true)));
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
$this->logger->log(sprintf('[Request #%s]: Erro ao recuperar corpo do request! %s', $request_id, print_r($response, true)));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$subscriptions = wcs_get_subscriptions_for_order($order, array('order_type' => 'parent'));
- Exclude checks