This repository was archived by the owner on Feb 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
src/Coduo/PhpSpec/DataProvider Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,8 @@ This extension allows you to create data providers for examples in specs.
66
77## Installation
88
9- ```
10- require: {
11- "coduo/phpspec-data-provider-extension": "^1.0"
12- }
9+ ``` shell
10+ composer require coduo/phpspec-data-provider-extension
1311```
1412
1513## Usage
@@ -18,7 +16,7 @@ Enable extension in phpspec.yml file
1816
1917```
2018extensions:
21- - Coduo\PhpSpec\DataProviderExtension
19+ - Coduo\PhpSpec\DataProvider\ DataProviderExtension
2220```
2321
2422Write a spec:
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function thePhpspecdataproviderextensionIsEnabled()
4949 {
5050 $ phpspecyml = <<<YML
5151extensions:
52- - Coduo\PhpSpec\DataProviderExtension
52+ - Coduo\PhpSpec\DataProvider\ DataProviderExtension
5353YML ;
5454
5555 file_put_contents ($ this ->workDir .'phpspec.yml ' , $ phpspecyml );
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Coduo \PhpSpec ;
3+ namespace Coduo \PhpSpec \ DataProvider ;
44
55use Coduo \PhpSpec \DataProvider \Listener \DataProviderListener ;
66use Coduo \PhpSpec \DataProvider \Runner \Maintainer \DataProviderMaintainer ;
You can’t perform that action at this time.
0 commit comments