Abraham Williams
Abraham Williams
There should be a default test that asserts rendering the element N times takes less than M time.
Look for PHP language improvements that could cleanup the codebase. https://dnlytras.com/blog/modern-php/
Users shouldn't have to check if the response code is a HTTP 2XX.
Twitter has since added a number of additional hosts that are used and they need to be supported. A potential design could look something like this: ``` $twitteroauth->subdomain('version').method('path', params); $t->api->get(...);...
This s a summary of the plans for TwitterOAuth future major versions. Once released, 1.0 will only receive critical bug fixes. It will have its own branch and master branch...
Add a `File` class that handles getting file data for media uploads. The `File` class will handle getting the file data from a variety of sources (disk, URL, base64, etc)...
``` 2015-02-20T05:40:01.339495+00:00 app[web.1]: [20-Feb-2015 05:40:01 UTC] PHP Fatal error: Uncaught exception 'Abraham\TwitterOAuth\TwitterOAuthException' with message 'Request timed out.' in /app/vendor/abraham/twitteroauth/src/TwitterOAuth.php:311 2015-02-20T05:40:01.549171+00:00 app[web.1]: 10.101.131.90 - - [20/Feb/2015:05:40:01 +0000] "GET /favicon.ico HTTP/1.1" 404...
Maybe add a `Request` class that can be set to form encoded, JSON, etc depending on the type of API.
It could look something like this and contain all of the specific request/response state. ``` $response = $t->get(...); $response->headers; $response->status_code; $response->body; $response->success; ```