110 Commits

Author SHA1 Message Date
Younes ENNAJI
6894032902 [Cache] Remove unset call on undefined variable in PhpArrayAdapter 2025-11-05 05:18:57 +01:00
Nicolas Grekas
db34764bc8 Merge branch '7.3' into 7.4
* 7.3:
  [Config] Fix `ReflectionClassResource` hash validation
  [Cache] Fix internal representation of non-static values
  [Cache] Make `TagAwareAdapter` registrable as a service
  refactor: Unify & more humane translation message
  fix Resources translations validators.pt.xlf
  [Security] Pass attributes to nested `ChainUserProviders`
  [Validator] Update translation for the Video constraint
  [Messenger] Firebird Database - incompatibility with expected lowercase columns
  SQLSRV: Change column type from TEXT to STRING
  Fix exception catch when deleting temporary table in the sameDatabaseChecker
  [JsonStreamer] Fix encoding iterable lists
  [Serializer] Fix serializer crash due to asymmetric visibility on `protected(set)` properties
  [DependencyInjection] Respect original service class when a proxy is defined
2025-09-03 14:01:59 +02:00
Nicolas Grekas
499db0bae8 Merge branch '6.4' into 7.3
* 6.4:
  [Cache] Fix internal representation of non-static values
  [Cache] Make `TagAwareAdapter` registrable as a service
  refactor: Unify & more humane translation message
  fix Resources translations validators.pt.xlf
  [Security] Pass attributes to nested `ChainUserProviders`
  [Validator] Update translation for the Video constraint
  [Messenger] Firebird Database - incompatibility with expected lowercase columns
  SQLSRV: Change column type from TEXT to STRING
  Fix exception catch when deleting temporary table in the sameDatabaseChecker
  [Serializer] Fix serializer crash due to asymmetric visibility on `protected(set)` properties
2025-09-03 13:56:52 +02:00
Nicolas Grekas
90ba1a8267 [Cache] Fix internal representation of non-static values 2025-09-03 11:08:41 +02:00
Nicolas Grekas
f5f477a4ea minor #61371 chore: PHP CS Fixer - restore PHP / PHPUnit rulesets (keradus)
This PR was squashed before being merged into the 7.4 branch.

Discussion
----------

 chore: PHP CS Fixer - restore PHP / PHPUnit rulesets

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

relates to 5d4e211789 (r163638626) , showing:
- possible improvements to codebase that those ruleset can still offer (especially when targetting newest possible target version)
- and also preventing old way to still be in use, if someone forget to use new syntax/methods

with love by [PHP Coding Standards Fixer](https://cs.symfony.com/)

Commits
-------

92940de5e52  chore: PHP CS Fixer - restore PHP / PHPUnit rulesets
2025-08-12 22:21:03 +02:00
Dariusz Ruminski
2c4ebb7404 chore: PHP CS Fixer - restore PHP / PHPUnit rulesets 2025-08-12 22:20:59 +02:00
Dariusz Ruminski
201005cde0 chore: heredoc indentation as of PHP 7.3
https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
2025-08-10 00:28:14 +02:00
Nicolas Grekas
52a03d7916 CS fixes 2025-07-10 10:14:14 +02:00
Alexandre Daubois
bf7c8969a1 Fix multiple CS errors 2024-08-05 10:22:14 +02:00
Alexander M. Turek
fd6121840d [Cache] Use tempnam() instead of uniquid()
… to produce a temporary file
2024-07-22 16:54:13 +02:00
Alexander M. Turek
360e65cff2 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Nicolas Grekas
5460647cb9 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
b26a32b8eb 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
db1adb004e Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Oskar Stark
e2334fbf6b [Asset][BrowserKit][Cache][Console][CssSelector] Use CPP 2024-01-04 11:44:02 +01:00
Wouter de Jong
b9ba353b3a Add void return types 2023-02-13 14:18:23 +01:00
Thomas Calvet
e559bd190c Use xxh128 instead of md5 2023-02-09 18:45:46 +01:00
Nicolas Grekas
af094f6701 Use ??= more 2022-11-02 10:08:04 +01:00
Grégoire Pineau
bfb56d623f [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Nicolas Grekas
e855b4b253 Merge branch '6.0' into 6.1
* 6.0:
  CS fixes
  Bump Symfony version to 6.0.11
  Update VERSION for 6.0.10
  Update CHANGELOG for 6.0.10
  Bump Symfony version to 5.4.11
  Update VERSION for 5.4.10
  Update CHANGELOG for 5.4.10
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 19:24:16 +02:00
Nicolas Grekas
ab862e7fe4 Merge branch '5.4' into 6.0
* 5.4:
  CS fixes
  Bump Symfony version to 5.4.11
  Update VERSION for 5.4.10
  Update CHANGELOG for 5.4.10
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 19:10:44 +02:00
Nicolas Grekas
3e81372f0e Merge branch '4.4' into 5.4
* 4.4:
  CS fixes
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 18:58:25 +02:00
Thomas Calvet
5c3c84f8a1 Leverage non-capturing catches 2022-04-01 09:15:35 +02:00
Nicolas Grekas
4253cbd9c6 Add return types - batch 1/n 2021-08-13 09:43:57 +02:00
Nicolas Grekas
a556a8fc6e [Contracts] add return types and bump to v3 2021-07-14 19:12:34 +02:00
Alexander M. Turek
2c486b0673 [Cache] Add types to private properties
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-09 14:34:54 +01:00
Nicolas Grekas
73f95d779a [Cache] Leverage union types 2021-07-07 15:26:12 +02:00
Alexander M. Turek
0114914fc6 [Cache] Implement psr/cache 3
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-06 18:46:48 +02:00
Nicolas Grekas
eb7579938f [Cache] boost perf by wrapping keys validity checks with assert() 2021-02-26 13:15:59 +01:00
Alexander M. Turek
1220c224c7 Fix CS 2020-10-28 22:33:29 +01:00
Fabien Potencier
12116988c3 Fix CS 2020-08-17 09:39:58 +02:00
Nicolas Grekas
fe77eb8f54 Merge branch '3.4' into 4.4
* 3.4:
  Fix PHP 8 deprecations
  ensure compatibility with PHP 8 stack traces
2020-07-08 19:09:45 +02:00
Christian Flothmann
de2268ae81 ensure compatibility with PHP 8 stack traces 2020-07-08 18:57:10 +02:00
Nicolas Grekas
8c4781dbba Use is_file() instead of file_exists() where possible 2020-04-24 00:29:19 +02:00
Nicolas Grekas
00b6458bb9 [HttpKernel] allow cache warmers to add to the list of preloaded classes and files 2020-04-04 11:52:45 +02:00
Nicolas Grekas
54e38b49be Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Fabien Potencier
f6612d310e Fix quotes in exception messages 2020-03-16 14:02:39 +01:00
Nicolas Grekas
aad2521f86 Merge branch '4.4' into 5.0
* 4.4: (30 commits)
  [Security] Check UserInterface::getPassword is not null before calling needsRehash
  gracefully handle missing event dispatchers
  Fix TokenStorage::reset not called in stateless firewall
  [DotEnv] Remove `usePutEnv` property default value
  [HttpFoundation] get currently session.gc_maxlifetime if ttl doesnt exists
  Set up typo fix
  [DependencyInjection] Handle env var placeholders in CheckTypeDeclarationsPass
  [Cache] fix memory leak when using PhpArrayAdapter
  [Validator] Allow underscore character "_" in URL username and password
  [TwigBridge] Update bootstrap_4_layout.html.twig
  [FrameworkBundle][SodiumVault] Create secrets directory only when needed
  fix parsing negative octal numbers
  [SecurityBundle] Passwords are not encoded when algorithm set to \"true\"
  [DependencyInjection] Resolve expressions in CheckTypeDeclarationsPass
  [SecurityBundle] Properly escape regex in AddSessionDomainConstraintPass
  do not validate passwords when the hash is null
  [DI] fix resolving bindings for named TypedReference
  [Config] never try loading failed classes twice with ClassExistenceResource
  [Mailer] Fix SMTP Authentication when using STARTTLS
  [DI] Fix making the container path-independent when the app is in /app
  ...
2019-12-07 17:40:37 +01:00
Nicolas Grekas
99937208ab Merge branch '4.3' into 4.4
* 4.3:
  gracefully handle missing event dispatchers
  [Cache] fix memory leak when using PhpArrayAdapter
  fix parsing negative octal numbers
  [SecurityBundle] Properly escape regex in AddSessionDomainConstraintPass
  [Config] never try loading failed classes twice with ClassExistenceResource
2019-12-07 17:27:44 +01:00
Nicolas Grekas
dadb53f582 Merge branch '3.4' into 4.3
* 3.4:
  [Cache] fix memory leak when using PhpArrayAdapter
  fix parsing negative octal numbers
  [SecurityBundle] Properly escape regex in AddSessionDomainConstraintPass
  [Config] never try loading failed classes twice with ClassExistenceResource
2019-12-07 17:25:26 +01:00
Nicolas Grekas
65c9fea430 [Cache] fix memory leak when using PhpArrayAdapter 2019-12-05 19:35:35 +01:00
Nicolas Grekas
de737c81ea Merge branch '4.3' into 4.4
* 4.3:
  Fix failures on PHP 7.4
2019-12-01 11:50:45 +01:00
Nicolas Grekas
2a7bcc592a Merge branch '3.4' into 4.3
* 3.4:
  Fix failures on PHP 7.4
2019-12-01 11:50:31 +01:00
Nicolas Grekas
3d9f46a696 Fix failures on PHP 7.4 2019-12-01 11:45:41 +01:00
Nicolas Grekas
d379749d14 Merge branch '4.4'
* 4.4:
  Import return annotations from vendors
  [ErrorHandler] Handle return types in DebugClassLoader
  cs fix
2019-08-14 15:44:59 +02:00
Nicolas Grekas
aab1b26035 Import return annotations from vendors 2019-08-14 15:27:41 +02:00
Thomas Calvet
31b4e4f237 [Cache] Remove PhpArrayAdapter::throwOnRequiredClass() 2019-08-08 08:58:12 +02:00
Nicolas Grekas
03184798a0 Merge branch '4.4'
* 4.4:
  [ErrorRenderer] Fix timestamp on logs view
  [FrameworkBundle][Config] Ignore exeptions thrown during reflection classes autoload
2019-08-07 16:11:31 +02:00
Nicolas Grekas
54e64530d9 Merge branch '3.4' into 4.3
* 3.4:
  [FrameworkBundle][Config] Ignore exeptions thrown during reflection classes autoload
2019-08-07 16:08:37 +02:00
Thomas Calvet
5e000a5d67 [FrameworkBundle][Config] Ignore exeptions thrown during reflection classes autoload 2019-08-06 18:40:06 +02:00