Skip to content

Commit

Permalink
EZP-32340: Fixed FieldTypeProcessorPass::{FIELD_TYPE_PROCESSOR_SERVIC…
Browse files Browse the repository at this point in the history
…E_TAG,DEPRECATED_FIELD_TYPE_PROCESSOR_SERVICE_TAG} access modifier (#64)
  • Loading branch information
adamwojs authored Feb 19, 2021
1 parent 3124299 commit 20dd6c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class FieldTypeProcessorPass implements CompilerPassInterface
{
public const FIELD_TYPE_PROCESSOR_SERVICE_TAG = 'ibexa.rest.field_type.processor';
public const DEPRECATED_FIELD_TYPE_PROCESSOR_SERVICE_TAG = 'ezpublish_rest.field_type_processor';
private const FIELD_TYPE_PROCESSOR_SERVICE_TAG = 'ibexa.rest.field_type.processor';
private const DEPRECATED_FIELD_TYPE_PROCESSOR_SERVICE_TAG = 'ezpublish_rest.field_type_processor';

public function process(ContainerBuilder $container)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testProcess(string $tag): void

public function dataProviderForProcess(): iterable
{
yield [FieldTypeProcessorPass::FIELD_TYPE_PROCESSOR_SERVICE_TAG];
yield [FieldTypeProcessorPass::DEPRECATED_FIELD_TYPE_PROCESSOR_SERVICE_TAG];
yield ['ibexa.rest.field_type.processor'];
yield ['ezpublish_rest.field_type_processor'];
}
}

0 comments on commit 20dd6c5

Please sign in to comment.