Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

Commit b8d5c85

Browse files
author
Norbert Orzechowicz
committed
Merge pull request #10 from coduo/regression-fix
Fixed regression created in 1.0.2
2 parents e28824d + 45384f0 commit b8d5c85

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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
```
2018
extensions:
21-
- Coduo\PhpSpec\DataProviderExtension
19+
- Coduo\PhpSpec\DataProvider\DataProviderExtension
2220
```
2321

2422
Write a spec:

features/bootstrap/PHPSpecContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function thePhpspecdataproviderextensionIsEnabled()
4949
{
5050
$phpspecyml = <<<YML
5151
extensions:
52-
- Coduo\PhpSpec\DataProviderExtension
52+
- Coduo\PhpSpec\DataProvider\DataProviderExtension
5353
YML;
5454

5555
file_put_contents($this->workDir.'phpspec.yml', $phpspecyml);

src/Coduo/PhpSpec/DataProviderExtension.php renamed to src/Coduo/PhpSpec/DataProvider/DataProviderExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Coduo\PhpSpec;
3+
namespace Coduo\PhpSpec\DataProvider;
44

55
use Coduo\PhpSpec\DataProvider\Listener\DataProviderListener;
66
use Coduo\PhpSpec\DataProvider\Runner\Maintainer\DataProviderMaintainer;

0 commit comments

Comments
 (0)