120 Commits

Author SHA1 Message Date
Christian Flothmann
b04a174ab7 Merge branch '8.0' into 8.1
* 8.0:
  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
  fix CS
  do not use PHPUnit mock objects without configured expectations
  [Scheduler] Fix array to string conversion in `#[AsCronTask]` arguments
  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
  fix merge
  do not use PHPUnit mock objects without configured expectations
2026-01-08 23:37:08 +01:00
Christian Flothmann
64d7631095 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
  fix CS
  [Scheduler] Fix array to string conversion in `#[AsCronTask]` arguments
2026-01-08 23:32:07 +01:00
Christian Flothmann
3c7782240e do not use PHPUnit mock objects without configured expectations 2026-01-08 17:18:17 +01:00
Dariusz Ruminski
7709bca301 PHP CS Fixer: enable static_lambda 2025-12-19 09:33:17 +01:00
Alexander M. Turek
ddeb26b749 Merge branch '7.3' into 7.4
* 7.3:
  do not use PHPUnit mock objects without configured expectations
  chore: PHP CS Fixer and protected_to_private
  Cleanup psalm config
  [FIX] Comments of horizontal/vertical were mixed up
  bug #62763 [Console] Escape the description passed to the lazy command so the container can be build without wanting to replace the %not-a-param% to parameters
  [BrowserKit] Allow Cookie expiration to be an int
  do not use PHPUnit mock objects without configured expectations
  [DependencyInjection] Fix `#[AutowireCallable]` sometimes incorrectly inlined
  do not use PHPUnit mock objects without configured expectations
  [Serializer] Fix php 8.5 warning unexpected NAN value was coerced to string
  add unit test job for PHP 8.6
  [Messenger][Doctrine] Remove batched message delete for MySQL and add a covering index for a select query
2025-12-16 09:02:06 +01:00
Alexander M. Turek
c5fb4e2b3d 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
  do not use PHPUnit mock objects without configured expectations
  [Messenger][Doctrine] Remove batched message delete for MySQL and add a covering index for a select query
2025-12-16 08:50:38 +01:00
Christian Flothmann
cb88b4497b do not use PHPUnit mock objects without configured expectations 2025-12-14 13:26:16 +01:00
Nicolas Grekas
7b33be5c06 Fix tests 2025-08-12 17:57:17 +02:00
Nicolas Grekas
fb827b029f CS fixes 2025-07-10 10:14:14 +02:00
Nicolas Grekas
f46038167f Merge branch '7.2' into 7.3
* 7.2:
  Fix typo
  [VarExporter] Dump implicit-nullable types as explicit to prevent the corresponding deprecation
  Allow mixed root on CompoundConstraintTestCase validator
  [Serializer] Fix readonly property initialization from incorrect scope
  Update BrevoRequestParser.php
2025-07-09 11:40:54 +02:00
thePanz
8cc864a45f Allow mixed root on CompoundConstraintTestCase validator 2025-07-08 09:21:12 +02:00
Christian Flothmann
bc1f8c8be2 replace assertEmpty() with stricter assertions 2025-03-05 11:15:41 +01:00
Alexander M. Turek
da2043123e Merge branch '7.1' into 7.2
* 7.1:
  Don't call the constructor of LogicalOr
  [AssetMapper] Use static data providers
  Fix `TemplateType` handling in `AbstractObjectNormalizer`
2024-09-19 10:58:59 +02:00
Alexander M. Turek
4bfb3ac84d Merge branch '6.4' into 7.1
* 6.4:
  Don't call the constructor of LogicalOr
2024-09-19 10:55:55 +02:00
Alexander M. Turek
8ecc8e0d55 Merge branch '5.4' into 6.4
* 5.4:
  Don't call the constructor of LogicalOr
