Skip to content

Commit aeb7344

Browse files
committed
MA-1084 #time 10m tested in a PHP 5.3 environment and updated README.md
1 parent b79ffee commit aeb7344

File tree

3 files changed

+7
-26
lines changed

3 files changed

+7
-26
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ SparkPost::setConfig(["key"=>"YOUR API KEY"]);
2626
2727
try {
2828
// Build your email and send it!
29-
Transmission::send(['campaign'=>'first-mailing',
29+
Transmission::send(array('campaign'=>'first-mailing',
3030
'from'=>'you@your-company.com',
3131
'subject'=>'First SDK Mailing',
3232
'html'=>'<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
3333
'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',
34-
'substitutionData'=>['name'=>'YOUR FIRST NAME'],
35-
'recipients'=>[['address'=>['name'=>'YOUR FULL NAME', 'email'=>'YOUR EMAIL ADDRESS' ]]]
36-
]);
34+
'substitutionData'=>array('name'=>'YOUR FIRST NAME'),
35+
'recipients'=>array(array('address'=>array('name'=>'YOUR FULL NAME', 'email'=>'YOUR EMAIL ADDRESS' )))
36+
));
3737
3838
echo 'Woohoo! You just sent your first mailing!';
3939
} catch (Exception $err) {
@@ -87,12 +87,11 @@ try {
8787
## Development
8888

8989
### Setup
90-
We use [Robo](http://robo.li/) for our task runner.
9190

92-
Run `composer install` inside the directory to install dependecies and development tools including Robo.
91+
Run `composer install` inside the directory to install dependecies and development tools.
9392

9493
### Testing
95-
Once all the dependencies are installed, you can execute the unit tests using `vendor\bin\robo test`
94+
Once all the dependencies are installed, you can execute the unit tests using `vendor/bin/phpunit --bootstrap test/unit/bootstrap.php ./test/unit`
9695

9796
### Contributing
9897
Guidelines for adding issues

RoboFile.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"guzzlehttp/guzzle": "3.8.1"
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "4.3.*",
17-
"codegyre/robo": "0.3.6"
16+
"phpunit/phpunit": "4.3.*"
1817
},
1918
"autoload": {
2019
"psr-4": {

0 commit comments

Comments
 (0)