841 Commits

Author SHA1 Message Date
darkweak
162f45c761 [WebProfiler] add cURL copy/paste to request tab 2026-02-09 15:59:02 +01:00
Nicolas Grekas
bc3809da20 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
d32a2d4d15 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
afbb15d154 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
Martin Komischke
8e26e05b43 [Console] fall back to 0 when getCode() does not provide an integer 2026-01-30 09:17:00 +01:00
Dariusz Ruminski
b3cce3b066 PHP CS Fixer: enable static_lambda 2025-12-19 09:33:17 +01:00
Nicolas Grekas
ba4025b357 Merge branch '7.4' into 8.0
* 7.4:
  [DoctrineBridge] Make `EntityUserProvider`s pass attributes to their loader
  [WebProfilerBundle][HttpKernel] Display runner class in the profiler toolbar
2025-09-24 11:00:12 +02:00
matlec
10e0595aa5 [WebProfilerBundle][HttpKernel] Display runner class in the profiler toolbar 2025-09-23 18:26:37 +02:00
Nicolas Grekas
1f1f4358dd Merge branch '7.4' into 8.0
* 7.4:
  Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages
  [TypeInfo] simplify identifier comparison in isIdentifiedBy method
2025-09-11 12:19:10 +02:00
Nicolas Grekas
b2a43e6d30 Merge branch '7.3' into 7.4
* 7.3:
  Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages
  [TypeInfo] simplify identifier comparison in isIdentifiedBy method
2025-09-11 12:15:23 +02:00
Nicolas Grekas
f136c4de3e Merge branch '6.4' into 7.3
* 6.4:
  Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages
2025-09-11 12:12:26 +02:00
Nicolas Grekas
299523b87f Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages 2025-09-11 11:57:09 +02:00
Nicolas Grekas
8810d6a36e [HttpKernel][Mime][Serializer][String][Validator] Replace __sleep/wakeup() by __(un)serialize() 2025-08-14 17:39:15 +02:00
Nicolas Grekas
5d5a5ee5b4 Merge branch '7.4' into 8.0
* 7.4:
  [Mime] Deprecate implementing `__sleep/wakeup()` on `AbstractPart` implementations
  [Validator] Deprecate implementing `__sleep/wakeup()` on GenericMetadata implementations
  [String] Deprecate implementing `__sleep/wakeup()` on string implementations
  More cleanups related to internal sleep/wakeup usages
  [HttpKernel] Deprecate `__sleep/wakeup()` on kernels and data collectors and make `Profile` final
  [Serializer] Make `AttributeMetadata` and `ClassMetadata` final
  Replace __sleep/wakeup() by __(un)serialize() when BC isn't a concern
  chore: PHP CS Fixer - simplify config
