Skip to content

Commit

Permalink
EZP-31651: Moved deprecacation time to version 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Jun 22, 2020
1 parent a5f26a0 commit 84289be
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 16 deletions.
1 change: 1 addition & 0 deletions src/bundle/Resources/config/services/query_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ services:
EzSystems\EzPlatformAdminUi\QueryType\MediaSubtreeQueryType: ~

EzSystems\EzPlatformAdminUi\QueryType\SearchQueryType:
deprecated: 'Service "%service_id%" is deprecated since 3.1 and will be removed in 3.2. Use "Ibexa\Platform\Search\QueryType\SearchQueryType" instead'
arguments:
$searchService: '@ezpublish.api.service.search'
2 changes: 1 addition & 1 deletion src/lib/Form/Data/Search/SearchData.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class_alias(

if (false) {
/**
* @deprecated since 3.1, to be removed in 4.0.
* @deprecated since 3.1, to be removed in 3.2.
* Use \Ibexa\Platform\Bundle\SearchBundle\Form\Data\SearchData instead
*/
class SearchData extends \Ibexa\Platform\Bundle\SearchBundle\Form\Data\SearchData
Expand Down
3 changes: 0 additions & 3 deletions src/lib/Form/Type/Date/DateIntervalType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@

class DateIntervalType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Type/Search/DateIntervalType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class_alias(

if (false) {
/**
* @deprecated since 3.1, to be removed in 4.0.
* @deprecated since 3.1, to be removed in 3.2.
* Use \EzSystems\EzPlatformAdminUi\Form\Type\Date\DateIntervalType instead
*/
class DateIntervalType extends \EzSystems\EzPlatformAdminUi\Form\Type\Date\DateIntervalType
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Type/Search/SearchType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class_alias(

if (false) {
/**
* @deprecated since 3.1, to be removed in 4.0.
* @deprecated since 3.1, to be removed in 3.2.
* Use \Ibexa\Platform\Bundle\SearchBundle\Form\Type\SearchType instead
*/
class SearchType extends \Ibexa\Platform\Bundle\SearchBundle\Form\Type\SearchType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ abstract class AbstractPagerContentToDataMapper
/** @var \eZ\Publish\API\Repository\LanguageService */
private $languageService;

/**
* @param \eZ\Publish\API\Repository\ContentTypeService $contentTypeService
* @param \eZ\Publish\API\Repository\UserService $userService
* @param \eZ\Publish\Core\MVC\Symfony\Locale\UserLanguagePreferenceProviderInterface $userLanguagePreferenceProvider
* @param \eZ\Publish\Core\Helper\TranslationHelper $translationHelper
* @param \eZ\Publish\API\Repository\LanguageService $languageService
*/
public function __construct(
ContentTypeService $contentTypeService,
UserService $userService,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/QueryType/SearchQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class_alias(

if (false) {
/**
* @deprecated since 3.1, to be removed in 4.0.
* @deprecated since 3.1, to be removed in 3.2.
* Use \Ibexa\Platform\Search\QueryType\SearchQueryType instead
*/
class SearchQueryType extends \Ibexa\Platform\Search\QueryType\SearchQueryType
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Search/AbstractPagerContentToDataMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class_alias(

if (false) {
/**
* @deprecated since 3.1, to be removed in 4.0.
* @deprecated since 3.1, to be removed in 3.2.
* Use \EzSystems\EzPlatformAdminUi\Pagination\Mapper\AbstractPagerContentToDataMapper instead
*/
abstract class AbstractPagerContentToDataMapper extends \EzSystems\EzPlatformAdminUi\Pagination\Mapper\AbstractPagerContentToDataMapper
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Search/PagerSearchContentToDataMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class_alias(

if (false) {
/**
* @deprecated since 3.1, to be removed in 4.0.
* @deprecated since 3.1, to be removed in 3.2.
* Use \Ibexa\Platform\Search\Mapper\PagerSearchContentToDataMapper instead
*/
class PagerSearchContentToDataMapper extends \Ibexa\Platform\Search\Mapper\PagerSearchContentToDataMapper
Expand Down

0 comments on commit 84289be

Please sign in to comment.