Skip to content

Commit

Permalink
Replace occurrences of 3.x
Browse files Browse the repository at this point in the history
I forgot to do so but automated the check, things should be better from
now on.
  • Loading branch information
greg0ire committed Mar 3, 2019
1 parent d431454 commit d0a67fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Block/BlockServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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
*
Expand Down
4 changes: 2 additions & 2 deletions src/Templating/Helper/BlockHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit d0a67fc

Please sign in to comment.