2025-08-14 16:56:53 +02:00
Nicolas Grekas
2d616d7eed [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations 2025-08-14 16:54:10 +02:00
Nicolas Grekas
af063f57c5 [Validator] Deprecate implementing __sleep/wakeup() on GenericMetadata implementations 2025-08-14 15:24:33 +02:00
Nicolas Grekas
8beb7e9407 [String] Deprecate implementing __sleep/wakeup() on string implementations 2025-08-14 14:47:58 +02:00
Nicolas Grekas
0e2a44c3ff [HttpKernel] Deprecate __sleep/wakeup() on kernels and data collectors and make Profile final 2025-08-14 13:38:40 +02:00
Nicolas Grekas
a54b4ade32 Replace __sleep/wakeup() by __(un)serialize() when BC isn't a concern 2025-08-14 11:54:45 +02:00
Nicolas Grekas
d73707b56a Merge branch '7.4' into 8.0
* 7.4:
  Fix remaining SplObjectStorage deprecation
  Remove calls to no-op functions, deprecated in PHP 8.5
  Remove deprecated calls to deprecated methods of SplObjectStorage
  [Messenger] Show package installation hint also for amqps
  [TypeInfo] Fix converting list to string
2025-08-13 15:43:47 +02:00
Nicolas Grekas
665a003e60 Merge branch '6.4' into 7.3
* 6.4:
  Remove calls to no-op functions, deprecated in PHP 8.5
  Remove deprecated calls to deprecated methods of SplObjectStorage
  [Messenger] Show package installation hint also for amqps
2025-08-13 13:49:31 +02:00
Nicolas Grekas
d77a209c7b Remove deprecated calls to deprecated methods of SplObjectStorage 2025-08-13 11:41:44 +02:00
Nicolas Grekas
63f320d6a1 CS fixes 2025-07-10 10:14:14 +02:00
Nicolas Grekas
dcfe49b62f Enforce return types on all components 2025-06-05 11:05:15 +02:00
Jan Rosier
9c1165cecf Use spl_object_id() instead of spl_object_hash() 2025-01-06 15:35:18 +01:00
Dariusz Ruminski
406c453966 chore: PHP CS Fixer fixes 2024-12-12 07:45:37 +01:00
Dariusz Ruminski
b3aaffb5e5 chore: fix CS 2024-12-07 09:08:50 +01:00
Alexandre Daubois
c4b0d7ffdf Remove always true/false occurrences 2024-10-23 08:56:12 +02:00
Alexandre Daubois
21f327f13a Reduce common control flows 2024-10-14 20:16:08 +02:00
JoppeDC
4daa4fdb3e [FrameworkBundle] Finetune AboutCommand 2024-10-07 11:33:30 +02:00
Alexandre Daubois
143526587e [HttpFoundation][HttpKernel] Remove dead code and useless casts 2024-07-19 13:15:43 +02:00
Christian Flothmann
45526f5da2 Merge branch '7.1' into 7.2
* 7.1: (31 commits)
  [DependencyInjection] Fix phpdoc for $calls
  [Security] check token in payload instead just request
  fix tests
  add missing method
  fix merge
  fix test
  fix merge
  fix test
  change test to use a real ObjectManager
  [Mailer] Document the usage of custom headers in Infobip bridge
  [SecurityBundle] Add `provider` XML attribute to the authenticators it’s missing from
  [DoctrineBridge] Test reset with a true manager
  Sync php-cs-fixer config file with 7.2
  [HttpClient] Fix parsing SSE
  [Notifier] Fix thread key in GoogleChat bridge
  [HttpKernel][Security] Fix accessing session for stateless request
  [Serializer] Fix `ObjectNormalizer` with property path
  test handling of special "value" constraint option
  [PhpUnitBridge] Add missing import
  [FrameworkBundle] Fix setting default context for certain normalizers
  ...
2024-06-25 22:18:01 +02:00
Christian Flothmann
f92f3b85ee Merge branch '7.0' into 7.1
* 7.0: (29 commits)
  fix tests
  add missing method
  fix merge
  fix test
  fix merge
  fix test
  change test to use a real ObjectManager
  [Mailer] Document the usage of custom headers in Infobip bridge
  [SecurityBundle] Add `provider` XML attribute to the authenticators it’s missing from
  [DoctrineBridge] Test reset with a true manager
  Sync php-cs-fixer config file with 7.2
  [HttpClient] Fix parsing SSE
  [Notifier] Fix thread key in GoogleChat bridge
  [HttpKernel][Security] Fix accessing session for stateless request
  [Serializer] Fix `ObjectNormalizer` with property path
  test handling of special "value" constraint option
  [PhpUnitBridge] Add missing import
  [FrameworkBundle] Fix setting default context for certain normalizers
  [57251] Missing translations for Romanian (ro)
  [ErrorHandler] Fix rendered exception code highlighting on PHP 8.3
  ...
2024-06-25 21:55:06 +02:00
Christian Flothmann
6e1b446bc1 Merge branch '6.4' into 7.0
* 6.4: (29 commits)
  fix tests
  add missing method
  fix merge
  fix test
  fix merge
  fix test
  change test to use a real ObjectManager
  [Mailer] Document the usage of custom headers in Infobip bridge
  [SecurityBundle] Add `provider` XML attribute to the authenticators it’s missing from
  [DoctrineBridge] Test reset with a true manager
  Sync php-cs-fixer config file with 7.2
  [HttpClient] Fix parsing SSE
  [Notifier] Fix thread key in GoogleChat bridge
  [HttpKernel][Security] Fix accessing session for stateless request
  [Serializer] Fix `ObjectNormalizer` with property path
  test handling of special "value" constraint option
  [PhpUnitBridge] Add missing import
  [FrameworkBundle] Fix setting default context for certain normalizers
  [57251] Missing translations for Romanian (ro)
  [ErrorHandler] Fix rendered exception code highlighting on PHP 8.3
  ...
2024-06-22 13:38:48 +02:00
Christian Flothmann
b20d5c84f6 Merge branch '5.4' into 6.4
* 5.4: (21 commits)
  [SecurityBundle] Add `provider` XML attribute to the authenticators it’s missing from
  [DoctrineBridge] Test reset with a true manager
  Sync php-cs-fixer config file with 7.2
  [HttpClient] Fix parsing SSE
  [Notifier] Fix thread key in GoogleChat bridge
  [HttpKernel][Security] Fix accessing session for stateless request
  [Serializer] Fix `ObjectNormalizer` with property path
  test handling of special "value" constraint option
  [PhpUnitBridge] Add missing import
  [FrameworkBundle] Fix setting default context for certain normalizers
  [57251] Missing translations for Romanian (ro)
  [ErrorHandler] Fix rendered exception code highlighting on PHP 8.3
  [String] Fix #54611 pluralization of -on ending words + singularization of -a ending foreign words
  [Validator] [UniqueValidator] Use correct variable as parameter in (custom) error message
  [Messenger] Comply with Amazon SQS requirements for message body
  fix cssColor HSLA test dataProvider
  properly handle invalid data for false/true types
  chore: upgrade class doc
  add space in error message
  [Messenger] [Amqp] Handle AMQPConnectionException when publishing a message.
  ...
2024-06-21 18:04:15 +02:00
Alexander M. Turek
c307b0c1b7 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Vincent Langlet
ebb6f7e4ec [HttpKernel][Security] Fix accessing session for stateless request 2024-06-17 07:58:45 +02:00
Nicolas Grekas
36439c2f53 Merge branch '6.4' into 7.0
* 6.4:
  Fix CI
  Bump ext-redis in CI on PHP >= 8.4
  Adjust pretty name of closures on PHP 8.4
  implement NodeVisitorInterface instead of extending AbstractNodeVisitor
  sync .github/expected-missing-return-types.diff
  skip test assertions that are no longer valid with PHP >= 8.2.18/8.3.5
2024-04-16 18:27:14 +02:00
Nicolas Grekas
499264c567 Merge branch '5.4' into 6.4
* 5.4:
  Fix CI
  Bump ext-redis in CI on PHP >= 8.4
  Adjust pretty name of closures on PHP 8.4
  implement NodeVisitorInterface instead of extending AbstractNodeVisitor
2024-04-16 18:25:57 +02:00
Nicolas Grekas
4344a98ed4 Adjust pretty name of closures on PHP 8.4 2024-04-16 14:12:00 +02:00
Christian Flothmann
8ecb4c4987 Merge branch '7.0' into 7.1
* 7.0: (39 commits)
  fix merge
  add missing return type-hints
  fix merge
  explicitly mark nullable parameters as nullable
  fix low deps tests
  [HttpKernel] Fix datacollector caster for reference object property
  [Serializer] Fixing PHP warning in the ObjectNormalizer with MaxDepth enabled
  bug #51578 [Cache] always select database for persistent redis connections
  [Security] Validate that CSRF token in form login is string similar to username/password
  [Serializer] Use explicit nullable type
  [validator] validated Dutch translation
  Improve dutch translations
  initialize the current time with midnight before modifying the date
  [Translation] Skip state=needs-translation entries only when source == target
  [HttpKernel] Ensure controllers are not lazy
  [Validator] Fill in trans-unit id 113: This URL does not contain a TLD.
  [Validator] added missing Polish translation for unit 113
  [Validator] add missing lv translation
  fix tests
  [HttpClient] Let curl handle transfer encoding
  ...
2024-04-13 08:11:48 +02:00
Christian Flothmann
1c379b2e4e Merge branch '6.4' into 7.0
* 6.4: (23 commits)
  fix merge
  add missing return type-hints
  fix merge
  explicitly mark nullable parameters as nullable
  fix low deps tests
  [HttpKernel] Fix datacollector caster for reference object property
  [Serializer] Fixing PHP warning in the ObjectNormalizer with MaxDepth enabled
  bug #51578 [Cache] always select database for persistent redis connections
  [Security] Validate that CSRF token in form login is string similar to username/password
  [Serializer] Use explicit nullable type
  [validator] validated Dutch translation
  Improve dutch translations
  [Translation] Skip state=needs-translation entries only when source == target
  [HttpKernel] Ensure controllers are not lazy
  [Validator] Fill in trans-unit id 113: This URL does not contain a TLD.
  [Validator] added missing Polish translation for unit 113
  [Validator] add missing lv translation
  [HttpClient] Let curl handle transfer encoding
  [Messenger] Make Doctrine connection ignore unrelated tables on setup
  [HttpFoundation] Set content-type header in RedirectResponse
  ...
2024-04-13 01:04:22 +02:00
Christian Flothmann
21def56591 Merge branch '5.4' into 6.4
* 5.4:
  explicitly mark nullable parameters as nullable
  fix low deps tests
  [HttpKernel] Fix datacollector caster for reference object property
  bug #51578 [Cache] always select database for persistent redis connections
  [Security] Validate that CSRF token in form login is string similar to username/password
  [validator] validated Dutch translation
  Improve dutch translations
  [Translation] Skip state=needs-translation entries only when source == target
  [HttpKernel] Ensure controllers are not lazy
  [Validator] Fill in trans-unit id 113: This URL does not contain a TLD.
  [Validator] added missing Polish translation for unit 113
  [Validator] add missing lv translation
  [HttpClient] Let curl handle transfer encoding
  [Messenger] Make Doctrine connection ignore unrelated tables on setup
  [HttpFoundation] Set content-type header in RedirectResponse
  add translations for the requireTld constraint option message
  [Serializer] Fix unexpected allowed attributes
  [FrameworkBundle] Fix registration of the bundle path to translation
2024-04-13 00:37:50 +02:00
Thomas Decaux
105a29feae [HttpKernel] Fix datacollector caster for reference object property 2024-04-12 13:55:18 +02:00
Alexander M. Turek
a88994416a [HttpKernel] Use CPP 2024-02-06 10:15:06 +01:00
Nicolas Grekas
3934259de2 Merge branch '7.0' into 7.1
* 7.0:
  List CS fix in .git-blame-ignore-revs
  Fix implicitly-required parameters
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  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 16:06:13 +01:00
Nicolas Grekas
24671ba111 Merge branch '6.4' into 7.0
* 6.4:
  Fix implicitly-required parameters
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  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 16:02:46 +01:00
Nicolas Grekas
8efa2cfdfe Merge branch '6.3' into 6.4
* 6.3:
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  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
2024-01-23 15:51:35 +01:00
Nicolas Grekas
ab69bdd211 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
c31bb9215c Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00