Skip to content

Commit

Permalink
Merge pull request #200 from saimaz/deprecations
Browse files Browse the repository at this point in the history
Added deprecations
  • Loading branch information
saimaz committed Oct 12, 2016
2 parents b5feec4 + 80ff75b commit a75d14b
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/AbstractFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Filter factory abstraction.
*
* @deprecated Filter factories will be deleted in 2.0
*/
abstract class AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/ChoiceFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for choice filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class ChoiceFilterFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/DateRangeFilterFactory.php
Expand Up @@ -13,6 +13,8 @@

/**
* Factory for range filter on date fields.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class DateRangeFilterFactory extends RangeFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/DocumentValueFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for field_value factory.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class DocumentValueFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/FieldValueFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for field_value factory.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class FieldValueFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/FuzzyFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for fuzzy filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class FuzzyFilterFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/MatchFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for match filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class MatchFilterFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/MultiChoiceFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for multi choice filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class MultiChoiceFilterFactory extends ChoiceFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/PagerFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for pager filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class PagerFilterFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/RangeFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for range filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class RangeFilterFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Filter/SortFilterFactory.php
Expand Up @@ -15,6 +15,8 @@

/**
* Factory for sort filter.
*
* @deprecated Filter factories will be deleted in 2.0
*/
class SortFilterFactory extends AbstractFilterFactory
{
Expand Down
2 changes: 2 additions & 0 deletions Filter/Helper/FieldAwareInterface.php
Expand Up @@ -13,6 +13,8 @@

/**
* This interface define structure for elasticsearch field aware filters.
*
* @deprecated FieldAwareInterface will be changed to DocumentFieldAwareInterface in 2.0
*/
interface FieldAwareInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Filter/Helper/FieldAwareTrait.php
Expand Up @@ -13,6 +13,8 @@

/**
* This trait defines methods for elasticsearch field value aware filters.
*
* @deprecated FieldAwareTrait will be changed to DocumentFieldAwareTrait in 2.0
*/
trait FieldAwareTrait
{
Expand Down
2 changes: 2 additions & 0 deletions Filter/Widget/AbstractSingleRequestValueFilter.php
Expand Up @@ -18,6 +18,8 @@

/**
* This class generalises filters using single field value from request.
*
* @deprecated Will be renamed to AbstractFilter.
*/
abstract class AbstractSingleRequestValueFilter implements FilterInterface
{
Expand Down

0 comments on commit a75d14b

Please sign in to comment.