Skip to content

Commit fa74ed7

Browse files
authored
fix: 🐛 clarify deprecation messages for BC (#7459)
1 parent f5c257d commit fa74ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/Test/ApiTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected static function createClient(array $kernelOptions = [], array $default
5050
trigger_deprecation(
5151
'api-platform/symfony',
5252
'4.1.0',
53-
'In API Platform 5.0, the kernel will not always be booted when a new client is created (see https://github.com/api-platform/core/issues/6971).',
53+
'Currently, the kernel will always be booted when a new client is created, but in API Platform 5.0, it will not be booted unless you set `static::$alwaysBootKernel` to `true` (the default will be `false`). See https://github.com/api-platform/core/issues/6971 for more information.',
5454
);
5555
}
5656

0 commit comments

Comments
 (0)