diff --git a/src/Block/BlockServiceInterface.php b/src/Block/BlockServiceInterface.php index af9569ce..b2f867fd 100644 --- a/src/Block/BlockServiceInterface.php +++ b/src/Block/BlockServiceInterface.php @@ -58,7 +58,7 @@ public function setDefaultSettings(OptionsResolverInterface $resolver); public function load(BlockInterface $block); /** - * @deprecated since 3.x, to be removed in 4.0 + * @deprecated since 3.13.0, to be removed in 4.0 * * @param string $media * @@ -67,7 +67,7 @@ public function load(BlockInterface $block); public function getJavascripts($media); /** - * @deprecated since 3.x, to be removed in 4.0 + * @deprecated since 3.13.0, to be removed in 4.0 * * @param string $media * diff --git a/src/Templating/Helper/BlockHelper.php b/src/Templating/Helper/BlockHelper.php index 5c081d9c..b44f6f54 100644 --- a/src/Templating/Helper/BlockHelper.php +++ b/src/Templating/Helper/BlockHelper.php @@ -339,14 +339,14 @@ protected function computeAssets(BlockContextInterface $blockContext, array &$st if (\count($assets['js']) > 0) { @trigger_error( - 'Defining javascripts assets inside a block is deprecated since 3.x and will be removed in 4.0', + 'Defining javascripts assets inside a block is deprecated since 3.3.0 and will be removed in 4.0', E_USER_DEPRECATED ); } if (\count($assets['css']) > 0) { @trigger_error( - 'Defining css assets inside a block is deprecated since 3.x and will be removed in 4.0', + 'Defining css assets inside a block is deprecated since 3.2.0 and will be removed in 4.0', E_USER_DEPRECATED ); }