* 8.0:
do not use PHPUnit mock objects without configured expectations
fix test
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
* 7.4:
do not use PHPUnit mock objects without configured expectations
fix test
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
* 7.3:
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
* 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
do not use PHPUnit mock objects without configured expectations
* 7.4:
run tests using PHPUnit 11.5
make data provider static
[Lock] Fix using fractional TTLs on all platforms
[Lock] Fixes an issue with PostgreSQL when using fractional TTLs
[Console][Table] Fix unnecessary wrapping
[DependencyInjection] Deprecate registering a service without a class when its id is a non-existing FQCN
disable detecting modified indexes with DBAL 4.3
[cache] RedisTrait::doFetch should use pipeline instead of mget for Relay\Cluster
relax assertions for forward compatibility with Symfony 7.4
[Console][Table] Fix invalid UTF-8 due to text wrapping
* 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`
* 7.0:
Fix CI
Bump ext-redis in CI on PHP >= 8.4
Adjust pretty name of closures on PHP 8.4
implement NodeVisitorInterface instead of extending AbstractNodeVisitor
sync .github/expected-missing-return-types.diff
skip test assertions that are no longer valid with PHP >= 8.2.18/8.3.5
* 5.4:
Fix CI
Bump ext-redis in CI on PHP >= 8.4
Adjust pretty name of closures on PHP 8.4
implement NodeVisitorInterface instead of extending AbstractNodeVisitor
* 7.0:
[Filesystem] Fix str_contains deprecation
[Security] Correctly initialize the voter property
[ErrorHandler] Skip failing tests when "xdebug.file_link_format" option is defined
[FrameworkBundle] Fix typo
Update `changed-translation-files` step with native git diff command
[DependencyInjection] fix XmlDumper when a tag contains also a 'name' property
[Lock] Check the correct SQLSTATE error code for MySQL
[ErrorHandler] Fix `ErrorHandlerTest::tearDown()` visibility
[Lock] compatiblity with redis cluster 7
[VarDumper] prevent error in value to Typed property must not be accessed before initialization
fix: typo
[Messenger] trigger retry logic when message is a redelivery
[PropertyAccess] Fix checking for missing properties
add missing invalid extension error entry
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
* 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
* 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
* 4.4:
[SecurityBundle] role_names variable instead of roles
[PhpUnitBridge] fix reporting deprecations when they come from DebugClassLoader
[ErrorHandler] fix parsing return types in DebugClassLoader
[ErrorHandler] fix handling messages with null bytes from anonymous classes
Restore priority for eventSubscribers