Skip to content

Commit 1e771ba

Browse files
BrandonDaniel Tolbert
authored andcommitted
Composer.json and phpunit changes (#14)
* Update composer.json Require php >= 5.4 since traits and short array syntax are used. Remove duplicate requirements from require-dev Remove 'reference' from composer.json - Versions should be tagged * Remove phpunit phar phpunit will be installed in /bin directory with composer Update composer to require phpunit update documents to show new path * Bump php version to >= 5.5 in composer.json aligns php requrements with Guzzle
1 parent 0c9669e commit 1e771ba

File tree

4 files changed

+7
-74026
lines changed

4 files changed

+7
-74026
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
vendor/
33
selftests/
44
config.php
5+
/bin
56
composer.lock

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $client = new \Iris\Client($login, $password, ['url' => 'https://api.inetwork.co
2020

2121
```bash
2222
$ composer install
23-
$ php phpunit.phar --bootstrap ./vendor/autoload.php tests/
23+
$ php ./bin/phpunit --bootstrap ./vendor/autoload.php tests/
2424
```
2525
=======
2626
## Examples

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
"description": "Bandwidth's Iris SDK for PHP",
55
"keywords": ["iris","sdk","php"],
66
"homepage": "http://dev.bandwidth.com",
7-
"reference": "v0.0.10",
87
"license": "MIT",
98
"authors": [
109
],
1110
"require": {
12-
"php": ">=5.3.0",
11+
"php": ">=5.5",
1312
"guzzlehttp/guzzle": "~6.0"
1413
},
1514
"require-dev": {
16-
"php": ">=5.3.0",
17-
"phpunit/phpunit": "3.7.*",
18-
"guzzlehttp/guzzle": "~6.0"
15+
"phpunit/phpunit": "~4.7"
16+
},
17+
"config": {
18+
"bin-dir": "bin"
1919
},
2020
"autoload": {
2121
"classmap": [

0 commit comments

Comments
 (0)