Skip to content

Commit 0907a20

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Fix CS Fix CS
2 parents cd56856 + d5a5e44 commit 0907a20

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Tests/Caster/RdKafkaCasterTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function testDumpProducerTopic()
181181
$producer->addBrokers($this->broker);
182182

183183
$topic = $producer->newTopic('test');
184-
$topic->produce(RD_KAFKA_PARTITION_UA, 0, '{}');
184+
$topic->produce(\RD_KAFKA_PARTITION_UA, 0, '{}');
185185

186186
$expectedDump = <<<EODUMP
187187
RdKafka\ProducerTopic {

Tests/Server/ConnectionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function getContext(): ?array
6262
%d
6363

6464
DUMP
65-
, $dumped);
65+
, $dumped);
6666
}
6767

6868
public function testNoServer()

Tests/Test/VarDumperTestTraitTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testItCanBeConfigured()
6868
}
6969
]
7070
DUMP
71-
, [1, 2, new \DateTime('2019-07-09T0:00:00+00:00')]);
71+
, [1, 2, new \DateTime('2019-07-09T0:00:00+00:00')]);
7272

7373
$this->tearDownVarDumper();
7474

VarDumper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private static function getDefaultContextProviders(): array
9696
{
9797
$contextProviders = [];
9898

99-
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && (class_exists(Request::class))) {
99+
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && class_exists(Request::class)) {
100100
$requestStack = new RequestStack();
101101
$requestStack->push(Request::createFromGlobals());
102102
$contextProviders['request'] = new RequestContextProvider($requestStack);

0 commit comments

Comments
 (0)