Skip to content

Commit 1c386dc

Browse files
committed
Removed all tabs and replaced them with two spaces
1 parent 6818faa commit 1c386dc

20 files changed

+26
-27
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Next, run the Composer command to install the SparkPost PHP SDK:
1919
composer require sparkpost/php-sparkpost
2020
```
2121
After installing, you need to require Composer's autoloader:
22-
```
22+
```php
2323
require 'vendor/autoload.php';
2424
use SparkPost\SparkPost;
2525
```
@@ -33,7 +33,7 @@ need to require one and create an adapter from it and pass it along. The exampl
3333
GuzzleHttp Client Library.
3434

3535
An Adapter can be setup like so:
36-
```
36+
```php
3737
use SparkPost\SparkPost;
3838
use GuzzleHttp\Client;
3939
use Ivory\HttpAdapter\Guzzle6HttpAdapter;
@@ -43,7 +43,7 @@ $sparky = new SparkPost($httpAdapter, ['key'=>'YOUR API KEY']);
4343
```
4444

4545
## Getting Started: Your First Mailing
46-
```
46+
```php
4747
require 'vendor/autoload.php';
4848

4949
use SparkPost\SparkPost;
@@ -55,7 +55,7 @@ $sparky = new SparkPost($httpAdapter, ['key'=>'YOUR API KEY']);
5555

5656
try {
5757
// Build your email and send it!
58-
$results = $sparky->transmission->send([
58+
$results = $sparky->transmission->send([
5959
'from'=>'From Envelope <from@sparkpostbox.com>',
6060
'html'=>'<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
6161
'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "phpunit ./test/unit/"
1616
},
1717
"require": {
18-
"php": ">=5.5.0",
18+
"php": ">=5.5.0",
1919
"egeloen/http-adapter": "*"
2020
},
2121
"require-dev": {

examples/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
2-
require_once dirname(__FILE__).'/../vendor/autoload.php';
2+
require_once dirname(__FILE__).'/../vendor/autoload.php';
33
?>

examples/transmission/get_all_transmissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
1515

1616
try {
17-
$results = $sparky->transmission->all();
17+
$results = $sparky->transmission->all();
1818
echo 'Congrats you can use your SDK!';
1919
} catch (\Exception $exception) {
2020
echo $exception->getMessage();

examples/transmission/get_transmission.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
1515

1616
try {
17-
$results = $sparky->transmission->find('Your Transmission ID');
17+
$results = $sparky->transmission->find('Your Transmission ID');
1818
echo 'Congrats you can use your SDK!';
1919
} catch (\Exception $exception) {
2020
echo $exception->getMessage();

examples/transmission/rfc822.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
1515

1616
try {
17-
$results = $sparky->transmission->send([
17+
$results = $sparky->transmission->send([
1818
'recipients'=>[
1919
[
2020
'address'=>[

examples/transmission/send_transmission_all_fields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
1515

1616
try{
17-
$results = $sparky->transmission->send([
17+
$results = $sparky->transmission->send([
1818
"campaign"=>"my-campaign",
1919
"metadata"=>[
2020
"sample_campaign"=>true,

examples/transmission/simple_send.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
1515

1616
try {
17-
$results = $sparky->transmission->send([
17+
$results = $sparky->transmission->send([
1818
"from"=>"From Envelope <from@sparkpostbox.com>",
1919
"html"=>"<p>Hello World!</p>",
2020
"text"=>"Hello World!",

examples/transmission/stored_recipients_inline_content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
try {
1717

18-
$results = $sparky->transmission->send([
18+
$results = $sparky->transmission->send([
1919
"campaign"=>"my-campaign",
2020
"from"=>"From Envelope <from@sparkpostbox.com>",
2121
"html"=>"<p>Hello World! Your name is: {{name}}</p>",

examples/transmission/stored_template_send.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
1515

1616
try {
17-
$results = $sparky->transmission->send([
17+
$results = $sparky->transmission->send([
1818
"from"=>"From Envelope <from@sparkpostbox.com>",
1919
"recipients"=>[
2020
[

0 commit comments

Comments
 (0)