Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

AT-4687 removing deprecated flag #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class OAuthHttpStreamTransport implements TransportInterface, LoggerAwareInterfa
*/
public function __construct($url, OAuth\Consumer $consumer, OAuth\Token $token = null, $realm=""){
// check that the URL is valid
if (!filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED)){
if (!filter_var($url, FILTER_VALIDATE_URL)){
throw new Exception\TransportException("The URL provided is not valid. Must be in the format (http[s]://domain[/path/][file])");
}
// check that they are using HTTP or HTTPS
Expand Down