Skip to content

Commit ccdf41b

Browse files
feature #61067 [Ldap] remove the sizeLimit option of AbstractQuery (xabbuh)
This PR was merged into the 8.0 branch. Discussion ---------- [Ldap] remove the `sizeLimit` option of `AbstractQuery` | Q | A | ------------- | --- | Branch? | 8.0 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | | License | MIT Commits ------- 33094fe remove the sizeLimit option
2 parents c25e61b + 33094fe commit ccdf41b

File tree

4 files changed

+2
-40
lines changed

4 files changed

+2
-40
lines changed

UPGRADE-8.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ Intl
237237
Ldap
238238
----
239239

240+
* Remove the `sizeLimit` option of `AbstractQuery`
240241
* Remove `LdapUser::eraseCredentials()` in favor of `__serialize()`
241242

242243
Mailer

src/Symfony/Component/Ldap/Adapter/AbstractQuery.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public function __construct(
3131
$resolver->setDefaults([
3232
'filter' => '*',
3333
'maxItems' => 0,
34-
'sizeLimit' => 0,
3534
'timeout' => 0,
3635
'deref' => static::DEREF_NEVER,
3736
'attrsOnly' => 0,
@@ -43,8 +42,6 @@ public function __construct(
4342

4443
$resolver->setNormalizer('filter', fn (Options $options, $value) => \is_array($value) ? $value : [$value]);
4544

46-
$resolver->setDeprecated('sizeLimit', 'symfony/ldap', '7.2', 'The "%name%" option is deprecated and will be removed in Symfony 8.0.');
47-
4845
$this->options = $resolver->resolve($options);
4946
}
5047
}

src/Symfony/Component/Ldap/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
8.0
55
---
66

7+
* Remove the `sizeLimit` option of `AbstractQuery`
78
* Remove `LdapUser::eraseCredentials()` in favor of `__serialize()`
89

910
7.3

src/Symfony/Component/Ldap/Tests/Adapter/AbstractQueryTest.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy