Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2024172

Browse files
committed
Make tests green again
1 parent55582fd commit2024172

File tree

8 files changed

+19
-2
lines changed

8 files changed

+19
-2
lines changed

‎src/Symfony/Bundle/SecurityBundle/composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"symfony/password-hasher":"^5.4|^6.0|^7.0",
3030
"symfony/security-core":"^6.2|^7.0",
3131
"symfony/security-csrf":"^5.4|^6.0|^7.0",
32-
"symfony/security-http":"^6.3|^7.0"
32+
"symfony/security-http":"^6.3.4|^7.0"
3333
},
3434
"require-dev": {
3535
"symfony/asset":"^5.4|^6.0|^7.0",

‎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+
publicfunctionbitfield($key, ...$args):\Relay\Relay|array|false
460+
{
461+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitfield(...\func_get_args());
462+
}
463+
459464
publicfunctionconfig($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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
/**
2121
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
22+
* @requires extension openssl
2223
*/
2324
class SendgridSignedRequestParserTestextends AbstractRequestParserTestCase
2425
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
/**
2222
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
23+
* @requires extension openssl
2324
*/
2425
class SendgridWrongSecretRequestParserTestextends AbstractRequestParserTestCase
2526
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
/**
2222
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
23+
* @requires extension openssl
2324
*/
2425
class SendgridWrongSignatureRequestParserTestextends AbstractRequestParserTestCase
2526
{

‎src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrineIntegrationTest.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
useDoctrine\DBAL\Configuration;
1515
useDoctrine\DBAL\DriverManager;
16+
useDoctrine\DBAL\Result;
1617
useDoctrine\DBAL\Schema\AbstractSchemaManager;
1718
useDoctrine\DBAL\Schema\DefaultSchemaManagerFactory;
1819
useDoctrine\DBAL\Tools\DsnParser;
@@ -56,6 +57,10 @@ public function testConnectionSendAndGet()
5657

5758
publicfunctiontestSendWithDelay()
5859
{
60+
if (interface_exists(Result::class)) {
61+
$this->markTestSkipped('Skip on Doctrine DBAL 2');
62+
}
63+
5964
$this->connection->send('{"message": "Hi i am delayed"}', ['type' => DummyMessage::class],600000);
6065

6166
$result =$this->driverConnection->createQueryBuilder()

‎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
(newRunProcessMessageHandler())(newRunProcessMessage(['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
publicfunctiontestCollapse()
462462
{
463+
if ('\\' === \DIRECTORY_SEPARATOR) {
464+
$this->markTestSkipped('This test cannot be run on Windows.');
465+
}
466+
463467
$stub =newStub();
464468
$stub->type = Stub::TYPE_OBJECT;
465469
$stub->class ='stdClass';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp