18 Commits

Author SHA1 Message Date
Alexander M. Turek
64908ae925 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Nicolas Grekas
d44fa69798 Merge branch '6.3' into 6.4
* 6.3:
  [AssetMapper] Handle assets with non-ascii characters in dev server
  [Translation] Fix `TranslationNodeVisitor` with constant domain
  [Messenger] [AMQP] Throw exception on `nack` callback
  [Validator] revise Latvian translations
  [ErrorHandler] Fix `RecursiveDirectoryIterator` exception with wrong composer autoload
  [HttpFoundation] Request without content-type or content-length header should result in null values, not empty strings
  [Cache] Fix possible infinite loop in `CachePoolPass`
  grab a service from the container only if it exists
  [Mime] Fix undefined array key 0 when empty sender
  [Console] Allow '0' as a $shortcut in InputOption.php
  fix multi-byte code area to convert
  [Validator] Make it explicit when English translation differs from its resource name
2024-01-23 14:36:40 +01:00
Nicolas Grekas
397ef13005 Merge branch '5.4' into 6.3
* 5.4:
  [Translation] Fix `TranslationNodeVisitor` with constant domain
  [Messenger] [AMQP] Throw exception on `nack` callback
  [Validator] revise Latvian translations
  [ErrorHandler] Fix `RecursiveDirectoryIterator` exception with wrong composer autoload
  [HttpFoundation] Request without content-type or content-length header should result in null values, not empty strings
  [Cache] Fix possible infinite loop in `CachePoolPass`
  [Mime] Fix undefined array key 0 when empty sender
  [Console] Allow '0' as a $shortcut in InputOption.php
  fix multi-byte code area to convert
  [Validator] Make it explicit when English translation differs from its resource name
2024-01-23 14:24:28 +01:00
Kev
de2ff4c96f [ErrorHandler] Fix RecursiveDirectoryIterator exception with wrong composer autoload 2024-01-23 10:10:27 +01:00
Grégoire Pineau
4be2642044 [ErrorHandler] Avoid compile crash while trying to find candidate when a class is not found 2023-07-13 14:42:54 +02:00
tigitz
c7da6f4d10 Leverage arrow function syntax for closure 2023-01-13 10:22:59 +01:00
Grégoire Pineau
a777c0e99f [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Thomas Calvet
bbb636fdaf Leverage non-capturing catches 2022-04-01 09:15:35 +02:00
Alexander M. Turek
3291ba291a Merge branch '5.4' into 6.0
* 5.4:
  fix SQLSRV throws for method_exists()
  [HttpKernel] Add basic support for language negotiation
  [Messenger] Add a middleware to log when transaction has been left open
  [HttpClient] Add method to set response factory in mock client
  Move array_merge calls out of loops to improve performance
  Remove references to DBALException
  [VarDumper] Fix handling of "new" in initializers on PHP 8.1
2021-10-05 23:23:30 +02:00
Simon Berger
91eb974ecb Move array_merge calls out of loops to improve performance 2021-10-04 20:34:22 +02:00
Nicolas Grekas
e9597c410a Merge branch '4.4' into 5.2
* 4.4:
  [ErrorHandler][Debug] Do not use the php80 polyfill
  #42229 update phpdoc to recommend createIndex over ensureIndex
2021-07-22 09:44:37 +02:00
Nicolas Grekas
61de802c1e [ErrorHandler][Debug] Do not use the php80 polyfill 2021-07-22 09:21:39 +02:00
Nicolas Grekas
210ab1e51d 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
b65527a88b 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
4006c2325f Merge branch '4.4' into 5.1
* 4.4:
  [Debug] fix test
  consistently use same types for strict comparisons
  [PhpUnitBridge] Skip internal classes in CoverageListenerTrait
  [VarExporter] unserialize() might throw an Exception on php 8.
  [ErrorHandler] Parse "x not found" errors correctly on php 8.
  Prevent parsing invalid octal digits as octal numbers
  remove unnecessary check for  existing request
  [DI] fix ContainerBuilder on PHP8
  [Console] Make sure $maxAttempts is an int or null.
  [VarDumper] Fix caster for invalid SplFileInfo objects on php 8.
  [Intl] Skip test cases that produce a TypeError on php 8.
  [PhpUnitBridge] Adjust output parsing for PHPUnit 9.3.
  [PhpUnitBridge] CoverageListenerTrait update for PHPUnit 8.5/9.x
  add bosnian (bs) translation
  [Debug] Parse "x not found" errors correctly on php 8.
2020-09-08 16:19:54 +02:00
Alexander M. Turek
ce16566ab9 [ErrorHandler] Parse "x not found" errors correctly on php 8. 2020-09-07 20:45:32 +02:00
Thomas Calvet
a0e23ee305 [ErrorHandler] Remove Symfony ClassLoader support in an error enhancer 2019-11-08 09:41:40 +01:00
Thomas Calvet
95ca574e84 [ErrorHandler] Rework fatal error handlers 2019-09-30 14:01:42 +02:00