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

Commit

Permalink
Removed DataProvider from extension namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Oct 24, 2015
1 parent 3114035 commit f6e33b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Enable extension in phpspec.yml file

```
extensions:
- Coduo\PhpSpec\DataProvider\DataProviderExtension
- Coduo\PhpSpec\DataProviderExtension
```

Write a spec:
Expand Down
2 changes: 1 addition & 1 deletion features/bootstrap/PHPSpecContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function thePhpspecdataproviderextensionIsEnabled()
{
$phpspecyml = <<<YML
extensions:
- Coduo\PhpSpec\DataProvider\DataProviderExtension
- Coduo\PhpSpec\DataProviderExtension
YML;

file_put_contents($this->workDir.'phpspec.yml', $phpspecyml);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Coduo\PhpSpec\DataProvider;
namespace Coduo\PhpSpec;

use Coduo\PhpSpec\DataProvider\Listener\DataProviderListener;
use Coduo\PhpSpec\DataProvider\Runner\Maintainer\DataProviderMaintainer;
Expand Down

4 comments on commit f6e33b6

@mnapoli
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this unfortunately broke backward compatibility. See for example K-Phoen/rulerz#15

@norberttech
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omg right, sorry for that... I gonna fix that now, thanks!

@mnapoli
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you!

@norberttech
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yoy're welcome, and thanks for reporting that! Not sure how I made such a stupid mistake ;/

Please sign in to comment.