File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44
55use Http \Discovery \ClassDiscovery ;
66use Http \Discovery \Exception \NotFoundException ;
7- use Http \Discovery \Strategy \Puli ;
7+ use Http \Discovery \Strategy \PuliBetaStrategy ;
88use Puli \Discovery \Binding \ClassBinding ;
99use Puli \GeneratedPuliFactory ;
1010use Puli \Discovery \Api \Discovery ;
@@ -20,7 +20,7 @@ function let(
2020 ) {
2121 $ puliFactory ->createRepository ()->willReturn ($ repository );
2222 $ puliFactory ->createDiscovery ($ repository )->willReturn ($ discovery );
23- $ this ->beAnInstanceOf ('spec\Http\Discovery\Strategy\PuliStub ' );
23+ $ this ->beAnInstanceOf ('spec\Http\Discovery\Strategy\PuliBetaStrategyStub ' );
2424 $ this ->setPuliFactory ($ puliFactory );
2525 }
2626
@@ -31,7 +31,7 @@ function letgo()
3131
3232 function it_is_initializable ()
3333 {
34- $ this ->shouldHaveType ('Http\Discovery\Strategy\Puli ' );
34+ $ this ->shouldHaveType ('Http\Discovery\Strategy\PuliBetaStrategy ' );
3535 }
3636
3737 function it_returns_a_class_binding (Discovery $ discovery , ClassBinding $ binding )
@@ -82,7 +82,7 @@ public function getMatchers()
8282 }
8383}
8484
85- class PuliStub extends Puli
85+ class PuliBetaStrategyStub extends PuliBetaStrategy
8686{
8787 /**
8888 * Sets the Puli factory.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ abstract class ClassDiscovery
2020 * @var array
2121 */
2222 private static $ strategies = [
23- Strategy \Puli ::class,
23+ Strategy \PuliBetaStrategy ::class,
2424 Strategy \CommonClassesStrategy::class,
2525 ];
2626
Original file line number Diff line number Diff line change 1515 * @author David de Boer <[email protected] > 1616 * @author Márk Sági-Kazár <[email protected] > 1717 */
18- class Puli implements DiscoveryStrategy
18+ class PuliBetaStrategy implements DiscoveryStrategy
1919{
2020 /**
2121 * @var GeneratedPuliFactory
You can’t perform that action at this time.
0 commit comments