- Issue created by @tr
 - πͺπΈSpain fjgarlin
Duplicate of π PHP function list download no longer exists Active . I could not find a local copy of that json file on my machine, which would at least cover most functions.
 
api.install has this code:
  // Create new PHP branch.
  /** @var \Drupal\api\Interfaces\PhpBranchInterface $php_branch */
  $php_branch = PhpBranch::create();
  $php_branch
    ->setTitle('PHP functions')
    ->setFunctionList('http://doc.php.net/downloads/json/php_manual_en.json')
    ->setFunctionUrlPattern('http://php.net/!function')
    ->setUpdateFrequency(Utilities::ONE_MONTH)
    ->save();But http://doc.php.net/downloads/json/php_manual_en.json does not exist. This causes problems on my site when api is installed, for example:
 $ drush cr
[error]  GuzzleHttp\Exception\ClientException: Client error: `GET http://doc.php.net/downloads/json/php_manual_en.json` resulted in a `404 Not Found` response:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scal (truncated...)
 in GuzzleHttp\Exception\RequestException::create() (line 111 of xxxx/www/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php). Active
2.0
Code
Duplicate of π PHP function list download no longer exists Active . I could not find a local copy of that json file on my machine, which would at least cover most functions.