Skip to content

Commit

Permalink
EZP-29140: Deprecate things
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Feb 19, 2019
1 parent c8ea67b commit 7a4105d
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bundle/Controller/UserRegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use EzSystems\EzPlatformUserBundle\Controller\UserRegisterController as BaseUserRegisterController;

/**
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUserBundle\Controller\UserRegisterController instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUserBundle\Controller\UserRegisterController instead.
*/
class UserRegisterController extends BaseUserRegisterController
{
Expand Down
2 changes: 0 additions & 2 deletions bundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ services:
calls:
- [setViewTemplate, ['EzSystems\RepositoryForms\User\View\UserCreateView', "$user_edit.templates.create$"]]
- [setViewTemplate, ['EzSystems\RepositoryForms\User\View\UserUpdateView', "$user_edit.templates.update$"]]
- [setViewTemplate, ['EzSystems\EzPlatformUser\View\UserRegisterFormView', "$user_registration.templates.form$"]]
- [setViewTemplate, ['EzSystems\EzPlatformUser\View\UserRegisterConfirmView', "$user_registration.templates.confirmation$"]]
- [setViewTemplate, ['EzSystems\RepositoryForms\Content\View\ContentCreateDraftView', "$content_edit.templates.create_draft$"]]
- [setPagelayout, ["$pagelayout$"]]

Expand Down
2 changes: 1 addition & 1 deletion lib/Data/User/UserRegisterData.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use EzSystems\EzPlatformUser\Form\Data\UserRegisterData as BaseUserRegisterData;

/**
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\Form\Data\UserRegisterData instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\Form\Data\UserRegisterData instead.
*/
class UserRegisterData extends BaseUserRegisterData
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Form/Processor/User/UserRegisterFormProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* Listens for and processes User register events.
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\Form\Processor\UserRegisterFormProcessor instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\Form\Processor\UserRegisterFormProcessor instead.
*/
class UserRegisterFormProcessor extends BaseUserRegisterFormProcessor
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Form/Type/User/UserRegisterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Form type for content edition (create/update).
* Underlying data will be either \EzSystems\RepositoryForms\Data\Content\ContentCreateData or \EzSystems\RepositoryForms\Data\Content\ContentUpdateData
* depending on the context (create or update).
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\Form\Type\UserRegisterType instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\Form\Type\UserRegisterType instead.
*/
class UserRegisterType extends BaseUserRegisterType
{
Expand Down
2 changes: 1 addition & 1 deletion lib/User/ConfigurableRegistrationContentTypeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* Loads the registration content type from a configured, injected content type identifier.
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\ConfigurableRegistrationContentTypeLoader instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\ConfigurableRegistrationContentTypeLoader instead.
*/
class ConfigurableRegistrationContentTypeLoader extends BaseConfigurableRegistrationContentTypeLoader
{
Expand Down
2 changes: 1 addition & 1 deletion lib/User/ConfigurableRegistrationGroupLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* Loads the registration user group from a configured, injected group ID.
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\ConfigurableRegistrationGroupLoader instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\ConfigurableRegistrationGroupLoader instead.
*/
class ConfigurableRegistrationGroupLoader extends BaseConfigurableRegistrationGroupLoader
{
Expand Down
1 change: 1 addition & 0 deletions lib/User/ConfigurableSudoRepositoryLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace EzSystems\RepositoryForms\User;

use EzSystems\RepositoryForms\ConfigResolver\ConfigurableSudoRepositoryLoader as BaseConfigurableSudoRepositoryLoader;

/**
* A repository data loader that uses the sudo() method.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/User/RegistrationContentTypeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* Loads the content type used by user registration.
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\RegistrationContentTypeLoader instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\RegistrationContentTypeLoader instead.
*/
interface RegistrationContentTypeLoader extends BaseRegistrationContentTypeLoader
{
Expand Down
2 changes: 1 addition & 1 deletion lib/User/RegistrationGroupLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* Used to load a user group during registration.
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\RegistrationGroupLoader instead.
* @deprecated Deprecated in 1.5 and will be removed in 2.0. Please use \EzSystems\EzPlatformUser\ConfigResolver\RegistrationGroupLoader instead.
*/
interface RegistrationGroupLoader extends BaseRegistrationGroupLoader
{
Expand Down
2 changes: 1 addition & 1 deletion lib/User/View/UserRegisterConfirmView.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
namespace EzSystems\RepositoryForms\User\View;

use EzSystems\EzPlatformUser\View\UserRegisterConfirmView as BaseRegisterConfirmView;
use EzSystems\EzPlatformUser\View\ForgotPassword\UserRegisterConfirmView as BaseRegisterConfirmView;

/**
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use EzSystems\EzPlatformUser\View\UserRegisterConfirmView instead.
Expand Down
2 changes: 1 addition & 1 deletion lib/User/View/UserRegisterFormView.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
namespace EzSystems\RepositoryForms\User\View;

use EzSystems\EzPlatformUser\View\UserRegisterFormView as BaseUserRegisterFormView;
use EzSystems\EzPlatformUser\View\ForgotPassword\UserRegisterFormView as BaseUserRegisterFormView;

/**
* @deprecated Deprecated in 1.1 and will be removed in 2.0. Please use EzSystems\EzPlatformUser\View\UserRegisterFormView instead.
Expand Down

0 comments on commit 7a4105d

Please sign in to comment.