2024-09-19 10:55:05 +02:00
Alexander M. Turek
5b061420da Don't call the constructor of LogicalOr 2024-09-19 10:27:53 +02:00
Alexandre Daubois
ff25649fc3 [Validator] Add @template on CompoundConstraintTestCase` 2024-08-22 14:21:30 +02:00
Alexandre Daubois
ee2f6fdcb0 [Validator] Add CompoundConstraintTestCase to ease testing Compound Constraints 2024-08-22 11:58:53 +02:00
Alexandre Daubois
d441373782 Remove useless code 2024-08-08 12:05:06 +02:00
Alexandre Daubois
0c468dc03b Use CPP where possible 2024-07-23 14:28:30 +02:00
Alexander M. Turek
2050a6a1f5 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Alexander M. Turek
b93f1ca366 Merge branch '6.4' into 7.0
* 6.4:
  [Validator] Check `Locale` class existence before using it
2024-05-03 14:52:47 +02:00
Alexander M. Turek
16eaa283b4 Merge branch '5.4' into 6.4
* 5.4:
  [Validator] Check `Locale` class existence before using it
2024-05-03 14:51:50 +02:00
Alexandre Daubois
dbb08c3fcf [Validator] Check Locale class existence before using it 2024-05-03 13:18:44 +02:00
Nicolas Grekas
802d75cc4a 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
c7fbb60776 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
dc80291ec3 Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Nicolas Grekas
6521a8599e Add types to public and protected properties 2023-07-27 18:29:09 +02:00
Nicolas Grekas
c4e22fab9a [7.0] Fix various @psalm-return annotations 2023-06-30 11:28:37 +02:00
Nicolas Grekas
99f894a682 Merge branch '6.2' into 6.3
* 6.2:
  [Security] remove deprecated conditions in supports and authenticate methods from AccessListener class
  [Tests] Replace `setMethods()` by `onlyMethods()` and `addMethods()`
2023-03-09 17:20:38 +01:00
Nicolas Grekas
b6713123ad Merge branch '5.4' into 6.2
* 5.4:
  [Tests] Replace `setMethods()` by `onlyMethods()` and `addMethods()`
2023-03-09 17:20:02 +01:00
Alexandre Daubois
ec684e007a [Tests] Replace setMethods() by onlyMethods() and addMethods() 2023-03-06 22:29:33 +01:00
Wouter de Jong
40208a81eb Add PHP types to private methods and functions 2023-02-13 10:14:48 +01:00
Fabien Potencier
0b8cee4357 Merge branch '6.2' into 6.3
* 6.2:
  Remove 6.0 and 6.1 from the PR template
  [Validator] Make ConstraintValidatorTestCase compatible with PHPUnit 10
  [WebProfilerBundle] Fix some minor HTML issues
  [WebProfilerBundle] Disable Turbo for debug toolbar links
  [WebProfilerBundle] Fix an accessibility issue in the search form of the header
  [Mailer][MailPace] Fix undefined key in error response
  [Form] Fix PasswordHasherListener to work with empty data
  [PropertyInfo] Add meaningful message when `phpstan/phpdoc-parser` is not installed when using `PhpStanExtractor`
2023-02-04 09:32:01 +01:00
Fabien Potencier
4f09902f54 Merge branch '5.4' into 6.2
* 5.4:
  Remove 6.0 and 6.1 from the PR template
  [Validator] Make ConstraintValidatorTestCase compatible with PHPUnit 10
  [WebProfilerBundle] Fix some minor HTML issues
  [WebProfilerBundle] Disable Turbo for debug toolbar links
  [PropertyInfo] Add meaningful message when `phpstan/phpdoc-parser` is not installed when using `PhpStanExtractor`
2023-02-04 09:30:42 +01:00
gjuric
f7bb940f11 [Validator] Make ConstraintValidatorTestCase compatible with PHPUnit 10 2023-02-04 09:15:43 +01:00
tigitz
412d179d3a Leverage arrow function syntax for closure 2023-01-13 10:22:59 +01:00
Christophe Coevoet
3c016e06c6 [Validator] Add the type for ConstraintValidatorTestCase::createValidator 2022-11-09 14:36:49 +01:00
François-Xavier de Guillebon
ac4ba724d3 Replace get_class() calls by ::class 2022-09-01 04:03:18 +02:00
Nicolas Grekas
408b6a9cf4 Merge branch '6.0' into 6.1
* 6.0:
  [Validator] Fix AssertingContextualValidator when there is no expectation for atPath()
2022-02-24 11:43:01 +01:00
Nicolas Grekas
276b53701d Merge branch '5.4' into 6.0
* 5.4:
  [Validator] Fix AssertingContextualValidator when there is no expectation for atPath()
2022-02-24 11:42:56 +01:00
Thomas Calvet
1f517dd9e4 [Validator] Fix AssertingContextualValidator when there is no expectation for atPath() 2022-02-24 11:23:48 +01:00
Nicolas Grekas
8420357e3b Merge branch '6.0' into 6.1
* 6.0:
  [Lock] Release Locks from Internal Store on Postgres waitAndSave*
  [Serializer] Fix passing null to str_contains()
  [DependencyInjection] Don't reset env placeholders during compilation
  [HttpClient] Fix overriding default options with null
  [DependencyInjection] Clarify that using expressions in parameters is not allowed
  [GHA] Cancel running CI jobs when a PR is updated
  [Validator] Improve tests for the Image and File constraints
  [Validator][Tests] Fix AssertingContextualValidator not throwing on remaining expectations
2022-02-24 11:02:03 +01:00
Nicolas Grekas
34e6cc87fd Merge branch '5.4' into 6.0
* 5.4:
  [Lock] Release Locks from Internal Store on Postgres waitAndSave*
  [Serializer] Fix passing null to str_contains()
  [DependencyInjection] Don't reset env placeholders during compilation
  [HttpClient] Fix overriding default options with null
  [DependencyInjection] Clarify that using expressions in parameters is not allowed
  [GHA] Cancel running CI jobs when a PR is updated
  [Validator] Improve tests for the Image and File constraints
  [Validator][Tests] Fix AssertingContextualValidator not throwing on remaining expectations
2022-02-24 11:01:27 +01:00
Nicolas Grekas
b8218d298f Merge branch '4.4' into 5.4
* 4.4:
  [Serializer] Fix passing null to str_contains()
  [DependencyInjection] Don't reset env placeholders during compilation
  [HttpClient] Fix overriding default options with null
  [DependencyInjection] Clarify that using expressions in parameters is not allowed
  [GHA] Cancel running CI jobs when a PR is updated
  [Validator] Improve tests for the Image and File constraints
  [Validator][Tests] Fix AssertingContextualValidator not throwing on remaining expectations
2022-02-24 10:30:07 +01:00
Nicolas Grekas
e39a124b29 [ErrorHandler] trigger deprecations for @final properties 2022-02-10 11:18:35 +01:00
Thomas Calvet
34bdce193b [Validator][Tests] Fix AssertingContextualValidator not throwing on remaining expectations 2021-12-31 11:32:37 +01:00
Alexander M. Turek
e3db745355 Merge branch '6.0' into 6.1
* 6.0:
  Don't rely on session service in tests
  Fix Psr16Cache not being compatible with non-Symfony cache pools
  Restore Finder:getIterator return type PHPDoc
  [Mime] Fix encoding filenames in multipart/form-data
  Properly warn about deprecation of IS_AUTHENTICATED_ANONYMOUSLY
  [Lock] Create tables in transaction only if supported by driver
  [Validator] Improve French translation
  [HttpFoundation] Take php session.cookie settings into account
  [Translations] Add missing translations for Galician (gl)
  [ErrorHandler] fix on patching return types on Windows
  [DependencyInjection] fix linting callable classes
  alias `cache.app.taggable` to `cache.app` if using `cache.adapter.redis_tag_aware`
  restore the overriden locale on tearDown - avoid interfering with any configured value
  [Serializer] Improve UidNormalizer denormalize error message
  [DependencyInjection] Cast tag value to string
2021-12-21 14:18:21 +01:00
Alexander M. Turek
550557c007 Merge branch '5.4' into 6.0
* 5.4:
  Don't rely on session service in tests
  [Mime] Fix encoding filenames in multipart/form-data
  Properly warn about deprecation of IS_AUTHENTICATED_ANONYMOUSLY
  [Lock] Create tables in transaction only if supported by driver
  [Validator] Improve French translation
  [HttpFoundation] Take php session.cookie settings into account
  [Translations] Add missing translations for Galician (gl)
  [ErrorHandler] fix on patching return types on Windows
  [DependencyInjection] fix linting callable classes
  alias `cache.app.taggable` to `cache.app` if using `cache.adapter.redis_tag_aware`
  restore the overriden locale on tearDown - avoid interfering with any configured value
  [Serializer] Improve UidNormalizer denormalize error message
  [DependencyInjection] Cast tag value to string
2021-12-21 14:16:58 +01:00
Alexander M. Turek
6ad607e0bb Merge branch '5.3' into 5.4
* 5.3:
  [Mime] Fix encoding filenames in multipart/form-data
  [Validator] Improve French translation
  [Translations] Add missing translations for Galician (gl)
  [DependencyInjection] fix linting callable classes
  alias `cache.app.taggable` to `cache.app` if using `cache.adapter.redis_tag_aware`
  restore the overriden locale on tearDown - avoid interfering with any configured value
  [DependencyInjection] Cast tag value to string
2021-12-21 12:59:32 +01:00