Skip to content

Commit e040aab

Browse files
committed
Merge branch 'release/3.4.0'
2 parents b75fb2d + 156aac1 commit e040aab

10 files changed

Lines changed: 28 additions & 2 deletions

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. This projec
55

66
## Unreleased
77

8+
## [3.4.0] - 2025-09-09
9+
10+
### Deprecated
11+
12+
- All identifier list classes are deprecated and will be removed in 4.0. These were not documented and are being removed
13+
as they contain very limited functionality. Implementations can ship their own identifier list classes depending on
14+
their unique needs. The classes deprecated are:
15+
- `LazyListOfGuids`
16+
- `LazyListOfIdentifiers`
17+
- `LazyListOfIntegerIds`
18+
- `LazyListOfStringIds`
19+
- `LazyListOfUuids`
20+
- `ListOfIdentifiers`
21+
822
## [3.3.1] - 2025-08-10
923

1024
### Fixed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"php": "^8.1",
2525
"ext-json": "*",
2626
"psr/log": "^1.0.1 || ^2.0 || ^3.0",
27-
"ramsey/uuid": "^4.7"
27+
"ramsey/uuid": "^4.7",
28+
"symfony/polyfill-php84": "^1.33"
2829
},
2930
"require-dev": {
3031
"deptrac/deptrac": "^3.0",

deptrac.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,13 @@ deptrac:
3232
collectors:
3333
- type: classLike
3434
value: Psr\\Log\\*
35+
- name: Attributes
36+
collectors:
37+
- type: classLike
38+
value: ^Deprecated$
3539
ruleset:
3640
Toolkit:
41+
- Attributes
3742
Domain:
3843
- Toolkit
3944
Application:

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
cacheDirectory=".phpunit.cache"
1212
backupStaticProperties="false"
1313
failOnWarning="true"
14-
failOnDeprecation="true"
14+
failOnDeprecation="false"
1515
failOnNotice="true"
1616
>
1717
<coverage/>

src/Toolkit/Identifiers/LazyListOfGuids.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ final class LazyListOfGuids implements LazyList
3434
*
3535
* @param Closure(): Generator<Guid>|null $source
3636
*/
37+
#[\Deprecated(since: '3.4')]
3738
public function __construct(?Closure $source = null)
3839
{
3940
$this->source = $source;

src/Toolkit/Identifiers/LazyListOfIdentifiers.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ final class LazyListOfIdentifiers implements LazyList
3131
*
3232
* @param Closure(): Generator<Identifier>|null $source
3333
*/
34+
#[\Deprecated(since: '3.4')]
3435
public function __construct(?Closure $source = null)
3536
{
3637
$this->source = $source;

src/Toolkit/Identifiers/LazyListOfIntegerIds.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ final class LazyListOfIntegerIds implements LazyList
3030
*
3131
* @param Closure(): Generator<IntegerId>|null $source
3232
*/
33+
#[\Deprecated(since: '3.4')]
3334
public function __construct(?Closure $source = null)
3435
{
3536
$this->source = $source;

src/Toolkit/Identifiers/LazyListOfStringIds.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ final class LazyListOfStringIds implements LazyList
3030
*
3131
* @param Closure(): Generator<StringId>|null $source
3232
*/
33+
#[\Deprecated(since: '3.4')]
3334
public function __construct(?Closure $source = null)
3435
{
3536
$this->source = $source;

src/Toolkit/Identifiers/LazyListOfUuids.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ final class LazyListOfUuids implements LazyList
3131
*
3232
* @param Closure(): Generator<Uuid>|null $source
3333
*/
34+
#[\Deprecated(since: '3.4')]
3435
public function __construct(?Closure $source = null)
3536
{
3637
$this->source = $source;

src/Toolkit/Identifiers/ListOfIdentifiers.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ final class ListOfIdentifiers implements ListIterator
2929
*
3030
* @param Identifier ...$identifiers
3131
*/
32+
#[\Deprecated(since: '3.4')]
3233
public function __construct(Identifier ...$identifiers)
3334
{
3435
$this->stack = array_values($identifiers);

0 commit comments

Comments
 (0)