Skip to content

Commit a59d46d

Browse files
committed
CS fixes
1 parent 7908cd5 commit a59d46d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php declare(strict_types=1);
22

33
return (new PhpCsFixer\Config())
4+
->setUnsupportedPhpVersionAllowed(true)
45
->setRules([
56
'@Symfony' => true,
67
'@Symfony:risky' => true,

lib/Adapter/Solarium/Tests/SolariumAdapterTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

lib/Core/Tests/PagerfantaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)