File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -26,26 +26,18 @@ class VCRTest extends \PHPUnit_Framework_TestCase
2626
2727## Installation
2828
29- 1 ) Add to your ` composer.json ` :
29+ 1 ) Install using composer:
3030
31- ``` json
32- "require-dev" : {
33- "php-vcr/phpunit-testlistener-vcr" : " *"
34- }
35- ```
36-
37- 2 ) Install using composer:
38-
39- ``` bash
31+ ``` sh
4032composer require --dev php-vcr/phpunit-testlistener-vcr
4133```
4234
43- 3 ) Add listener to your ` phpunit.xml ` :
35+ 2 ) Add listener to your ` phpunit.xml ` :
4436
45- ``` bash
46- < listeners>
47- < listener class=" PHPUnit_Util_Log_VCR" file=" vendor/php-vcr/phpunit-testlistener-vcr/PHPUnit/Util/Log/VCR.php" />
48- < /listeners>
37+ ``` yml
38+ <listeners>
39+ <listener class="PHPUnit_Util_Log_VCR" file="vendor/php-vcr/phpunit-testlistener-vcr/PHPUnit/Util/Log/VCR.php" />
40+ </listeners>
4941```
5042
5143## Dependencies
@@ -59,17 +51,17 @@ PHPUnit-Testlistener-VCR depends on:
5951
6052In order to run all tests you need to get development dependencies using composer:
6153
62- ``` php
63- composer install --dev
64- phpunit ./tests
54+ ``` php
55+ composer install
56+ ./vendor/bin/phpunit
6557```
6658
6759## Changelog
6860
6961 * 2013-05-14 1.0.0: First prototype
7062
7163## Copyright
72- Copyright (c) 2013 Adrian Philipp. Released under the terms of the MIT license. See LICENSE for details.
64+ Copyright (c) 2013-2016 Adrian Philipp. Released under the terms of the MIT license. See LICENSE for details.
7365
7466<!--
7567name of the projects and all sub-modules and libraries (sometimes they are named different and very confusing to new users)
Original file line number Diff line number Diff line change @@ -49,4 +49,4 @@ public function testInterceptsWithAnnotationsAutoGenerated()
4949 'Files doesn \'t have contents: ' . $ cassettePath
5050 );
5151 }
52- }
52+ }
You can’t perform that action at this time.
0 commit comments