File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use Http \Discovery \ClassDiscovery ;
6
6
use Http \Discovery \Exception \NotFoundException ;
7
- use Http \Discovery \Strategy \Puli ;
7
+ use Http \Discovery \Strategy \PuliBetaStrategy ;
8
8
use Puli \Discovery \Binding \ClassBinding ;
9
9
use Puli \GeneratedPuliFactory ;
10
10
use Puli \Discovery \Api \Discovery ;
@@ -20,7 +20,7 @@ function let(
20
20
) {
21
21
$ puliFactory ->createRepository ()->willReturn ($ repository );
22
22
$ puliFactory ->createDiscovery ($ repository )->willReturn ($ discovery );
23
- $ this ->beAnInstanceOf ('spec\Http\Discovery\Strategy\PuliStub ' );
23
+ $ this ->beAnInstanceOf ('spec\Http\Discovery\Strategy\PuliBetaStrategyStub ' );
24
24
$ this ->setPuliFactory ($ puliFactory );
25
25
}
26
26
@@ -31,7 +31,7 @@ function letgo()
31
31
32
32
function it_is_initializable ()
33
33
{
34
- $ this ->shouldHaveType ('Http\Discovery\Strategy\Puli ' );
34
+ $ this ->shouldHaveType ('Http\Discovery\Strategy\PuliBetaStrategy ' );
35
35
}
36
36
37
37
function it_returns_a_class_binding (Discovery $ discovery , ClassBinding $ binding )
@@ -82,7 +82,7 @@ public function getMatchers()
82
82
}
83
83
}
84
84
85
- class PuliStub extends Puli
85
+ class PuliBetaStrategyStub extends PuliBetaStrategy
86
86
{
87
87
/**
88
88
* Sets the Puli factory.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ abstract class ClassDiscovery
20
20
* @var array
21
21
*/
22
22
private static $ strategies = [
23
- Strategy \Puli ::class,
23
+ Strategy \PuliBetaStrategy ::class,
24
24
Strategy \CommonClassesStrategy::class,
25
25
];
26
26
Original file line number Diff line number Diff line change 15
15
* @author David de Boer <[email protected] >
16
16
* @author Márk Sági-Kazár <[email protected] >
17
17
*/
18
- class Puli implements DiscoveryStrategy
18
+ class PuliBetaStrategy implements DiscoveryStrategy
19
19
{
20
20
/**
21
21
* @var GeneratedPuliFactory
You can’t perform that action at this time.
0 commit comments