Skip to content

Commit e520db5

Browse files
minor #52114 [HttpKernel] Remove deprecation layer for Profiler (HeahDude)
This PR was merged into the 7.0 branch. Discussion ---------- [HttpKernel] Remove deprecation layer for Profiler | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | ~ | License | MIT Follows #47416. Commits ------- 65970b2 [HttpKernel] Remove deprecation layer for Profiler
2 parents 3e4a4a7 + 65970b2 commit e520db5

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

UPGRADE-7.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ HttpKernel
295295
* Remove `FileLinkFormatter`, use `FileLinkFormatter` from the ErrorHandler component instead
296296
* Remove `UriSigner`, use `UriSigner` from the HttpFoundation component instead
297297
* Remove `Kernel::stripComments()`
298+
* Add argument `$filter` to `Profiler::find()` and `FileProfilerStorage::find()`
298299

299300
Lock
300301
----

src/Symfony/Component/HttpKernel/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CHANGELOG
1515
* Remove `FileLinkFormatter`, use `FileLinkFormatter` from the ErrorHandler component instead
1616
* Remove `UriSigner`, use `UriSigner` from the HttpFoundation component instead
1717
* Add argument `$buildDir` to `WarmableInterface`
18+
* Add argument `$filter` to `Profiler::find()` and `FileProfilerStorage::find()`
1819

1920
6.4
2021
---

src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ public function __construct(string $dsn)
4242
}
4343
}
4444

45-
/**
46-
* @param \Closure|null $filter A filter to apply on the list of tokens
47-
*/
48-
public function find(?string $ip, ?string $url, ?int $limit, ?string $method, int $start = null, int $end = null, string $statusCode = null/* , \Closure $filter = null */): array
45+
public function find(?string $ip, ?string $url, ?int $limit, ?string $method, int $start = null, int $end = null, string $statusCode = null, \Closure $filter = null): array
4946
{
5047
$filter = 7 < \func_num_args() ? func_get_arg(7) : null;
5148
$file = $this->getIndexFilename();

src/Symfony/Component/HttpKernel/Profiler/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function purge(): void
122122
*
123123
* @see https://php.net/datetime.formats for the supported date/time formats
124124
*/
125-
public function find(?string $ip, ?string $url, ?int $limit, ?string $method, ?string $start, ?string $end, string $statusCode = null/* , \Closure $filter = null */): array
125+
public function find(?string $ip, ?string $url, ?int $limit, ?string $method, ?string $start, ?string $end, string $statusCode = null, \Closure $filter = null): array
126126
{
127127
$filter = 7 < \func_num_args() ? func_get_arg(7) : null;
128128

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