From 4c8311fc44affb6cd7170e42da741de94cf1231c Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sun, 9 May 2021 23:25:58 +0200 Subject: [PATCH] 3.99.0 (#7177) * 3.99.0 * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti * Update CHANGELOG.md Co-authored-by: Javier Spagnoletti Co-authored-by: Javier Spagnoletti --- CHANGELOG.md | 19 ++++++ .../recipe_decouple_crud_controller.rst | 4 +- src/Builder/AbstractFormContractor.php | 8 +-- src/Datagrid/Pager.php | 34 +++++----- src/Datagrid/SimplePager.php | 2 +- src/DependencyInjection/Configuration.php | 2 +- src/FieldDescription/BaseFieldDescription.php | 66 +++++++++---------- src/Filter/Filter.php | 44 ++++++------- src/Mapper/BaseGroupedMapper.php | 22 +++---- src/Templating/AbstractTemplateRegistry.php | 6 +- src/Util/ObjectAclManipulator.php | 2 +- 11 files changed, 114 insertions(+), 95 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 831b9352a0..6e1ddd33c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [3.99.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.98.2...3.99.0) - 2021-05-09 +### Added +- [[#7077](https://github.com/sonata-project/SonataAdminBundle/pull/7077)] Added `default_admin_services` config key to overwrite the default services provided to all the admin ([@VincentLanglet](https://github.com/VincentLanglet)) +- [[#7144](https://github.com/sonata-project/SonataAdminBundle/pull/7144)] Added `AdminExtensionInterface::configure()` method ([@yann-eugone](https://github.com/yann-eugone)) +- [[#7144](https://github.com/sonata-project/SonataAdminBundle/pull/7144)] Added `AbstractAdminExtension::configure()` method with no content ([@yann-eugone](https://github.com/yann-eugone)) +- [[#6950](https://github.com/sonata-project/SonataAdminBundle/pull/6950)] Added `AdminFetcher` to fetch the `Admin` service associated to a request ([@franmomu](https://github.com/franmomu)) +- [[#6950](https://github.com/sonata-project/SonataAdminBundle/pull/6950)] Added `AdminParamConverter` to be able to inject an Admin service in a controller ([@franmomu](https://github.com/franmomu)) +- [[#7108](https://github.com/sonata-project/SonataAdminBundle/pull/7108)] `final` for method of every abstract classes ([@VincentLanglet](https://github.com/VincentLanglet)) + +### Changed +- [[#7144](https://github.com/sonata-project/SonataAdminBundle/pull/7144)] Changed `AbstractAdmin::initialize()` and call `AdminExtensionInterface::configure()` on each extension ([@yann-eugone](https://github.com/yann-eugone)) + +### Deprecated +- [[#7077](https://github.com/sonata-project/SonataAdminBundle/pull/7077)] Deprecated `admin_services` config key ([@VincentLanglet](https://github.com/VincentLanglet)) + +### Fixed +- [[#7162](https://github.com/sonata-project/SonataAdminBundle/pull/7162)] Fix font route to be relative and not absolute ([@jordisala1991](https://github.com/jordisala1991)) +- [[#7149](https://github.com/sonata-project/SonataAdminBundle/pull/7149)] `ProxyQuery::execute()` return type; it doesn't require to be an instance of `Countable` ([@VincentLanglet](https://github.com/VincentLanglet)) + ## [3.98.2](https://github.com/sonata-project/SonataAdminBundle/compare/3.98.1...3.98.2) - 2021-05-01 ### Fixed - [[#7132](https://github.com/sonata-project/SonataAdminBundle/pull/7132)] Fixed inclusion of Source Sans Pro as main font ([@jordisala1991](https://github.com/jordisala1991)) diff --git a/docs/cookbook/recipe_decouple_crud_controller.rst b/docs/cookbook/recipe_decouple_crud_controller.rst index 51bcd9ba98..ae36943a82 100644 --- a/docs/cookbook/recipe_decouple_crud_controller.rst +++ b/docs/cookbook/recipe_decouple_crud_controller.rst @@ -1,9 +1,9 @@ Decouple from CRUDController ============================ -.. versionadded:: 3.x +.. versionadded:: 3.99 - The ability to inject an Admin to an action and ``AdminFetcherInterface`` service were introduced in 3.x. + The ability to inject an Admin to an action and ``AdminFetcherInterface`` service were introduced in 3.99. When creating custom actions, we can create our controllers without extending ``CRUDController``. What we usually need is to access the ``admin`` instance associated to the action, to do so we can use a param converter or diff --git a/src/Builder/AbstractFormContractor.php b/src/Builder/AbstractFormContractor.php index 26e45238b7..456fc6c027 100644 --- a/src/Builder/AbstractFormContractor.php +++ b/src/Builder/AbstractFormContractor.php @@ -39,7 +39,7 @@ public function __construct(FormFactoryInterface $formFactory) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function fixFieldDescription(AdminInterface $admin, FieldDescriptionInterface $fieldDescription) { @@ -52,7 +52,7 @@ public function fixFieldDescription(AdminInterface $admin, FieldDescriptionInter } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return FormFactoryInterface */ @@ -62,7 +62,7 @@ public function getFormFactory() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFormBuilder($name, array $formOptions = []) { @@ -70,7 +70,7 @@ public function getFormBuilder($name, array $formOptions = []) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getDefaultOptions($type, FieldDescriptionInterface $fieldDescription) { diff --git a/src/Datagrid/Pager.php b/src/Datagrid/Pager.php index 6055d152f8..e31ed21927 100644 --- a/src/Datagrid/Pager.php +++ b/src/Datagrid/Pager.php @@ -196,7 +196,7 @@ public function setMaxRecordLimit($limit) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Returns an array of page numbers to use in pagination links. * @@ -227,7 +227,7 @@ public function getLinks($nbLinks = null) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Returns true if the current query requires pagination. * @@ -483,7 +483,7 @@ public function getNbResults() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return int */ @@ -493,7 +493,7 @@ public function getFirstPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return int */ @@ -503,7 +503,7 @@ public function getLastPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return int */ @@ -513,7 +513,7 @@ public function getPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return int */ @@ -523,7 +523,7 @@ public function getNextPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return int */ @@ -533,7 +533,7 @@ public function getPreviousPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setPage($page) { @@ -546,7 +546,7 @@ public function setPage($page) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getMaxPerPage() { @@ -554,7 +554,7 @@ public function getMaxPerPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setMaxPerPage($max) { @@ -577,7 +577,7 @@ public function setMaxPerPage($max) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getMaxPageLinks() { @@ -585,7 +585,7 @@ public function getMaxPageLinks() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setMaxPageLinks($maxPageLinks) { @@ -593,7 +593,7 @@ public function setMaxPageLinks($maxPageLinks) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Returns true if on the first page. * @@ -605,7 +605,7 @@ public function isFirstPage() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Returns true if on the last page. * @@ -888,7 +888,7 @@ public function setCountColumn(array $countColumn) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setQuery($query) { @@ -896,7 +896,7 @@ public function setQuery($query) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return ProxyQueryInterface|null * @@ -927,7 +927,7 @@ protected function setNbResults($nb) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @param int $page * diff --git a/src/Datagrid/SimplePager.php b/src/Datagrid/SimplePager.php index 8e8338b788..862adb7c66 100644 --- a/src/Datagrid/SimplePager.php +++ b/src/Datagrid/SimplePager.php @@ -36,7 +36,7 @@ class SimplePager extends Pager /** * NEXT_MAJOR: Remove this property. * - * @deprecated since sonata-project/admin-bundle 3.x + * @deprecated since sonata-project/admin-bundle 3.99 * * @var bool */ diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 944d3c6dad..53183ebf52 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -366,7 +366,7 @@ public function getConfigTreeBuilder() ->end() // NEXT_MAJOR: Remove this node. ->arrayNode('admin_services') - ->setDeprecated('The "%node%" option is deprecated since sonata-project/admin-bundle 3.x.') + ->setDeprecated('The "%node%" option is deprecated since sonata-project/admin-bundle 3.99.') ->prototype('array') ->children() ->scalarNode('model_manager')->defaultNull()->end() diff --git a/src/FieldDescription/BaseFieldDescription.php b/src/FieldDescription/BaseFieldDescription.php index d9e7d94d78..99c3ff79cf 100644 --- a/src/FieldDescription/BaseFieldDescription.php +++ b/src/FieldDescription/BaseFieldDescription.php @@ -208,7 +208,7 @@ public function setFieldName($fieldName) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldName() { @@ -216,7 +216,7 @@ public function getFieldName() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setName($name) { @@ -229,7 +229,7 @@ public function setName($name) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getName() { @@ -237,7 +237,7 @@ public function getName() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getOption($name, $default = null) { @@ -245,7 +245,7 @@ public function getOption($name, $default = null) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setOption($name, $value) { @@ -253,7 +253,7 @@ public function setOption($name, $value) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setOptions(array $options) { @@ -297,7 +297,7 @@ public function setOptions(array $options) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getOptions() { @@ -305,7 +305,7 @@ public function getOptions() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setTemplate($template) { @@ -313,7 +313,7 @@ public function setTemplate($template) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getTemplate() { @@ -329,7 +329,7 @@ public function getTemplate() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setType($type) { @@ -337,7 +337,7 @@ public function setType($type) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getType() { @@ -345,7 +345,7 @@ public function getType() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setParent(AdminInterface $parent) { @@ -353,7 +353,7 @@ public function setParent(AdminInterface $parent) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getParent() { @@ -375,7 +375,7 @@ public function getParent() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function hasParent() { @@ -383,7 +383,7 @@ public function hasParent() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getAssociationMapping() { @@ -391,7 +391,7 @@ public function getAssociationMapping() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldMapping() { @@ -399,7 +399,7 @@ public function getFieldMapping() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getParentAssociationMappings() { @@ -407,7 +407,7 @@ public function getParentAssociationMappings() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setAssociationAdmin(AdminInterface $associationAdmin) { @@ -416,7 +416,7 @@ public function setAssociationAdmin(AdminInterface $associationAdmin) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getAssociationAdmin() { @@ -439,7 +439,7 @@ public function getAssociationAdmin() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function hasAssociationAdmin() { @@ -449,7 +449,7 @@ public function hasAssociationAdmin() /** * NEXT_MAJOR: Change the visibility to protected. * - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @param object|null $object * @param string $fieldName @@ -586,7 +586,7 @@ public function getFieldValue($object, $fieldName) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setAdmin(AdminInterface $admin) { @@ -594,7 +594,7 @@ public function setAdmin(AdminInterface $admin) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getAdmin() { @@ -616,7 +616,7 @@ public function getAdmin() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function hasAdmin() { @@ -624,7 +624,7 @@ public function hasAdmin() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function mergeOption($name, array $options = []) { @@ -640,7 +640,7 @@ public function mergeOption($name, array $options = []) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function mergeOptions(array $options = []) { @@ -663,7 +663,7 @@ public function setMappingType($mappingType) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getMappingType() { @@ -737,7 +737,7 @@ public function getHelp() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getLabel() { @@ -754,7 +754,7 @@ public function getLabel() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function isSortable() { @@ -762,7 +762,7 @@ public function isSortable() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getSortFieldMapping() { @@ -770,7 +770,7 @@ public function getSortFieldMapping() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getSortParentAssociationMapping() { @@ -778,7 +778,7 @@ public function getSortParentAssociationMapping() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getTranslationDomain() { @@ -788,7 +788,7 @@ public function getTranslationDomain() /** * Return true if field is virtual. * - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return bool */ diff --git a/src/Filter/Filter.php b/src/Filter/Filter.php index b3215c56ee..a4cadcf30f 100644 --- a/src/Filter/Filter.php +++ b/src/Filter/Filter.php @@ -50,7 +50,7 @@ abstract class Filter implements FilterInterface private $active = false; /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function initialize($name, array $options = []) { @@ -59,7 +59,7 @@ public function initialize($name, array $options = []) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getName() { @@ -67,7 +67,7 @@ public function getName() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFormName() { @@ -82,7 +82,7 @@ public function getFormName() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getOption($name, $default = null) { @@ -94,7 +94,7 @@ public function getOption($name, $default = null) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setOption($name, $value) { @@ -102,7 +102,7 @@ public function setOption($name, $value) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldType() { @@ -110,7 +110,7 @@ public function getFieldType() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldOptions() { @@ -118,7 +118,7 @@ public function getFieldOptions() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldOption($name, $default = null) { @@ -130,7 +130,7 @@ public function getFieldOption($name, $default = null) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setFieldOption($name, $value) { @@ -138,7 +138,7 @@ public function setFieldOption($name, $value) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getLabel() { @@ -146,7 +146,7 @@ public function getLabel() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setLabel($label) { @@ -154,7 +154,7 @@ public function setLabel($label) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldName() { @@ -171,7 +171,7 @@ public function getFieldName() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getParentAssociationMappings() { @@ -179,7 +179,7 @@ public function getParentAssociationMappings() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getFieldMapping() { @@ -196,7 +196,7 @@ public function getFieldMapping() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getAssociationMapping() { @@ -213,7 +213,7 @@ public function getAssociationMapping() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setOptions(array $options) { @@ -225,7 +225,7 @@ public function setOptions(array $options) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @return array */ @@ -269,7 +269,7 @@ public function getValue() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function isActive() { @@ -281,7 +281,7 @@ public function isActive() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function setCondition($condition) { @@ -289,7 +289,7 @@ public function setCondition($condition) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getCondition() { @@ -297,7 +297,7 @@ public function getCondition() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getTranslationDomain() { @@ -305,7 +305,7 @@ public function getTranslationDomain() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ protected function setActive(bool $active): void { diff --git a/src/Mapper/BaseGroupedMapper.php b/src/Mapper/BaseGroupedMapper.php index 3a3311eebb..b5f9b4b017 100644 --- a/src/Mapper/BaseGroupedMapper.php +++ b/src/Mapper/BaseGroupedMapper.php @@ -40,7 +40,7 @@ abstract class BaseGroupedMapper extends BaseMapper implements MapperInterface protected $apply = []; /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Add new group or tab (if parameter "tab=true" is available in options). * @@ -177,7 +177,7 @@ public function with($name, array $options = []) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Only nested add if the condition match true. * @@ -193,7 +193,7 @@ public function ifTrue($bool) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Only nested add if the condition match false. * @@ -209,7 +209,7 @@ public function ifFalse($bool) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * @throws \LogicException * @@ -227,7 +227,7 @@ public function ifEnd() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Add new tab. * @@ -242,7 +242,7 @@ public function tab($name, array $options = []) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Close the current group or tab. * @@ -268,7 +268,7 @@ public function end() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Returns a boolean indicating if there is an open tab at the moment. * @@ -280,7 +280,7 @@ public function hasOpenTab() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Removes a group. * @@ -323,7 +323,7 @@ public function removeGroup($group, $tab = 'default', $deleteEmptyTab = false) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Removes a tab. * @@ -388,7 +388,7 @@ protected function getName() } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Add the field name to the current group. * @@ -409,7 +409,7 @@ protected function addFieldToCurrentGroup($fieldName) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Return the name of the currently selected group. The method also makes * sure a valid group name is currently selected. diff --git a/src/Templating/AbstractTemplateRegistry.php b/src/Templating/AbstractTemplateRegistry.php index 79bb39e8de..766513b617 100644 --- a/src/Templating/AbstractTemplateRegistry.php +++ b/src/Templating/AbstractTemplateRegistry.php @@ -29,7 +29,7 @@ public function __construct(array $templates = []) } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function getTemplates(): array { @@ -37,7 +37,7 @@ public function getTemplates(): array } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. */ public function hasTemplate(string $name): bool { @@ -45,7 +45,7 @@ public function hasTemplate(string $name): bool } /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * NEXT_MAJOR: add type hint. * diff --git a/src/Util/ObjectAclManipulator.php b/src/Util/ObjectAclManipulator.php index 0286514f16..851ba7dc23 100644 --- a/src/Util/ObjectAclManipulator.php +++ b/src/Util/ObjectAclManipulator.php @@ -24,7 +24,7 @@ abstract class ObjectAclManipulator implements ObjectAclManipulatorInterface { /** - * @final since sonata-project/admin-bundle 3.x. + * @final since sonata-project/admin-bundle 3.99. * * Configure the object ACL for the passed object identities. *