This PR was submitted for the 3.x branch but it was squashed and merged into the 2.x branch instead.
Discussion
----------
Fixes `CallExpression::reflectCallable()` throwing `TypeError`
See #3708
Commits
-------
e333ccc9 Fixes `CallExpression::reflectCallable()` throwing `TypeError`
This PR was merged into the 2.x branch.
Discussion
----------
Fix optimizing non-public named closures
Fix#3703
Commits
-------
dd34e9f5 Fix optimizing non-public named closures
This PR was merged into the 2.x branch.
Discussion
----------
[Documentation] Add note about simple string matching
During the Symfony Live we mentionned the need to update the documentation around string matching to mention that an approach was possible with the ``ìn`` operator was simpler.
As the documentation part about ``in`` was just below, I wasn't sure that an anchor link was relevant, nor a code example.
Happy to make this first tiny contribution, and available if there are more stuff to do for this PR :).
Commits
-------
5e26ce73 [Documentation] Add note about simple string matching
This PR was merged into the 2.x branch.
Discussion
----------
Enable cache invalidation when auto_reload=true
Related to https://github.com/symfony/symfony-docs/pull/16671
Enabling `auto_reload` is not effective when `opcache.validate_timestamps=0`.
Commits
-------
ef8ae9cb Enable bytecode invalidation with auto_reload
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Fix docs about the deprecated tag
Closes#3594
Commits
-------
17142af9 Fix docs about the deprecated tag
This PR was merged into the 3.x branch.
Discussion
----------
add support for the class constant on objects
This is especially useful for Symfony Turbo:
Before:
```twig
<div id="books" {{ turbo_stream_listen('App\\Entity\\Book') }}></div>
```
After:
```twig
<div id="books" {{ turbo_stream_listen(constant('class', book) }}></div>
```
Replace https://github.com/php/php-src/pull/6763
Commits
-------
0d6bd458 add support for the class constant on objects