100 Commits

Author SHA1 Message Date
Damien Fernandes
0d882aaa7d [WebProfilerBundle] add debugbar on StreamedResponse 2026-02-14 18:23:06 +01:00
valtzu
7fd3a70a8b [WebProfilerBundle] Show EventStreams in debug toolbar 2025-08-31 12:13:53 +03:00
Nicolas Grekas
a4b3730f57 Merge branch '7.2' into 7.3
* 7.2:
  [WebProfilerBundle] Fix tests
  [Cache] Tests for Redis Replication with cache
  [BrowserKit] Fix submitting forms with empty file fields
  [Notifier] [BlueSky] Change the value returned as the message ID
  [WebProfilerBundle] Fix interception for non conventional redirects
  [DependencyInjection] Do not preload functions
  [DependencyInjection] Fix cloned lazy services not sharing their dependencies when dumped with PhpDumper
  [Form][FrameworkBundle] Use auto-configuration to make the default CSRF token id apply only to the app; not to bundles
  [HttpClient] Fix activity tracking leading to negative timeout errors
  [Serializer] Handle default context in named Serializer
  [Security] Return null instead of empty username to fix deprecation notice
  [DependencyInjection] Fix env default processor with scalar node
2025-02-11 17:49:21 +01:00
Nicolas Grekas
bf7ef391f8 Merge branch '6.4' into 7.2
* 6.4:
  [WebProfilerBundle] Fix tests
  [Cache] Tests for Redis Replication with cache
  [BrowserKit] Fix submitting forms with empty file fields
  [WebProfilerBundle] Fix interception for non conventional redirects
  [DependencyInjection] Do not preload functions
  [DependencyInjection] Fix cloned lazy services not sharing their dependencies when dumped with PhpDumper
  [HttpClient] Fix activity tracking leading to negative timeout errors
  [Security] Return null instead of empty username to fix deprecation notice
  [DependencyInjection] Fix env default processor with scalar node
2025-02-11 17:46:20 +01:00
Hugo Posnic
7b1725cdb8 [WebProfilerBundle] Fix interception for non conventional redirects 2025-02-10 15:47:49 +01:00
Christopher Hertel
008883a434 feat: extend web profiler config for replace on ajax requests 2025-01-14 18:44:17 +01:00
Alexander M. Turek
1053dd4a3c Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Simon André
7d907c338e [WebProfilerBundle] Use CPP 2024-04-13 11:30:57 +02:00
Nicolas Grekas
80e0f3cb25 Merge branch '5.4' into 6.3
* 5.4:
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 15:35:58 +01:00
Nicolas Grekas
803e75876e Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Nicolas Grekas
6101b5ab78 Merge branch '6.2' into 6.3
* 6.2:
  Fix deprecations on PHP 8.3
  [WebProfilerBundle] Fix error in case of 'Content-Type' set null in dev environment with no debug
  [Routing] Use vsprintf instead of sprintf + unpacking
2023-07-19 22:17:28 +02:00
Nicolas Grekas
89a78db2bd Merge branch '5.4' into 6.2
* 5.4:
  Fix deprecations on PHP 8.3
  [WebProfilerBundle] Fix error in case of 'Content-Type' set null in dev environment with no debug
  [Routing] Use vsprintf instead of sprintf + unpacking
