Skip to content

Commit 469a143

Browse files
minor #51622 [CI] Make tests green again (vtsykun)
This PR was merged into the 6.4 branch. Discussion ---------- [CI] Make tests green again | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 7cad70d Make tests green again
2 parents b36ffe4 + 7cad70d commit 469a143

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

src/Symfony/Component/Cache/Traits/RelayProxy.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ public function bitcount($key, $start = 0, $end = -1, $by_bit = false): \Relay\R
456456
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args());
457457
}
458458

459+
public function bitfield($key, ...$args): \Relay\Relay|array|false
460+
{
461+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitfield(...\func_get_args());
462+
}
463+
459464
public function config($operation, $key = null, $value = null): \Relay\Relay|array|bool
460465
{
461466
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->config(...\func_get_args());

src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridSignedRequestParserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
22+
*
23+
* @requires extension openssl
2224
*/
2325
class SendgridSignedRequestParserTest extends AbstractRequestParserTestCase
2426
{

src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridWrongSecretRequestParserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
23+
*
24+
* @requires extension openssl
2325
*/
2426
class SendgridWrongSecretRequestParserTest extends AbstractRequestParserTestCase
2527
{

src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridWrongSignatureRequestParserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
23+
*
24+
* @requires extension openssl
2325
*/
2426
class SendgridWrongSignatureRequestParserTest extends AbstractRequestParserTestCase
2527
{

src/Symfony/Component/Process/Tests/Messenger/RunProcessMessageHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testRunFailedProcess()
3333
(new RunProcessMessageHandler())(new RunProcessMessage(['invalid']));
3434
} catch (RunProcessFailedException $e) {
3535
$this->assertSame(['invalid'], $e->context->command);
36-
$this->assertSame(127, $e->context->exitCode);
36+
$this->assertSame('\\' === \DIRECTORY_SEPARATOR ? 1 : 127, $e->context->exitCode);
3737

3838
return;
3939
}

src/Symfony/Component/VarDumper/Tests/Dumper/CliDumperTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,10 @@ public function testDumpArrayWithColor($value, $flags, $expectedOut)
460460

461461
public function testCollapse()
462462
{
463+
if ('\\' === \DIRECTORY_SEPARATOR) {
464+
$this->markTestSkipped('This test cannot be run on Windows.');
465+
}
466+
463467
$stub = new Stub();
464468
$stub->type = Stub::TYPE_OBJECT;
465469
$stub->class = 'stdClass';

0 commit comments

Comments
 (0)