google/google-api-php-client — pull request #36 by marczych (2014-01-07 00:30:42+00:00)
Title: Replace fopen with curl

Http requests using this library currently fail if `allow_url_fopen` is
disabled. There are minor security vulnerabilities involved with leaving
that enabled so it is highly recommended to disable it.
http://phpsec.org/projects/phpsecinfo/tests/allow_url_fopen.html

Although you can take precautions to mitigate the chance of an attack,
it's safer to disable it and use curl instead.