jhuesser/bzu-jodel-clone

View on GitHub
functions/apicalls.php

Summary

Maintainability
C
1 day
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

function putCall($apiURL, $postfields) {
$curl = curl_init();
 
curl_setopt_array($curl, array(
CURLOPT_URL => $apiURL,
Severity: Major
Found in functions/apicalls.php and 1 other location - About 4 hrs to fix
functions/apicalls.php on lines 54..85

Similar blocks of code found in 2 locations. Consider refactoring.
Open

function postCall($apiURL, $postfields){
 
 
$curl = curl_init();
 
 
Severity: Major
Found in functions/apicalls.php and 1 other location - About 4 hrs to fix
functions/apicalls.php on lines 98..126

There are no issues that match your filters.

Category
Status