3010 Commits

Author SHA1 Message Date
Nicolas Grekas
b10f4be012 Merge branch '8.0' into 8.1
* 8.0:
  Fix merge
  [VarDumper] Wrong dumper output for Accept: aplication/json requests
  [HttpKernel] Reset router locale to default when finishing main request
  Only decrement pendingRequests when it's more than zero
  [Dotenv] Fix self-referencing variables with defaults and env key resolution during deferred expansion
  Improve Bulgarian translations in validators.bg.xlf
  [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  [Form] Fix typed property initialization in ValidatorExtension
  [Messenger] Fix duplicate pending messages in Redis transport with batch handlers
  Fix deprecation notices for "@method" annotations when implementing interfaces directly
2026-03-17 16:35:01 +01:00
Nicolas Grekas
1f65a6d459 Merge branch '7.4' into 8.0
* 7.4:
  [VarDumper] Wrong dumper output for Accept: aplication/json requests
  [HttpKernel] Reset router locale to default when finishing main request
  Only decrement pendingRequests when it's more than zero
  [Dotenv] Fix self-referencing variables with defaults and env key resolution during deferred expansion
  Improve Bulgarian translations in validators.bg.xlf
  [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  [Form] Fix typed property initialization in ValidatorExtension
  [Messenger] Fix duplicate pending messages in Redis transport with batch handlers
  Fix deprecation notices for "@method" annotations when implementing interfaces directly
2026-03-17 15:00:10 +01:00
Nicolas Grekas
0ebd62f0fb Merge branch '6.4' into 7.4
* 6.4:
  [HttpKernel] Reset router locale to default when finishing main request
  Only decrement pendingRequests when it's more than zero
  [Dotenv] Fix self-referencing variables with defaults and env key resolution during deferred expansion
  Improve Bulgarian translations in validators.bg.xlf
  [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  [Form] Fix typed property initialization in ValidatorExtension
  [Messenger] Fix duplicate pending messages in Redis transport with batch handlers
  Fix deprecation notices for "@method" annotations when implementing interfaces directly
2026-03-17 14:25:29 +01:00
andyexeter
6f75b4c748 Only decrement pendingRequests when it's more than zero 2026-03-17 09:05:06 +00:00
Alexander M. Turek
ce738c32d3 Merge branch '8.0' into 8.1
* 8.0:
  Use `parentElement` to set the class attribute within the Symfony toolbar
  [Serializer] Fix nullable array constructor parameter overriding collection value type
  [TypeInfo] Fix resolving class const type
2026-03-04 09:21:19 +01:00
Alexander M. Turek
141336fd01 Merge branch '7.4' into 8.0
* 7.4:
  Use `parentElement` to set the class attribute within the Symfony toolbar
  [Serializer] Fix nullable array constructor parameter overriding collection value type
  [TypeInfo] Fix resolving class const type
v8.0.7
2026-03-04 09:20:53 +01:00
Sebastian Zoglowek
da9e91746f Use parentElement to set the class attribute within the Symfony toolbar v7.4.7 2026-03-03 14:57:00 +01:00
Alexander M. Turek
c2b0169888 Merge branch '8.0' into 8.1
* 8.0:
  [ReflectionExtractor] fix is/can/has type resolver on method without property
  [Notifier] Fix `SweegoTransport` by allowing bool values
  [WebProfilerBundle] Fix Symfony web debug toolbar not being displayed
  [PhpUnitBridge] Consider PSR-0/PSR-4 fallback dirs when building paths
2026-03-03 14:26:11 +01:00
Alexander M. Turek
f82453ee56 Merge branch '7.4' into 8.0
* 7.4:
  [ReflectionExtractor] fix is/can/has type resolver on method without property
  [Notifier] Fix `SweegoTransport` by allowing bool values
  [WebProfilerBundle] Fix Symfony web debug toolbar not being displayed
  [PhpUnitBridge] Consider PSR-0/PSR-4 fallback dirs when building paths
2026-03-03 14:25:47 +01:00
Nicolas Grekas
c74add292d Merge branch '6.4' into 7.4
* 6.4:
  [WebProfilerBundle] Fix Symfony web debug toolbar not being displayed
  [PhpUnitBridge] Consider PSR-0/PSR-4 fallback dirs when building paths
2026-03-03 11:30:45 +01:00
Sebastian Zoglowek
ae7fc9802c [WebProfilerBundle] Fix Symfony web debug toolbar not being displayed v6.4.35 2026-03-03 11:22:09 +01:00
Nicolas Grekas
4bc2d1cab9 [WebProfilerBundle] Cleanup whitespace 2026-03-03 08:40:06 +01:00
Robin Chalas
ba5764c20c [Console][WebProfilerBundle] Trace value resolvers in profiler 2026-02-23 17:59:21 +01:00
Damien Fernandes
0d882aaa7d [WebProfilerBundle] add debugbar on StreamedResponse 2026-02-14 18:23:06 +01:00
Nicolas Grekas
4182b66a45 minor #63388 [WebProfilerBundle] Misc improvements in the profiler templates (javiereguiluz)
This PR was merged into the 8.1 branch.

Discussion
----------

[WebProfilerBundle] Misc improvements in the profiler templates

| Q             | A
| ------------- | ---
| Branch?       | 8.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

It fixes misc. minor things found in profiler templates:

* Wrong HTML code (e.g. missing `</span>` closing tag)
* Improved accessibility of certain elements
* Outdated JS code
* Updated some CSS to use variables and extracted common inline styles into classes
* Updated some texts to make everything more consistent

None of these changes fix things that prevent using the profiler, so they don't qualify as bug fixes but as improvements. Thanks.

Commits
-------

31963fdf959 Misc improvements in the profiler templates
2026-02-13 16:54:23 +01:00
Javier Eguiluz
3ece480c50 Misc improvements in the profiler templates 2026-02-13 15:50:20 +01:00
Nicolas Grekas
c65feafeda Merge branch '8.0' into 8.1
* 8.0:
  [Console] Fix ProgressBar %remaining% and %estimated% placeholder guards
  [Validator] Fix missing null type in ValidatorInterface::validate() phpdoc
  use PHPUnit 13 on PHP 8.4+
  [PropertyInfo] Prioritize property type over is/has/can accessors
2026-02-13 10:59:04 +01:00
Nicolas Grekas
e9a49910ba Merge branch '7.4' into 8.0
* 7.4:
  [Console] Fix ProgressBar %remaining% and %estimated% placeholder guards
  [Validator] Fix missing null type in ValidatorInterface::validate() phpdoc
  use PHPUnit 13 on PHP 8.4+
  [PropertyInfo] Prioritize property type over is/has/can accessors
v8.0.6
2026-02-13 10:57:13 +01:00
Christian Flothmann
952fbb5ea1 use PHPUnit 13 on PHP 8.4+ v7.4.6 2026-02-11 17:03:16 +01:00
Christian Flothmann
40635cf860 fix compatibility with HttpKernel component < 8.1 2026-02-10 10:23:40 +01:00
darkweak
1843c09a57 [WebProfiler] add cURL copy/paste to request tab 2026-02-09 15:59:02 +01:00
Nicolas Grekas
8eac8b8733 minor #63296 [HttpKernel][WebProfilerBundle] Add error indicator to profiler list view (llupa)
This PR was squashed before being merged into the 8.1 branch.

Discussion
----------

[HttpKernel][WebProfilerBundle] Add error indicator to profiler list view

| Q             | A
| ------------- | ---
| Branch?       | 8.1
| Bug fix?      |no
| New feature?  | yes <!-- if yes, also update src/**/CHANGELOG.md -->
| Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Issues        | N/A <!-- prefix each issue number with "Fix #"; no need to create an issue if none exists, explain below -->
| License       | MIT

Display a visual indicator next to profiles that have errors (exceptions or error-level logs) so users can identify problematic requests/commands without opening each profile individually.

This _feature_ was inspired by having to check failing web-hooks that come in _no particular oder_ 15 at a time.

I am not the best designer out there, so open for review, but this is how it would look like as is:

<img width="994" height="532" alt="Screenshot 2026-02-06 at 13 25 39" src="https://github.com/user-attachments/assets/17143292-a786-4761-b0e0-545ad707afb8" />

Commits
-------

e40c029c7bb [HttpKernel][WebProfilerBundle] Add error indicator to profiler list view
2026-02-09 12:23:15 +01:00
llupa
ea54bc2136 [HttpKernel][WebProfilerBundle] Add error indicator to profiler list view 2026-02-09 12:23:11 +01:00
Nicolas Grekas
fcda03a02d Merge branch '8.0' into 8.1
* 8.0:
  [Messenger] Fix merge
  [Workflow] Fix swapped workflow/transition names in WorkflowValidator
  fix merge
  [DependencyInjection] Fix stale binding lookup in ResolveBindingsPass error message
  fix: correct romanian translations and add missing paucal forms
  [Cache] Fix DSN auth not passed to Redis/RedisCluster/Relay in RedisTrait
  [Cache] Fix DSN auth not passed to Redis/RedisCluster/Relay in RedisTrait
  skip a test case that doesn't work with PCRE < 10.40
  sync ICU stub version
  do not use PHPUnit mock objects without configured expectations
  [WebProfilerBundle] Fix EventSource is missing static properties
  [FrameworkBundle] express that raw strings are mapped to senders for messenger routing
  [Asset] Fix JsonManifestVersionStrategy exception on missing manifest in non-strict mode
  [Yaml] Fix parsing nested mappings in sequences
2026-02-09 11:17:21 +01:00
Nicolas Grekas
28a5c8a9af Merge branch '7.4' into 8.0
* 7.4:
  [Messenger] Fix merge
  [Workflow] Fix swapped workflow/transition names in WorkflowValidator
  fix merge
  [DependencyInjection] Fix stale binding lookup in ResolveBindingsPass error message
  fix: correct romanian translations and add missing paucal forms
  [Cache] Fix DSN auth not passed to Redis/RedisCluster/Relay in RedisTrait
  [Cache] Fix DSN auth not passed to Redis/RedisCluster/Relay in RedisTrait
  skip a test case that doesn't work with PCRE < 10.40
  sync ICU stub version
  do not use PHPUnit mock objects without configured expectations
  [WebProfilerBundle] Fix EventSource is missing static properties
  [FrameworkBundle] express that raw strings are mapped to senders for messenger routing
  [Asset] Fix JsonManifestVersionStrategy exception on missing manifest in non-strict mode
  [Yaml] Fix parsing nested mappings in sequences
2026-02-09 11:14:57 +01:00
Oleksii Kozhemiaka
a5f75b358e [WebProfilerBundle] Fix EventSource is missing static properties 2026-02-07 13:23:50 +02:00
Nicolas Grekas
4141f95d3b Merge branch '8.0' into 8.1
* 8.0: (21 commits)
  [WebProfilerBundle] Fix hot reload support (FrankenPHP)
  [Serializer] Normalize static methods when they have groups
  [PropertyInfo] fix compatibility with phpdocumentor/reflection-docblock 6.x
  [DoctrineBridge] Respect schema_filter in schema listeners
  [HttpClient] Fix destructor throwing while timeout was handled
  [HttpClient] Test throwing destructor together with retryable
  [Mime] Update mime types
  [HttpFoundation] Reject invalid paths
  [HttpKernel] Fix handling empty MapUploadedFile arrays
  [FrameworkBundle] Add missing `useAttributeAsKey` calls
  [Di] Fix invalid reference behavior
  When calling UploadedFile::getErrorMessage() to a file which has no error and is uploaded successfully, it should not return an error
  [HttpKernel] Bypass mapping construction when `RedirectController::urlRedirectAction` is triggered
  cs fix
  [Console] fall back to 0 when getCode() does not provide an integer
  fix merge
  [FrameworkBundle] Fix accessing the test container when using KernelTestCase in non-debug mode
  Fix running HttpClient tests
  [FrameworkBundle] Fix clearing the HttpCache store in tests
  [DependencyInjection][HttpKernel] Fix parsing Target attributes on properties and on controllers
  ...
2026-02-05 17:09:24 +01:00
Nicolas Grekas
23176dd470 Merge branch '7.4' into 8.0
* 7.4: (21 commits)
  [WebProfilerBundle] Fix hot reload support (FrankenPHP)
  [Serializer] Normalize static methods when they have groups
  [PropertyInfo] fix compatibility with phpdocumentor/reflection-docblock 6.x
  [DoctrineBridge] Respect schema_filter in schema listeners
  [HttpClient] Fix destructor throwing while timeout was handled
  [HttpClient] Test throwing destructor together with retryable
  [Mime] Update mime types
  [HttpFoundation] Reject invalid paths
  [HttpKernel] Fix handling empty MapUploadedFile arrays
  [FrameworkBundle] Add missing `useAttributeAsKey` calls
  [Di] Fix invalid reference behavior
  When calling UploadedFile::getErrorMessage() to a file which has no error and is uploaded successfully, it should not return an error
  [HttpKernel] Bypass mapping construction when `RedirectController::urlRedirectAction` is triggered
  cs fix
  [Console] fall back to 0 when getCode() does not provide an integer
  fix merge
  [FrameworkBundle] Fix accessing the test container when using KernelTestCase in non-debug mode
  Fix running HttpClient tests
  [FrameworkBundle] Fix clearing the HttpCache store in tests
  [DependencyInjection][HttpKernel] Fix parsing Target attributes on properties and on controllers
  ...
2026-02-05 17:06:41 +01:00
Nicolas Grekas
e2e8d96be2 Merge branch '6.4' into 7.4
* 6.4:
  [WebProfilerBundle] Fix hot reload support (FrankenPHP)
  [Serializer] Normalize static methods when they have groups
  [DoctrineBridge] Respect schema_filter in schema listeners
  [HttpClient] Fix destructor throwing while timeout was handled
  [HttpClient] Test throwing destructor together with retryable
  [Mime] Update mime types
  [HttpFoundation] Reject invalid paths
  [FrameworkBundle] Add missing `useAttributeAsKey` calls
  [Di] Fix invalid reference behavior
  When calling UploadedFile::getErrorMessage() to a file which has no error and is uploaded successfully, it should not return an error
  cs fix
  [Console] fall back to 0 when getCode() does not provide an integer
  [FrameworkBundle] Fix accessing the test container when using KernelTestCase in non-debug mode
  [Messenger] Avoid skipping batch handlers on flush
2026-02-05 16:57:06 +01:00
Kévin Dunglas
848bc5d574 [WebProfilerBundle] Fix hot reload support (FrankenPHP) v6.4.34 2026-02-05 16:19:06 +01:00
Dariusz Ruminski
c6fb06f270 PHP CS Fixer: enable @PHP8x1Migration:risky 2026-01-29 10:42:44 +01:00
Nicolas Grekas
f7fdf27d4d Merge branch '8.0' into 8.1
* 8.0:
  do not use PHPUnit mock objects without configured expectations
  [FrameworkBundle] Fix mocking decorated services in tests
  fix lowest required Serializer component version
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
2026-01-07 13:23:32 +01:00
Nicolas Grekas
0d0df8b360 Merge branch '7.4' into 8.0
* 7.4:
  do not use PHPUnit mock objects without configured expectations
  [FrameworkBundle] Fix mocking decorated services in tests
  fix lowest required Serializer component version
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
v8.0.4
2026-01-07 13:23:22 +01:00
Christian Flothmann
be165e29e6 Merge branch '7.3' into 7.4
* 7.3:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
v7.4.4
2026-01-07 12:56:45 +01:00
Christian Flothmann
3f288c176f do not use PHPUnit mock objects without configured expectations v7.3.10 2026-01-07 11:03:30 +01:00
Christian Flothmann
470c9a6f75 Merge branch '8.0' into 8.1
* 8.0:
  fix merge
2026-01-06 13:48:20 +01:00
Christian Flothmann
a20ae5c327 Merge branch '7.4' into 8.0
* 7.4:
  fix merge
2026-01-06 13:47:32 +01:00
Christian Flothmann
40ce89f9f0 fix merge 2026-01-06 13:47:14 +01:00
Christian Flothmann
1a86c63043 Merge branch '8.0' into 8.1
* 8.0:
  fix merge
  fix merge
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  Typo
  [HttpClient] Fix and test replacing repeated headers with CachingHttpClient
  [Messenger] Fix processing batches
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
2026-01-06 13:44:28 +01:00
Christian Flothmann
e71face030 Merge branch '7.4' into 8.0
* 7.4:
  fix merge
  fix merge
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  Typo
  [HttpClient] Fix and test replacing repeated headers with CachingHttpClient
  [Messenger] Fix processing batches
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
2026-01-06 13:43:21 +01:00
Christian Flothmann
3b62f8f09c Merge branch '7.3' into 7.4
* 7.3:
  fix merge
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  Typo
  [HttpClient] Fix and test replacing repeated headers with CachingHttpClient
  [Messenger] Fix processing batches
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
2026-01-06 13:34:24 +01:00
Christian Flothmann
481a89449e fix merge 2026-01-06 13:24:02 +01:00
Christian Flothmann
c84238e22b Merge branch '6.4' into 7.3
* 6.4:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  [HttpClient] Fix and test replacing repeated headers with CachingHttpClient
  [Messenger] Fix processing batches
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
2026-01-06 13:19:16 +01:00
Christian Flothmann
011f59e3f3 do not use PHPUnit mock objects without configured expectations v6.4.32 2026-01-06 10:13:42 +01:00
Nicolas Grekas
5c44587be8 Merge branch '8.0' into 8.1
* 8.0:
  Typo
  [WebProfilerBundle] Fix using URL object with EventSource
  Fix #61636
  [Cache] Fix tests
2025-12-27 18:05:37 +01:00
Nicolas Grekas
88679cfe40 Merge branch '7.4' into 8.0
* 7.4:
  Typo
  [WebProfilerBundle] Fix using URL object with EventSource
  Fix #61636
  [Cache] Fix tests
v8.0.3
2025-12-27 18:05:29 +01:00
Nicolas Grekas
5220b59d06 Merge branch '7.3' into 7.4
* 7.3:
  Typo
  Fix #61636
v7.4.3
2025-12-27 18:05:22 +01:00
enekochan
42c439f0d9 Typo
End single quote string
v7.3.9
2025-12-26 07:49:41 +01:00
HypeMC
2b47f8bb3e [WebProfilerBundle] Fix using URL object with EventSource 2025-12-25 08:15:36 +01:00
Dariusz Ruminski
d3d029e3f6 PHP CS Fixer: enable static_lambda 2025-12-19 09:33:17 +01:00