Skip to content

Commit

Permalink
fix(doctrine): fix BC break about final filters (api-platform#5815)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon authored Sep 13, 2023
1 parent 2c86ca3 commit fb8cfef
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 14 deletions.
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/BooleanFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
* @author Amrouche Hamza <[email protected]>
* @author Teoh Han Hui <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class BooleanFilter extends AbstractFilter
class BooleanFilter extends AbstractFilter
{
use BooleanFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/DateFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
* @author Kévin Dunglas <[email protected]>
* @author Théo FIDRY <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class DateFilter extends AbstractFilter implements DateFilterInterface
class DateFilter extends AbstractFilter implements DateFilterInterface
{
use DateFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/ExistsFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
*
* @author Teoh Han Hui <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class ExistsFilter extends AbstractFilter implements ExistsFilterInterface
class ExistsFilter extends AbstractFilter implements ExistsFilterInterface
{
use ExistsFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/NumericFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
* @author Amrouche Hamza <[email protected]>
* @author Teoh Han Hui <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class NumericFilter extends AbstractFilter
class NumericFilter extends AbstractFilter
{
use NumericFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/OrderFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
* @author Kévin Dunglas <[email protected]>
* @author Théo FIDRY <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class OrderFilter extends AbstractFilter implements OrderFilterInterface
class OrderFilter extends AbstractFilter implements OrderFilterInterface
{
use OrderFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/RangeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
*
* @author Lee Siong Chan <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class RangeFilter extends AbstractFilter implements RangeFilterInterface
class RangeFilter extends AbstractFilter implements RangeFilterInterface
{
use RangeFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Odm/Filter/SearchFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
*
* @author Kévin Dunglas <[email protected]>
* @author Alan Poulain <[email protected]>
*
* @final
*/
final class SearchFilter extends AbstractFilter implements SearchFilterInterface
class SearchFilter extends AbstractFilter implements SearchFilterInterface
{
use SearchFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/BooleanFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
*
* @author Amrouche Hamza <[email protected]>
* @author Teoh Han Hui <[email protected]>
*
* @final
*/
final class BooleanFilter extends AbstractFilter
class BooleanFilter extends AbstractFilter
{
use BooleanFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/DateFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
*
* @author Kévin Dunglas <[email protected]>
* @author Théo FIDRY <[email protected]>
*
* @final
*/
final class DateFilter extends AbstractFilter implements DateFilterInterface
class DateFilter extends AbstractFilter implements DateFilterInterface
{
use DateFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/ExistsFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
* Interpretation: filter products which have a brand
*
* @author Teoh Han Hui <[email protected]>
*
* @final
*/
final class ExistsFilter extends AbstractFilter implements ExistsFilterInterface
class ExistsFilter extends AbstractFilter implements ExistsFilterInterface
{
use ExistsFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/NumericFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
*
* @author Amrouche Hamza <[email protected]>
* @author Teoh Han Hui <[email protected]>
*
* @final
*/
final class NumericFilter extends AbstractFilter
class NumericFilter extends AbstractFilter
{
use NumericFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/OrderFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
*
* @author Kévin Dunglas <[email protected]>
* @author Théo FIDRY <[email protected]>
*
* @final
*/
final class OrderFilter extends AbstractFilter implements OrderFilterInterface
class OrderFilter extends AbstractFilter implements OrderFilterInterface
{
use OrderFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/RangeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
* Filters the collection by range.
*
* @author Lee Siong Chan <[email protected]>
*
* @final
*/
final class RangeFilter extends AbstractFilter implements RangeFilterInterface
class RangeFilter extends AbstractFilter implements RangeFilterInterface
{
use RangeFilterTrait;

Expand Down
4 changes: 3 additions & 1 deletion src/Doctrine/Orm/Filter/SearchFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
* Filter the collection by given properties.
*
* @author Kévin Dunglas <[email protected]>
*
* @final
*/
final class SearchFilter extends AbstractFilter implements SearchFilterInterface
class SearchFilter extends AbstractFilter implements SearchFilterInterface
{
use SearchFilterTrait;

Expand Down

0 comments on commit fb8cfef

Please sign in to comment.