8000 feature #22828 [Finder] Deprecate FilterIterator (ogizanagi) · symfony/symfony@08aa6a8 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 08aa6a8

Browse files
feature #22828 [Finder] Deprecate FilterIterator (ogizanagi)
This PR was merged into the 3.4 branch. Discussion ---------- [Finder] Deprecate FilterIterator | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | yes <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | #22820 (review) | License | MIT | Doc PR | N/A Commits ------- 946066c [Finder] Deprecate FilterIterator
2 parents bb2a2e2 + 946066c commit 08aa6a8

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

UPGRADE-3.4.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
UPGRADE FROM 3.3 to 3.4
22
=======================
33

4+
Finder
5+
------
6+
7+
* The `Symfony\Component\Finder\Iterator\FilterIterator` class has been
8+
deprecated and will be removed in 4.0 as it used to fix a bug which existed
9+
before version 5.5.23/5.6.7
10+
411
Validator
512
---------
613

UPGRADE-4.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ Finder
145145
------
146146

147147
* The `ExceptionInterface` has been removed.
148+
* The `Symfony\Component\Finder\Iterator\FilterIterator` class has been
149+
removed as it used to fix a bug which existed before version 5.5.23/5.6.7
148150

149151
Form
150152
----

src/Symfony/Component/Finder/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
3.4.0
5+
-----
6+
7+
* deprecated `Symfony\Component\Finder\Iterator\FilterIterator`
8+
49
3.3.0
510
-----
611

src/Symfony/Component/Finder/Iterator/FilterIterator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* @see https://bugs.php.net/68557
1919
*
2020
* @author Alex Bogomazov
21+
*
22+
* @deprecated since 3.4, to be removed in 4.0.
2123
*/
2224
abstract class FilterIterator extends \FilterIterator
2325
{

src/Symfony/Component/Finder/Tests/Iterator/FilterIteratorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* @author Alex Bogomazov
16+
*
17+
* @group legacy
1618
*/
1719
class FilterIteratorTest extends RealIteratorTestCase
1820
{

0 commit comments

Comments
 (0)
0