Skip to content

Commit a3d7d52

Browse files
committed
add phpunit
1 parent 170093c commit a3d7d52

12 files changed

+2805
-23
lines changed

.php_cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ $finder = PhpCsFixer\Finder::create()
66
$config = PhpCsFixer\Config::create()
77
->setRiskyAllowed(true)
88
->setRules([
9-
9+
'@PSR2' => true,
10+
'@Symfony' => true,
1011
])
1112
->setFinder($finder);
1213

composer.json

+8-6
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,26 @@
1515
"ext-xml": "*",
1616
"psr/cache": "^1.0",
1717
"php-http/client-common": "^1.6",
18-
"php-http/guzzle6-adapter": "^1.0",
19-
"php-http/discovery": "^1.2",
18+
"php-http/guzzle6-adapter": "^1.1",
19+
"php-http/discovery": "^1.4",
2020
"php-http/httplug": "^1.1",
2121
"php-http/multipart-stream-builder": "^1.0",
2222
"php-http/cache-plugin": "^1.4",
2323
"symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
2424
},
2525
"require-dev": {
26-
"guzzlehttp/psr7": "^1.2",
27-
"php-http/guzzle6-adapter": "^1.0",
26+
"guzzlehttp/psr7": "^1.4",
27+
"php-http/guzzle6-adapter": "^1.1",
2828
"php-http/mock-client": "^1.0",
29-
"phpunit/phpunit": "^5.0"
29+
"phpunit/phpunit": "^7.4",
30+
"phpunit/php-invoker": "^2.0",
31+
"donatj/mock-webserver": "^2.0"
3032
},
3133
"autoload": {
3234
"psr-4": { "Sipwise\\": "lib/Sipwise/" }
3335
},
3436
"autoload-dev": {
35-
"psr-4": { "Sipwise\\Tests\\": "test/Sipwise/Tests/" }
37+
"psr-4": { "Sipwise\\Tests\\": "tests/SipwiseTests/" }
3638
},
3739
"extra": {
3840
"branch-alias": {

0 commit comments

Comments
 (0)