-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ebe82c8
commit 79a2c65
Showing
4 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
/** | ||
* @author Hugo Briand <[email protected]> | ||
* | ||
* @final since sonata-project/block-bundle 4.x | ||
* @final since sonata-project/block-bundle 4.18 | ||
*/ | ||
class MenuBlockService extends AbstractMenuBlockService implements EditableBlockService | ||
{ | ||
|
@@ -76,26 +76,26 @@ public function configureSettings(OptionsResolver $resolver): void | |
$resolver->setDeprecated( | ||
'current_uri', | ||
...$this->deprecationParameters( | ||
'4.x', | ||
'Option "current_uri" is deprecated since sonata-project/block-bundle 4.x and will be removed in 5.0.' | ||
'4.18', | ||
'Option "current_uri" is deprecated since sonata-project/block-bundle 4.18 and will be removed in 5.0.' | ||
) | ||
); | ||
|
||
// NEXT_MAJOR: Remove setDeprecated. | ||
$resolver->setDeprecated( | ||
'menu_class', | ||
...$this->deprecationParameters( | ||
'4.x', | ||
'Option "menu_class" is deprecated since sonata-project/block-bundle 4.x and will be removed in 5.0.' | ||
'4.18', | ||
'Option "menu_class" is deprecated since sonata-project/block-bundle 4.18 and will be removed in 5.0.' | ||
) | ||
); | ||
|
||
// NEXT_MAJOR: Remove setDeprecated. | ||
$resolver->setDeprecated( | ||
'children_class', | ||
...$this->deprecationParameters( | ||
'4.x', | ||
'Option "children_class" is deprecated since sonata-project/block-bundle 4.x and will be removed in 5.0.' | ||
'4.18', | ||
'Option "children_class" is deprecated since sonata-project/block-bundle 4.18 and will be removed in 5.0.' | ||
) | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters