138 Commits

Author SHA1 Message Date
Nicolas Grekas
7a129b9bcc Merge branch '7.4' into 8.0
* 7.4:
  [DependencyInjection][Validator] Remove needless code
2025-09-04 11:52:15 +02:00
Nicolas Grekas
198faf4be2 [DependencyInjection][Validator] Remove needless code 2025-09-04 11:40:24 +02:00
Nicolas Grekas
b19f08c77a Merge branch '7.4' into 8.0
* 7.4:
  [Serializer] Allow using attributes to declare compile-time serialization metadata
  [Validator] Allow using attributes to declare compile-time constraint metadata
  [DoctrineBridge] Use a single table in isSameDatabaseChecker
  [DependencyInjection] Minor optims
2025-09-03 19:54:46 +02:00
Nicolas Grekas
1b35885e51 [Validator] Allow using attributes to declare compile-time constraint metadata 2025-09-03 17:41:19 +02:00
Nicolas Grekas
db6b7c8db2 Merge branch '7.4' into 8.0
* 7.4:
  [Validator][Serializer] Make internal properties private
  [VarExporter] Fix serializing classes with __serialize() returning unprefixed private properties
  Remove direct access to internal properties cross-components
  remove deprecated nullable option from primary key columns
  [Validator] Optimize serialized metadata and cleanup tests
  specific fix to avoid 'outag' when inflecting 'outages'
  Use <info> for options in command description
  [ObjectMapper] Remove obsolete TODO
  [HttpFoundation][HttpKernel][WebProfilerBundle] Add support for the `QUERY` HTTP method
  [DependencyInjection] Don’t autowire excluded services
  Add bool return type to CustomCredentials callable parameter
  [Process] Enhance hasSystemCallBeenInterrupted function for non-english locale
  [FrameworkBundle] Make `cache:warmup` warm up read-only caches
2025-08-18 15:24:29 +02:00
Nicolas Grekas
a9eb369e14 [Validator] Optimize serialized metadata and cleanup tests 2025-08-18 10:46:12 +02:00
Nicolas Grekas
62d60a43a2 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
697c805d8a More cleanups related to internal sleep/wakeup usages 2025-08-14 14:02:30 +02:00
Christian Flothmann
1d7117a57a remove support for generic constraint option handling 2025-07-30 10:22:29 +02:00
Christian Flothmann
a23b520116 mark getRequiredOptions()/getDefaultOption() of UniqueEntity as deprecated 2025-07-15 12:28:48 +02:00
Nicolas Grekas
c21845a556 Various CS fixes 2025-07-08 11:31:55 +02:00
Christian Flothmann
b6fd31cbfe deprecate handling options in the base Constraint class 2025-07-06 22:07:00 +02:00
Alexandre Daubois
d7aec1c5b2 [Validator] Enhance PHPDoc on Constraint::getTargets() 2024-10-09 16:09:10 +02:00
Alexandre Daubois
d441373782 Remove useless code 2024-08-08 12:05:06 +02:00
Alexander M. Turek
2050a6a1f5 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Vincent Langlet
9c55218010 [Validator] Document Compound::getConstraints options 2024-04-13 09:16:11 +02:00
Nicolas Grekas
80b7fa1c88 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
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
71d246d670 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
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
Alexandre Daubois
d5f7022327 Set strict parameter of in_array to true where possible 2023-12-14 11:33:29 +01:00
Nicolas Grekas
204f2b3d56 Merge branch '6.4' into 7.0
* 6.4:
  [FrameworkBundle][Validator] Replace annotation by attribute
  [Validator] Add annotation in Constraint
  [Lock] Add some missing return types in tests
  [Clock] Throw `DateMalformedStringException`/`DateInvalidTimeZoneException` when appropriate
  [VarExporter] Remove unused test files
  [FrameworkBundle] Remove unused test file
  [DependencyInjection] Remove unused test file
  [DomCrawler] Added argument `$default` to method `Crawler::attr()`
  [HttpKernel] Fix missing Request in RequestStack for StreamedResponse
  Psalm: Ignore UnusedClass errors
  fix(console): avoid multiple new line when message already ends with a new line
2023-08-17 17:51:30 +02:00
Nicolas Grekas
169bfc827e Merge branch '6.3' into 6.4
* 6.3:
  [Validator] Add annotation in Constraint
  [VarExporter] Remove unused test files
  [FrameworkBundle] Remove unused test file
  [DependencyInjection] Remove unused test file
  [HttpKernel] Fix missing Request in RequestStack for StreamedResponse
  Psalm: Ignore UnusedClass errors
  fix(console): avoid multiple new line when message already ends with a new line
2023-08-17 17:49:45 +02:00
Nicolas Grekas
0c84351549 Merge branch '5.4' into 6.3
* 5.4:
  Psalm: Ignore UnusedClass errors
2023-08-17 17:49:05 +02:00
Clément
8feb3c4951 [Validator] Add annotation in Constraint 2023-08-17 14:06:06 +02:00
Nicolas Grekas
6521a8599e Add types to public and protected properties 2023-07-27 18:29:09 +02:00
Wouter de Jong
975c11f6e5 [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Nicolas Grekas
b84d8c8fb8 Merge branch '6.4' into 7.0
* 6.4:
  Add missing return types to magic methods
2023-07-05 11:42:28 +02:00
Wouter de Jong
7d31e09944 Add missing return types to magic methods 2023-07-05 11:39:50 +02:00
Frank Fiebig
dcbdccde9b [Lock] 7.0 remove deprecations in Lock Component 2023-07-05 10:10:07 +02:00
Wouter de Jong
da57429a94 Add void return types 2023-02-13 14:18:23 +01:00
Nicolas Grekas
84a9ccf5c4 [Validator] Deprecate Constraint::$errorNames in favor of Constraint::ERROR_NAMES 2022-02-10 11:12:24 +01:00
Fabien Potencier
49d14eb95d Merge branch '5.4' into 6.0
* 5.4:
  Bump license year
  Bump license year
  [Validator] Error using CssColor with doctrine annotations
  [HttpClient] Turn negative timeout to a very long timeout
  Features goes to 6.x branch
  [Translation] [LocoProvider] Fix use of asset ids
  fix lowest required PropertyInfo component release
  [Validator] throw when Constraint::_construct() has not been called
  Bump Symfony version to 5.4.3
  Update VERSION for 5.4.2
  Update CHANGELOG for 5.4.2
  Bump Symfony version to 5.3.14
  Update VERSION for 5.3.13
  Update CHANGELOG for 5.3.13
  Bump Symfony version to 4.4.37
  Update VERSION for 4.4.36
  Update CONTRIBUTORS for 4.4.36
  Update CHANGELOG for 4.4.36
  Allow symfony/runtime plugin
2022-01-02 10:55:41 +01:00
Fabien Potencier
a94e6d8fdb Merge branch '5.3' into 5.4
* 5.3:
  Bump license year
  Bump license year
  [HttpClient] Turn negative timeout to a very long timeout
  Features goes to 6.x branch
  fix lowest required PropertyInfo component release
  [Validator] throw when Constraint::_construct() has not been called
  Bump Symfony version to 5.3.14
  Update VERSION for 5.3.13
  Update CHANGELOG for 5.3.13
  Bump Symfony version to 4.4.37
  Update VERSION for 4.4.36
  Update CONTRIBUTORS for 4.4.36
  Update CHANGELOG for 4.4.36
  Allow symfony/runtime plugin
2022-01-02 10:53:40 +01:00
Fabien Potencier
93fa1273f1 Merge branch '4.4' into 5.3
* 4.4:
  Bump license year
  [HttpClient] Turn negative timeout to a very long timeout
  Features goes to 6.x branch
  [Validator] throw when Constraint::_construct() has not been called
  Bump Symfony version to 4.4.37
  Update VERSION for 4.4.36
  Update CONTRIBUTORS for 4.4.36
  Update CHANGELOG for 4.4.36
  Allow symfony/runtime plugin
2022-01-02 10:51:59 +01:00
Nicolas Grekas
ee7de0ca75 [Validator] throw when Constraint::_construct() has not been called 2021-12-29 19:06:25 +01:00
Nicolas Grekas
45c99afd04 Merge branch '5.4' into 6.0
* 5.4: (22 commits)
  fix cs
  Update validators.lv.xlf
  Fix API gateway service name
  Improve recommendation message for "composer req"
  Fix CS in composer.json
  [DependencyInjection] fix preloading
  Update validators.uz.xlf
  AddMake ExpressionVoter Cacheable
  Add framework config for DBAL cache adapter
  [ExpressionLanguage] Fix LexerTest number types
  [Process] intersect with getenv() to populate default envs
  Improve CI script a bit
  Fix deprecation message placeholders
  [Cache] Fix calculate ttl in couchbase sdk 3.0
  Fix Loco Provider
  [Cache] fix dbindex Redis
  Fix typos in a test message
  [Cache] fix releasing not acquired locks
  [DependencyInjection] fix creating 2nd container instances
  Never rely on dynamic properties
  ...
2021-11-17 13:23:22 +01:00
Nicolas Grekas
601eeb5bea Merge branch '5.3' into 5.4
* 5.3:
  fix cs
  Update validators.lv.xlf
  Fix API gateway service name
  Fix CS in composer.json
  Update validators.uz.xlf
  [ExpressionLanguage] Fix LexerTest number types
  [Process] intersect with getenv() to populate default envs
  Improve CI script a bit
  Fix Loco Provider
  [Cache] fix dbindex Redis
  Fix typos in a test message
  Never rely on dynamic properties
2021-11-17 13:18:18 +01:00
Nicolas Grekas
5b6fd37f8a Merge branch '4.4' into 5.3
* 4.4:
  fix cs
  Update validators.lv.xlf
  Update validators.uz.xlf
  [ExpressionLanguage] Fix LexerTest number types
  [Process] intersect with getenv() to populate default envs
  Improve CI script a bit
  [Cache] fix dbindex Redis
  Never rely on dynamic properties
2021-11-17 13:16:12 +01:00
Nicolas Grekas
372c74ac5d Never rely on dynamic properties 2021-11-15 15:42:25 +01:00
Thomas Calvet
cfa27fa658 Fix some redundant @return phpdoc 2021-10-26 19:15:58 +02:00
Nicolas Grekas
01acba474b Add missing return types to tests/internal/final methods 2021-08-18 10:03:57 +02:00
Nicolas Grekas
68e9f4edac Merge branch '5.4' into 6.0
* 5.4:
  [Serializer] cs fix
  Cleanup more `@return` annotations
  [Form] Fix phpdoc on FormBuilderInterface
2021-08-17 17:35:52 +02:00
Nicolas Grekas
f7d2ceb362 Cleanup more @return annotations 2021-08-17 16:20:01 +02:00
Nicolas Grekas
76dd623e84 Add return types - batch 6/n 2021-08-16 17:45:02 +02:00
Nicolas Grekas
d6fc21b846 Merge branch '5.4' into 6.0
* 5.4:
  [Cache] Add missing return type
  [5.2] Add missing `@return` annotations
  [4.4] Add missing `@return` annotations
  Handle lock with long key
  #42227 update phpdoc to recommend createIndex over ensureIndex
2021-07-23 18:02:39 +02:00
Nicolas Grekas
5a143aafa2 Merge branch '5.3' into 5.4
* 5.3:
  [Cache] Add missing return type
  [5.2] Add missing `@return` annotations
  [4.4] Add missing `@return` annotations
  Handle lock with long key
  #42227 update phpdoc to recommend createIndex over ensureIndex
2021-07-23 17:55:57 +02:00
Nicolas Grekas
9847bfd840 Merge branch '4.4' into 5.2
* 4.4:
  [4.4] Add missing `@return` annotations
  Handle lock with long key
2021-07-23 17:54:19 +02:00
Nicolas Grekas
20a30d8d74 [4.4] Add missing @return annotations 2021-07-23 17:41:52 +02:00