Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Extract request object #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tangrufus
Copy link
Contributor

  • Extract request object while keeping backward compatibility.
  • Lock phpunit version below 6

Usage:

namespace Cloudflare;

$api = new Api();
$request = new Request();
$api->setRequest($request);


return $response;
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 newline at end of file; 0 found

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

* @return mixed
*/
public function perform($api, $path, array $data = null, $method = null);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 newline at end of file; 0 found

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@tangrufus tangrufus force-pushed the extract-request-object branch from 46c0c76 to bd3209c Compare February 26, 2017 20:46
@coveralls
Copy link

Coverage Status

Coverage increased (+8.007%) to 11.349% when pulling bd3209c on TangRufus:extract-request-object into 5e38c90 on jamesryanbell:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+8.007%) to 11.349% when pulling bd3209c on TangRufus:extract-request-object into 5e38c90 on jamesryanbell:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+8.007%) to 11.349% when pulling bd3209c on TangRufus:extract-request-object into 5e38c90 on jamesryanbell:master.

@tangrufus tangrufus force-pushed the extract-request-object branch from bd3209c to 138fec7 Compare February 26, 2017 20:48
@tangrufus
Copy link
Contributor Author

Style fixed and added php 7.1 to Travis matrix

@coveralls
Copy link

coveralls commented Feb 26, 2017

Coverage Status

Coverage increased (+10.3%) to 13.614% when pulling 46c0c76 on TangRufus:extract-request-object into 5e38c90 on jamesryanbell:master.

@coveralls
Copy link

coveralls commented Feb 26, 2017

Coverage Status

Coverage increased (+8.007%) to 11.349% when pulling 138fec7 on TangRufus:extract-request-object into 5e38c90 on jamesryanbell:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants