File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11<?php declare (strict_types=1 );
22
33return (new PhpCsFixer \Config ())
4+ ->setUnsupportedPhpVersionAllowed (true )
45 ->setRules ([
56 '@Symfony ' => true ,
67 '@Symfony:risky ' => true ,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public function testGetSliceCannotUseACachedResultSet(): void
114114 ->willReturn (200 );
115115
116116 $ client = $ this ->createClientMock ();
117- $ client ->expects (self :: exactly (2 ))
117+ $ client ->expects ($ this -> exactly (2 ))
118118 ->method ('select ' )
119119 ->willReturn ($ result );
120120
@@ -134,7 +134,7 @@ public function testGetNbResultCanUseAGetSliceCachedResultSet(): void
134134 ->willReturn (200 );
135135
136136 $ client = $ this ->createClientMock ();
137- $ client ->expects (self :: exactly (1 ))
137+ $ client ->expects ($ this -> exactly (1 ))
138138 ->method ('select ' )
139139 ->willReturn ($ result );
140140
@@ -149,7 +149,7 @@ public function testSameGetSliceUseACachedResultSet(): void
149149 $ query = $ this ->createQueryStub ();
150150
151151 $ client = $ this ->createClientMock ();
152- $ client ->expects (self :: exactly (1 ))
152+ $ client ->expects ($ this -> exactly (1 ))
153153 ->method ('select ' )
154154 ->willReturn ($ this ->createResultMock ());
155155
@@ -164,7 +164,7 @@ public function testDifferentGetSliceCannotUseACachedResultSet(): void
164164 $ query = $ this ->createQueryStub ();
165165
166166 $ client = $ this ->createClientMock ();
167- $ client ->expects (self :: exactly (2 ))
167+ $ client ->expects ($ this -> exactly (2 ))
168168 ->method ('select ' )
169169 ->willReturn ($ this ->createResultMock ());
170170
Original file line number Diff line number Diff line change @@ -641,7 +641,7 @@ private function resetCurrentPageResults(callable $callback): void
641641 $ currentPageResults0 = new \ArrayObject ();
642642 $ currentPageResults1 = new \ArrayObject ();
643643
644- $ this ->adapter ->expects (self :: exactly (2 ))
644+ $ this ->adapter ->expects ($ this -> exactly (2 ))
645645 ->method ('getSlice ' )
646646 ->willReturnOnConsecutiveCalls (
647647 $ currentPageResults0 ,
You can’t perform that action at this time.
0 commit comments