From 5b118aa432f8b6e41e3afd92296bbe364d911cb6 Mon Sep 17 00:00:00 2001 From: Elmer Thomas Date: Tue, 4 Aug 2020 21:18:09 -0700 Subject: [PATCH 1/3] chore: update GitHub branch references to use HEAD --- CONTRIBUTING.md | 14 +++++++------- README.md | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7be9838..af3ce41 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ source ./sendgrid.env ##### Execute: ##### -See the [examples folder](https://github.com/sendgrid/php-http-client/tree/master/examples). +See the [examples folder](https://github.com/sendgrid/php-http-client/tree/HEAD/examples). ## Understanding the Code Base @@ -88,11 +88,11 @@ Unit tests. **/lib/SendGrid/Client.php** -An HTTP client with a fluent interface using method chaining and reflection. By returning self on [__call](https://github.com/sendgrid/php-http-client/blob/master/lib/client.php#L212) and [_()](https://github.com/sendgrid/php-http-client/blob/master/lib/client.pph#L198), we can dynamically build the URL using method chaining and [__call](https://github.com/sendgrid/php-http-client/blob/master/lib/client.php#L212) allows us to dynamically receive the method calls to achieve reflection. +An HTTP client with a fluent interface using method chaining and reflection. By returning self on [__call](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.php#L212) and [_()](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.pph#L198), we can dynamically build the URL using method chaining and [__call](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.php#L212) allows us to dynamically receive the method calls to achieve reflection. This allows for the following mapping from a URL to a method chain: -`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version->()` where is a [HTTP verb](https://github.com/sendgrid/php-http-client/blob/master/lib/client.php#L94). +`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version->()` where is a [HTTP verb](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.php#L94). **/lib/SendGrid/Config.php** @@ -103,9 +103,9 @@ Loads the environment variables. All PRs require passing tests before the PR will be reviewed. -All test files are in the [`/test/unit`](https://github.com/sendgrid/php-http-client/tree/master/test/unit) directory. +All test files are in the [`/test/unit`](https://github.com/sendgrid/php-http-client/tree/HEAD/test/unit) directory. -For the purposes of contributing to this repo, please update the [`ClientTest.php`](https://github.com/sendgrid/php-http-client/blob/master/test/unit/ClientTest.php) file with unit tests as you modify the code. +For the purposes of contributing to this repo, please update the [`ClientTest.php`](https://github.com/sendgrid/php-http-client/blob/HEAD/test/unit/ClientTest.php) file with unit tests as you modify the code. ```bash composer install @@ -166,7 +166,7 @@ Please run your code through: 5. Locally merge (or rebase) the upstream development branch into your topic branch: ```bash - git pull [--rebase] upstream master + git pull [--rebase] upstream main ``` 6. Push your topic branch up to your fork: @@ -176,7 +176,7 @@ Please run your code through: ``` 7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) - with a clear title and description against the `master` branch. All tests must be passing before we will review the PR. + with a clear title and description against the `main` branch. All tests must be passing before we will review the PR. ## Code Reviews diff --git a/README.md b/README.md index b9b5dca..a59614f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![SendGrid Logo](https://uiux.s3.amazonaws.com/2016-logos/email-logo%402x.png) -[![Travis Badge](https://travis-ci.org/sendgrid/php-http-client.svg?branch=master)](https://travis-ci.org/sendgrid/php-http-client) +[![Travis Badge](https://travis-ci.org/sendgrid/php-http-client.svg?branch=main)](https://travis-ci.org/sendgrid/php-http-client) [![Latest Version on Packagist](https://img.shields.io/packagist/v/sendgrid/php-http-client.svg?style=flat-square)](https://packagist.org/packages/sendgrid/php-http-client) [![Email Notifications Badge](https://dx.sendgrid.com/badge/php)](https://dx.sendgrid.com/newsletter/php) [![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid) @@ -14,7 +14,7 @@ If you are looking for the SendGrid API client library, please see [this repo](h # Announcements **The default branch name for this repository has been changed to `main` as of 07/27/2020.** -All updates to this library are documented in our [CHANGELOG](https://github.com/sendgrid/php-http-client/blob/master/CHANGELOG.md). +All updates to this library are documented in our [CHANGELOG](https://github.com/sendgrid/php-http-client/blob/HEAD/CHANGELOG.md). # Table of Contents - [Installation](#installation) @@ -172,14 +172,14 @@ If you are interested in the future direction of this project, please take a loo # How to Contribute -We encourage contribution to our libraries, please see our [CONTRIBUTING](https://github.com/sendgrid/php-http-client/blob/master/CONTRIBUTING.md) guide for details. +We encourage contribution to our libraries, please see our [CONTRIBUTING](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md) guide for details. Quick links: -- [Feature Request](https://github.com/sendgrid/php-http-client/blob/master/CONTRIBUTING.md#feature-request) -- [Bug Reports](https://github.com/sendgrid/php-http-client/blob/master/CONTRIBUTING.md#submit-a-bug-report) -- [Improvements to the Codebase](https://github.com/sendgrid/php-http-client/blob/master/CONTRIBUTING.md#improvements-to-the-codebase) -- [Review Pull Requests](https://github.com/sendgrid/php-http-client/blob/master/CONTRIBUTING.md#code-reviews) +- [Feature Request](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#feature-request) +- [Bug Reports](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#submit-a-bug-report) +- [Improvements to the Codebase](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#improvements-to-the-codebase) +- [Review Pull Requests](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#code-reviews) # Thanks From cb450569c1822fe9645a907ae94bb74860682843 Mon Sep 17 00:00:00 2001 From: Elmer Thomas Date: Fri, 7 Aug 2020 09:53:11 -0700 Subject: [PATCH 2/3] use relative links --- CONTRIBUTING.md | 10 +++++----- README.md | 14 +++++++------- twilio_sendgrid_logo.png | Bin 0 -> 14596 bytes 3 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 twilio_sendgrid_logo.png diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af3ce41..139d1fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ source ./sendgrid.env ##### Execute: ##### -See the [examples folder](https://github.com/sendgrid/php-http-client/tree/HEAD/examples). +See the [examples folder](examples). ## Understanding the Code Base @@ -88,11 +88,11 @@ Unit tests. **/lib/SendGrid/Client.php** -An HTTP client with a fluent interface using method chaining and reflection. By returning self on [__call](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.php#L212) and [_()](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.pph#L198), we can dynamically build the URL using method chaining and [__call](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.php#L212) allows us to dynamically receive the method calls to achieve reflection. +An HTTP client with a fluent interface using method chaining and reflection. By returning self on [__call](lib/client.php#L212) and [_()](lib/client.pph#L198), we can dynamically build the URL using method chaining and [__call](lib/client.php#L212) allows us to dynamically receive the method calls to achieve reflection. This allows for the following mapping from a URL to a method chain: -`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version->()` where is a [HTTP verb](https://github.com/sendgrid/php-http-client/blob/HEAD/lib/client.php#L94). +`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version->()` where is a [HTTP verb](lib/client.php#L94). **/lib/SendGrid/Config.php** @@ -103,9 +103,9 @@ Loads the environment variables. All PRs require passing tests before the PR will be reviewed. -All test files are in the [`/test/unit`](https://github.com/sendgrid/php-http-client/tree/HEAD/test/unit) directory. +All test files are in the [`/test/unit`](test/unit) directory. -For the purposes of contributing to this repo, please update the [`ClientTest.php`](https://github.com/sendgrid/php-http-client/blob/HEAD/test/unit/ClientTest.php) file with unit tests as you modify the code. +For the purposes of contributing to this repo, please update the [`ClientTest.php`](test/unit/ClientTest.php) file with unit tests as you modify the code. ```bash composer install diff --git a/README.md b/README.md index a59614f..05828a2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![SendGrid Logo](https://uiux.s3.amazonaws.com/2016-logos/email-logo%402x.png) +![SendGrid Logo](twilio_sendgrid_logo.png) [![Travis Badge](https://travis-ci.org/sendgrid/php-http-client.svg?branch=main)](https://travis-ci.org/sendgrid/php-http-client) [![Latest Version on Packagist](https://img.shields.io/packagist/v/sendgrid/php-http-client.svg?style=flat-square)](https://packagist.org/packages/sendgrid/php-http-client) @@ -14,7 +14,7 @@ If you are looking for the SendGrid API client library, please see [this repo](h # Announcements **The default branch name for this repository has been changed to `main` as of 07/27/2020.** -All updates to this library are documented in our [CHANGELOG](https://github.com/sendgrid/php-http-client/blob/HEAD/CHANGELOG.md). +All updates to this library are documented in our [CHANGELOG](CHANGELOG.md). # Table of Contents - [Installation](#installation) @@ -172,14 +172,14 @@ If you are interested in the future direction of this project, please take a loo # How to Contribute -We encourage contribution to our libraries, please see our [CONTRIBUTING](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md) guide for details. +We encourage contribution to our libraries, please see our [CONTRIBUTING](CONTRIBUTING.md) guide for details. Quick links: -- [Feature Request](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#feature-request) -- [Bug Reports](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#submit-a-bug-report) -- [Improvements to the Codebase](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#improvements-to-the-codebase) -- [Review Pull Requests](https://github.com/sendgrid/php-http-client/blob/HEAD/CONTRIBUTING.md#code-reviews) +- [Feature Request](CONTRIBUTING.md#feature-request) +- [Bug Reports](CONTRIBUTING.md#submit-a-bug-report) +- [Improvements to the Codebase](CONTRIBUTING.md#improvements-to-the-codebase) +- [Review Pull Requests](CONTRIBUTING.md#code-reviews) # Thanks diff --git a/twilio_sendgrid_logo.png b/twilio_sendgrid_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..a4c22239ac0cc70e10a51f828390d713edc8a29b GIT binary patch literal 14596 zcmY+rb8xRQyER$)VFC_ zP*x5W5D>7Im8zzzrkpIdiGv-zk*R~R8NH{S<3BbK5U(fqzowm;s}Z56ovpnKwSkk{GNoLgB`{C}qZ>+um= zy1F`YGcb5~c+h*W&^tI=Ffeg(aWOD5GcYsL{bSI%c-gxedD7Xtko>pE|ED8r=3?S( z<>+eVU{ClTT_a-$H&;Gl;{O=^@Auzvx>}k4|4#NU|C83g1R4G_!oWn&$nd|~|EBW( z2jy09wle$Y{2zUOCf@&I{y*6N`0z6P$Nc{a=D#!jFZ5rk{4l%>|GRAbFtURbT0lS? z=u)CWs-D2txzIVeYJPzH>z&NMFroF>gqd)n(Atcq;HII~wy9*k!yA>|8^$f_G}3-L z#|ObWRV}5h2UT_D3@!1h7&hY|9omGrB$N=Ovci&@p-4>>ECBw=kFVTQE{_{pj}v*Q z=3%bCxu;$;E-OE84yOU%r@XZ;YoWoXoME01Q{V({Ii7ik++BEMF1eiYx~tD96!&;H zAY*T5s5a?*rS=MWY(FBp^d5(=kN7qkw8uMc7z{7u4(re8HwsR~r-!%%+AlUYxha3> zIQgM+vU5qj+z&Un2+C?h&q~Zz23JU<>>YJ)TjQ$I{hL}^*eEe#_CwcU?r1Ef(b z43<>i=T3|pQl4rb?y5r5G9UZ0IPG1qxL5hNd!M}Y*H}-utxi6@dJjLb?;Xew{fW~l z8Xi;QF4OEvYkC(~Fw|ghd$GfTkOGkqQtCZ>B7w4GW?&!WV0Fj(CLTXW^yvdqFF!Oo z^&LAfU(>^CU4CCP4KFP*I$wE3UG~w$$jGmEKgQLb22ieY8Yf+L#n@>JIG(V^V!3r( za-|IOlDD?9pXs4Us8ANCX1hFh+iiM+E`~E=pSOSWM7|$}KV;}8fjv am?oYtaj-7XJQ`J66!_Sj=jUn5tuKna3~mXZX-2A`EbIC6u^K) zAS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IBUTING.md b/CONTRIBUTING.md index 139d1fe..ea9dfd7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -88,11 +88,11 @@ Unit tests. **/lib/SendGrid/Client.php** -An HTTP client with a fluent interface using method chaining and reflection. By returning self on [__call](lib/client.php#L212) and [_()](lib/client.pph#L198), we can dynamically build the URL using method chaining and [__call](lib/client.php#L212) allows us to dynamically receive the method calls to achieve reflection. +An HTTP client with a fluent interface using method chaining and reflection. By returning `$this` on [__call](lib/Client.php#L576), we can dynamically build the URL using method chaining and [__call](lib/Client.php#L576) allows us to dynamically receive the method calls to achieve reflection. This allows for the following mapping from a URL to a method chain: -`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version->()` where is a [HTTP verb](lib/client.php#L94). +`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version->()` where is a [HTTP verb](lib/Client.php#L210). **/lib/SendGrid/Config.php**