diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6b00e771e3b..3722546330d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,7 +72,7 @@ jobs: key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }} - name: "Run DOCtor-RST" - uses: docker://oskarstark/doctor-rst:1.69.0 + uses: docker://oskarstark/doctor-rst:1.69.1 with: args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache diff --git a/cache.rst b/cache.rst index 2dec1e6a758..bcd282af670 100644 --- a/cache.rst +++ b/cache.rst @@ -975,9 +975,9 @@ a message bus to compute values in a worker: .. code-block:: php // config/framework/framework.php - use function Symfony\Component\DependencyInjection\Loader\Configurator\env; use Symfony\Component\Cache\Messenger\EarlyExpirationMessage; use Symfony\Config\FrameworkConfig; + use function Symfony\Component\DependencyInjection\Loader\Configurator\env; return static function (FrameworkConfig $framework): void { $framework->cache() diff --git a/mailer.rst b/mailer.rst index 52c6ee7dded..b1976444ac3 100644 --- a/mailer.rst +++ b/mailer.rst @@ -54,8 +54,8 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``, .. code-block:: php // config/packages/mailer.php - use function Symfony\Component\DependencyInjection\Loader\Configurator\env; use Symfony\Config\FrameworkConfig; + use function Symfony\Component\DependencyInjection\Loader\Configurator\env; return static function (FrameworkConfig $framework): void { $framework->mailer()->dsn(env('MAILER_DSN')); @@ -1411,8 +1411,8 @@ This can be configured by replacing the ``dsn`` configuration entry with a .. code-block:: php // config/packages/mailer.php - use function Symfony\Component\DependencyInjection\Loader\Configurator\env; use Symfony\Config\FrameworkConfig; + use function Symfony\Component\DependencyInjection\Loader\Configurator\env; return static function (FrameworkConfig $framework): void { $framework->mailer() diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 83cbc0e1135..6376c057940 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1712,8 +1712,8 @@ and also to configure the session handler with a DSN: .. code-block:: php // config/packages/framework.php - use function Symfony\Component\DependencyInjection\Loader\Configurator\env; use Symfony\Config\FrameworkConfig; + use function Symfony\Component\DependencyInjection\Loader\Configurator\env; return static function (FrameworkConfig $framework): void { // ... diff --git a/templates.rst b/templates.rst index 5e34b930d0e..0041077dfed 100644 --- a/templates.rst +++ b/templates.rst @@ -510,8 +510,8 @@ in container parameters `: .. code-block:: php // config/packages/twig.php - use function Symfony\Component\DependencyInjection\Loader\Configurator\service; use Symfony\Config\TwigConfig; + use function Symfony\Component\DependencyInjection\Loader\Configurator\service; return static function (TwigConfig $twig): void { // ...