2023-07-19 22:17:04 +02:00
Alexey Buyanow
a08572ac2e [WebProfilerBundle] Fix error in case of 'Content-Type' set null in dev environment with no debug 2023-07-19 21:34:05 +02:00
Wouter de Jong
ba156f3616 Add void return types 2023-02-13 14:18:23 +01:00
Javier Eguiluz
7785b99813 [WebProfilerBundle] Profiler redesign 2022-09-12 18:11:19 +02:00
François-Xavier de Guillebon
baf1131677 Replace get_class() calls by ::class 2022-09-01 04:03:18 +02:00
Nicolas Grekas
a4a727bb59 Add more nullsafe operators 2021-12-16 23:15:42 +01:00
Alexander M. Turek
bbc80b90d9 Merge branch '5.4' into 6.0
* 5.4: (27 commits)
  feat: add completion for DebugAutowiring search argument
  [Routing] Add support for aliasing routes
  [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait`
  Fix CS
  [Console] Open CompleteCommand for custom outputs
  [Intl] Update the ICU data to 70.1
  [Messenger] Add completion for failed messages commands.
  Fix tests
  Fixing missing full_stack variable that's needed by toolbar.html.twig
  [PropertyInfo] Bump phpstan/phpdoc-parser
  [Security] Backport type fixes
  [VarExporter] escape unicode chars involved in directionality
  [Framework] Add completion to debug:container
  [Messenger] Add completion to command messenger:consume
  [Intl] Update the ICU data to 70.1
  Fix more generic types
  Default access_decision_manager.strategy option with merge.
  Fix typos
  Update validators.ca.xlf
  Add missing Validator translations for Estonian
  ...

Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-11-04 18:14:40 +01:00
Ryan Weaver
f6b6063007 Fixing missing full_stack variable that's needed by toolbar.html.twig 2021-11-03 11:11:05 -04:00
Nicolas Grekas
ffa61d6313 Add type to final/internal public/protected properties 2021-10-06 10:10:14 +02:00
Nicolas Grekas
41baefee7e Merge branch '5.2' into 5.3
* 5.2:
  Leverage str_contains/str_starts_with
  Leverage str_ends_with
2021-07-21 14:40:44 +02:00
Nicolas Grekas
c8cde33887 Merge branch '4.4' into 5.2
* 4.4:
  Leverage str_contains/str_starts_with
  Leverage str_ends_with
2021-07-21 14:38:00 +02:00
Alexander M. Turek
236017dabf Leverage str_contains/str_starts_with
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-21 14:19:41 +02:00
Nicolas Grekas
8feb731cfc Merge branch '5.2' into 5.3
* 5.2:
  fix tests (ter)
  Fix tests (bis)
  [travis] fix travis hopefuly
  [Security] Fix SerializableUser fixture
  [FrameworkBundle][WebProfilerBundle] Don't pass null to string parameters
2021-06-07 16:51:59 +02:00
Nicolas Grekas
c62eb4235a Merge branch '4.4' into 5.2
* 4.4:
  fix tests (ter)
  Fix tests (bis)
  [travis] fix travis hopefuly
  [Security] Fix SerializableUser fixture
  [FrameworkBundle][WebProfilerBundle] Don't pass null to string parameters
2021-06-07 16:50:44 +02:00
Alexander M. Turek
686ce278ef [FrameworkBundle][WebProfilerBundle] Don't pass null to string parameters
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-06-06 14:37:28 +02:00
Alexander M. Turek
c97712849f Rename master request to main request 2021-03-22 14:14:48 +01:00
Martin Herndl
b102e15cdd [WebProfilerBundle] Disable CSP if dumper was used 2021-03-12 07:08:12 +01:00
Fabien Potencier
7c06851ec4 feature #39051 [WebProfilerBundle] Possibility to dynamically set mode (brusch)
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[WebProfilerBundle] Possibility to dynamically set mode

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| License       | MIT

Sometimes it is necessary to dynamically decide whether the debug toolbar should be injected or not.

Commits
-------

7c5cf579bb [WebProfilerBundle] Possibility to dynamically set mode
2021-01-05 07:30:58 +01:00
Bernhard Rusch
160fafb994 [WebProfilerBundle] Possibility to dynamically set mode 2021-01-05 07:30:52 +01:00
Alexander M. Turek
9c5216e733 Merge branch '4.4' into 5.1
* 4.4:
  CS: Apply ternary_to_null_coalescing fixer
2020-12-27 14:04:50 +01:00
Alexander M. Turek
2f058e0271 CS: Apply ternary_to_null_coalescing fixer 2020-12-27 00:49:32 +01:00
Nicolas Grekas
732ee96548 Merge branch '4.4' into 5.1
* 4.4:
  Update .php_cs.dist
  Apply "visibility_required" CS rule to constants
2020-12-08 18:02:38 +01:00
Nicolas Grekas
d419cd0b14 Apply "visibility_required" CS rule to constants
php-cs-fixer fix --rules='{"visibility_required": ["property", "method", "const"]}'
2020-12-08 17:59:59 +01:00
Nicolas Grekas
d8dcd0a434 Merge branch '4.4'
* 4.4:
  Fix travis script
  [Contracts] Fix branch alias
  minor fix for wrong case
  [HttpFoundation] Fix `getMaxFilesize`
  [Cache] fix warning on PHP 7.4
  [Console] fix warning on PHP 7.4
  let BlockingStoreInterface extend PersistingStoreInterface
  Don't add value of (default/static) objects to the signature
  fix(yml): fix comment in milti line value
  Make sure trace_level is always defined
  Ensure $request->hasSession() is always checked before calling getSession()
  Fix bindings and tagged_locator
  Recompile container when translations directory changes
2019-07-31 14:45:18 +02:00
Arman Hosseini
e119c1fe01 Ensure $request->hasSession() is always checked before calling getSession() 2019-07-28 18:57:16 +02:00
dFayet
9a73c9fd17 Replace @return annotation by return type in final classes 2019-06-23 00:57:33 +02:00
Nicolas Grekas
2084e202a2 Fix annotations 2019-06-08 08:23:28 +02:00
Amrouche Hamza
c04bf5db3a [HttpKernel] remove all deprecated event and replace their use 2019-06-07 22:41:09 +02:00
Robin Chalas
e857eebd7d Merge branch '4.2'
* 4.2:
  Fix url matcher edge cases with trailing slash
  [Form] Fix author tag + exception messages
  [TwigBridge] Fix deprecation on twig 2.9
  Fix left-associative ternary deprecation warnings for PHP 7.4
  [Validator] Fixed imprecise translations
  [Validator] Add Dutch translations
  [Security] Cleanup "Digest nonce has expired." translation
  Intercept redirections only for HTML format
  [PhpUnitBridge] fix reading phpunit.xml on bootstrap
  resolve class name parameters
  Fix name and phpdoc of ContainerBuilder::removeBindings
  [Intl] Update the ICU data to 64.2
2019-04-27 14:01:28 +02:00
Robin Chalas
f4c054dad3 Merge branch '3.4' into 4.2
* 3.4:
  [Form] Fix author tag + exception messages
  [TwigBridge] Fix deprecation on twig 2.9
  [Validator] Fixed imprecise translations
  [Validator] Add Dutch translations
  Intercept redirections only for HTML format
  Fix name and phpdoc of ContainerBuilder::removeBindings
  [Intl] Update the ICU data to 64.2
2019-04-27 13:48:17 +02:00
Javier Eguiluz
c4b8de670b Intercept redirections only for HTML format 2019-04-23 17:04:28 +02:00
Nicolas Grekas
60c79b84ef [EventDispatcher] swap arguments of dispatch() to allow registering events by FQCN 2019-03-14 08:32:46 +01:00
Fabien Potencier
7ec4e30dd8 fixed CS 2019-01-16 19:35:49 +01:00
Fabien Potencier
e291071d98 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
0cbb0710b4 Merge branch '3.4' into 4.0
* 3.4:
  Alpha-ordering for "use" statements
2018-07-26 11:08:35 +02:00
Nicolas Grekas
402aee330f Merge branch '2.8' into 3.4
* 2.8:
  Alpha-ordering for "use" statements
2018-07-26 11:06:28 +02:00
Nicolas Grekas
9873d81904 Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
Nicolas Grekas
36c4856f19 Merge branch '3.4' into 4.0
* 3.4:
  Fix Clidumper tests
  Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
  Apply fixers
  Disable the native_constant_invocation fixer until it can be scoped
  Update the list of excluded files for the CS fixer
2018-07-26 10:51:09 +02:00
Nicolas Grekas
419fdd18b9 Merge branch '2.8' into 3.4
* 2.8:
  Fix Clidumper tests
  Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
  Apply fixers
  Disable the native_constant_invocation fixer until it can be scoped
  Update the list of excluded files for the CS fixer
2018-07-26 10:45:46 +02:00