Skip to content

Commit 706d366

Browse files
Merge branch '6.0' into 6.1
* 6.0: (22 commits) Add missing license header Add missing license header [Workflow] Catch error when trying to get an uninitialized marking Add missing license header Allow usage of Provider domains if possible Use reference date in reverse transform Fixes #40997 Fix env resolution in lock configuration Fix Symfony not working on SMB share #45990 [Messenger] DoctrineTransportFactory works with notify and decorated PostgreSQL driver [Cache] make LockRegistry use static properties instead of static variables fix: return-path has higher priority for envelope address than from address (fixes #41322) [HttpClient] Fix sending content-length when streaming the body [Console] Header with column max width is now well wrap with separator Fix use_cookies framework session configuration [FrameworkBundle] [Command] Fix `debug:router --no-interaction` error … [Intl] Update the ICU data to 71.1 - 5.4 [Intl] Update the ICU data to 71.1 - 4.4 Add tests to messenger connection get for OraclePlatform [RateLimiter] Adding default empty value [DependencyInjection] Add TaggedIteratorArgument unit tests ...
2 parents b37b432 + cc9a3d2 commit 706d366

File tree

5 files changed

+53
-8
lines changed

5 files changed

+53
-8
lines changed

Tests/DataCollector/DoctrineDataCollectorTestTrait.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Bridge\Doctrine\Tests\DataCollector;
413

514
use Symfony\Component\HttpFoundation\Request;

Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Bridge\Doctrine\Tests\DependencyInjection\CompilerPass;
413

514
use PHPUnit\Framework\TestCase;

Tests/DependencyInjection/CompilerPass/RegisterUidTypePassTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Bridge\Doctrine\Tests\DependencyInjection\CompilerPass;
413

514
use PHPUnit\Framework\TestCase;

Tests/Middleware/Debug/MiddlewareTest.php

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Bridge\Doctrine\Tests\Middleware\Debug;
413

514
use Doctrine\DBAL\Configuration;
@@ -62,12 +71,12 @@ public function provideExecuteMethod(): array
6271
{
6372
return [
6473
'executeStatement' => [
65-
static function(object $target, ...$args) {
74+
static function (object $target, ...$args) {
6675
return $target->executeStatement(...$args);
6776
},
6877
],
6978
'executeQuery' => [
70-
static function(object $target, ...$args): Result {
79+
static function (object $target, ...$args): Result {
7180
return $target->executeQuery(...$args);
7281
},
7382
],
@@ -148,13 +157,13 @@ public function provideEndTransactionMethod(): array
148157
{
149158
return [
150159
'commit' => [
151-
static function(Connection $conn): bool {
160+
static function (Connection $conn): bool {
152161
return $conn->commit();
153162
},
154163
'"COMMIT"',
155164
],
156165
'rollback' => [
157-
static function(Connection $conn): bool {
166+
static function (Connection $conn): bool {
158167
return $conn->rollBack();
159168
},
160169
'"ROLLBACK"',
@@ -198,18 +207,18 @@ public function provideExecuteAndEndTransactionMethods(): array
198207
{
199208
return [
200209
'commit and exec' => [
201-
static function(Connection $conn, string $sql) {
210+
static function (Connection $conn, string $sql) {
202211
return $conn->executeStatement($sql);
203212
},
204-
static function(Connection $conn): bool {
213+
static function (Connection $conn): bool {
205214
return $conn->commit();
206215
},
207216
],
208217
'rollback and query' => [
209-
static function(Connection $conn, string $sql): Result {
218+
static function (Connection $conn, string $sql): Result {
210219
return $conn->executeQuery($sql);
211220
},
212-
static function(Connection $conn): bool {
221+
static function (Connection $conn): bool {
213222
return $conn->rollBack();
214223
},
215224
],

Tests/Security/RememberMe/DoctrineTokenProviderTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Security\RememberMe;
413

514
use Doctrine\DBAL\DriverManager;

0 commit comments

Comments
 (0)