* 7.1:
fix detecting anonymous exception classes on Windows and PHP 7
skip tests requiring the intl extension if it's not installed
[RateLimiter] Fix DateInterval normalization
re-add missing profiler shortcuts on profiler homepage
Fix support for \SplTempFileObject in BinaryFileResponse
[Security] Store original token in token storage when implicitly exiting impersonation
[Cache] Fix clear() when using Predis
* 6.4:
fix detecting anonymous exception classes on Windows and PHP 7
skip tests requiring the intl extension if it's not installed
[RateLimiter] Fix DateInterval normalization
[Security] Store original token in token storage when implicitly exiting impersonation
[Cache] Fix clear() when using Predis
* 5.4:
fix detecting anonymous exception classes on Windows and PHP 7
skip tests requiring the intl extension if it's not installed
[RateLimiter] Fix DateInterval normalization
[Security] Store original token in token storage when implicitly exiting impersonation
[Cache] Fix clear() when using Predis
* 7.1:
Fix ProcessTest - testIgnoringSignal for local
[Console][PhpUnitBridge][VarDumper] Fix `NO_COLOR` empty value handling
[Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4
[DoctrineBridge] fix messenger bus dispatch inside an active transaction
[HttpFoundation] Add tests for uncovered sections
treat uninitialized properties referenced by property paths as null
[PropertyInfo] Check if property is nullable when using `ReflectionExtractor`
properly set up constraint options
[ErrorHandler][VarDumper] Remove PHP 8.4 deprecations
move adding detailed JSON error messages to the validate phase
[Profiler] Add word wrap in tables in dialog to see all the text
[Core] Fix & Enhance security arabic translation.
[HttpFoundation] Add tests for `MethodRequestMatcher` and `SchemeRequestMatcher`
* 7.0:
[Console][PhpUnitBridge][VarDumper] Fix `NO_COLOR` empty value handling
[Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4
[DoctrineBridge] fix messenger bus dispatch inside an active transaction
[HttpFoundation] Add tests for uncovered sections
treat uninitialized properties referenced by property paths as null
properly set up constraint options
[ErrorHandler][VarDumper] Remove PHP 8.4 deprecations
move adding detailed JSON error messages to the validate phase
[Profiler] Add word wrap in tables in dialog to see all the text
[Core] Fix & Enhance security arabic translation.
[HttpFoundation] Add tests for `MethodRequestMatcher` and `SchemeRequestMatcher`
This PR was merged into the 7.1 branch.
Discussion
----------
[HttpKernel] Increase log level to "error" at least for all PHP errors
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix#54036
| License | MIT
reproducer: with a simple `$a = $b` in a controller.
Before
```
[PHP ] [Fri Feb 23 17:14:26 2024] 127.0.0.1:42604 Accepted
[PHP ] [Fri Feb 23 17:14:26 2024] 127.0.0.1:42604 [200]: GET /
[Web Server ] Feb 23 17:14:26 |INFO | SERVER GET (200) / ip="127.0.0.1"
[PHP ] [Fri Feb 23 17:14:26 2024] 127.0.0.1:42604 Closing
```
After
```
[Web Server ] Feb 23 17:15:11 |INFO | SERVER GET (200) / ip="127.0.0.1"
[PHP ] [Fri Feb 23 17:15:11 2024] 127.0.0.1:57906 Accepted
[PHP ] {"message":"Matched route \"app_homepage_index\".","context":{"route":"app_homepage_index","route_parameters":{"_route":"app_homepage_index","_controller":"App\\Controller\\HomepageController::index"},"request_uri":"https://127.0.0.1:8000/","method":"GET"},"level":200,"level_name":"INFO","channel":"request","datetime":"2024-02-23T17:15:11.090004+01:00","extra":{}}
[PHP ] {"message":"Checking for authenticator support.","context":{"firewall_name":"main","authenticators":0},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2024-02-23T17:15:11.090469+01:00","extra":{}}
[PHP ] {"message":"Warning: Undefined variable $b","context":{"exception":{"class":"ErrorException","message":"Warning: Undefined variable $b","code":0,"file":"/home/gregoire/dev/labs/symfony/symfony-7.1/src/Controller/HomepageController.php:20"}},"level":400,"level_name":"ERROR","channel":"php","datetime":"2024-02-23T17:15:11.090872+01:00","extra":{}}
[PHP ] [Fri Feb 23 17:15:11 2024] 127.0.0.1:57906 [200]: GET /
[PHP ] [Fri Feb 23 17:15:11 2024] 127.0.0.1:57906 Closing
```
Commits
-------
796950bbd9 [HttpKernel] Increase log level to "error" at least for all PHP errors
* 5.4:
[VarDumper] Fix test suite with PHP 8.4
[DoctrineBridge] Add missing return type
[Mailer] Fix sendmail transport not handling failure
[HttpClient] Lazily initialize CurlClientState
updating missing translations for Greek #53768
[Validator] Allow BICs’ first four characters to be digits
[ErrorHandler] Fix exit code when an exception occurs and the exception handler has been unregistered
[Validator] Review Arabic translations and add correct translations.
* 5.4:
[DependencyInjection] Fix computing error messages involving service locators
[Serializer] Fix unknown types normalization type when know type
[ErrorHandler] Fix parsing messages that contain anonymous classes on PHP >= 8.3.3
[Validator] Review Romanian (ro) translations
[Console] Fix display of Table on Windows OS
[FrameworkBundle] Fix config builder with extensions extended in `build()`
[WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching
explicitly cast boolean SSL stream options
return the unchanged text if preg_replace_callback() fails
the 'use_notify' option is on the factory, not on the postgres connection class
review translations
* 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
This PR was merged into the 6.4 branch.
Discussion
----------
Use more "First class callable syntax" + Normalize set_error_handler/set_exception_handler calls
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
Commits
-------
be1bbbccc1 Use more "First class callable syntax" + Normalize set_error_handler/set_exception_handler calls
* 6.0:
[HttpKernel] Fix test sensitivity on xdebug.file_link_format
[HttpKernel] Fix non-scalar check in surrogate fragment renderer
[Debug][ErrorHandler] fix operator precedence
[Cache] Ensured that redis adapter can use multiple redis sentinel hosts
[DoctrineBridge] fix tests
[Security] Allow redirect after login to absolute URLs
* 5.4:
[HttpKernel] Fix test sensitivity on xdebug.file_link_format
[HttpKernel] Fix non-scalar check in surrogate fragment renderer
[Debug][ErrorHandler] fix operator precedence
[Cache] Ensured that redis adapter can use multiple redis sentinel hosts
[DoctrineBridge] fix tests
[Security] Allow redirect after login to absolute URLs
* 4.4:
[HttpKernel] Fix test sensitivity on xdebug.file_link_format
[HttpKernel] Fix non-scalar check in surrogate fragment renderer
[Debug][ErrorHandler] fix operator precedence
[Security] Allow redirect after login to absolute URLs
* 6.0:
[Messenger] Fix function name in TriggerSql on postgresql bridge to support table name with schema
[HttpClient] Fix the CS fix
Workaround disabled "var_dump"
[Serializer] Respect default context in DateTimeNormalizer::denormalize
* 5.4:
[Messenger] Fix function name in TriggerSql on postgresql bridge to support table name with schema
[HttpClient] Fix the CS fix
Workaround disabled "var_dump"
[Serializer] Respect default context in DateTimeNormalizer::denormalize
# Conflicts:
# src/Symfony/Component/ErrorHandler/ErrorHandler.php
# src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php
* 5.4:
Avoid duplicated session listener registration in tests
[HttpFoundation] fix SessionHandlerFactory using connections
[gha] swap the php versions we use in jobs
[DoctrineBridge] fix calling get_class on non-object
Update PR template
ResponseListener needs only 2 parameters
[Lock] create lock table if it does not exist
[HttpClient] Fix handling error info in MockResponse
[SecurityBundle] Fix invalid reference with `always_authenticate_before_granting`
Bump Symfony version to 5.4.1
Update VERSION for 5.4.0
Update CHANGELOG for 5.4.0
* 4.4:
[gha] swap the php versions we use in jobs
[DoctrineBridge] fix calling get_class on non-object
Update PR template
[HttpClient] Fix handling error info in MockResponse
* 5.4:
[Security] Do not overwrite already stored tokens for REMOTE_USER authentication
[Validator] Fix validation for single level domains
[Notifier] add Vonage bridge to replace the Nexmo one
Fix redundant type casts
Increased the reserved memory from 10k to 32k
Complete event name & dispatcher in EventDispatcherDebugCommand
[DoctrineBridge] Add DbalLoggerTest to group legacy
Leverage DBAL's getNativeConnection() method
[FrameworkBundle] Fix property-info phpstan extractor discovery
Fix idempotency of LocoProvider write method
* 4.4:
[Validator] Fix validation for single level domains
Increased the reserved memory from 10k to 32k
[DoctrineBridge] Add DbalLoggerTest to group legacy