This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Fix a typo advanced.rst
Fix a typo
Commits
-------
cd24fb57 Fix a typo advanced.rst
This PR was merged into the 2.x branch.
Discussion
----------
[TwigExtraBundle] Add the return type information in getConfigTreeBuilder()
Moved from https://github.com/twigphp/twig-extra-bundle/pull/5
-----
This will fix the following deprecation:
```
1x: Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "Twig\Extra\TwigExtraBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit `@return` annotation to suppress this message.
1x in AddUserCommandTest::testCreateUserNonInteractive from App\Tests\Command
```
Commits
-------
26654f65 [TwigExtraBundle] Add the return type information in getConfigTreeBuilder()
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Fix emphasis on compiler to bold styling
This is just so the Lexer, Parser, and Compiler has the same styling
Commits
-------
97ae3c8e Fix emphasis on compiler to bold styling
This PR was submitted for the 3.x branch but it was squashed and merged into the 1.x branch instead.
Discussion
----------
Update .gitattributes to exclude non-dist files
resolves#3503
some extra files can be excluded also:
- changelog
- license
- readme
should this be rebased to 1.x, 2.x?
Commits
-------
92766d0e Update .gitattributes to exclude non-dist files
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Update markdown-to-html converter missing message
The `league/html-to-markdown` library does not support Markdown to HTML conversion (anymore?). The `league/commonmark` library is suitable for that.
Commits
-------
46d21545 Update markdown-to-html converter missing message
This PR was merged into the 1.x branch.
Discussion
----------
Missing Environment and LoaderInterface
Detected by CI...
Commits
-------
61df934a Missing Environment and LoaderInterface
This PR was merged into the 2.x branch.
Discussion
----------
Add explicit ``@return`` type next to `#[ReturnTypeWillChange]`
Commits
-------
1d0bab9d Add explicit ``@return`` type next to `#[ReturnTypeWillChange]`
This PR was merged into the 2.x branch.
Discussion
----------
Twig2 PHP 8.1 beta compatibility
PHP 8.1 adds deprecation warnings for \IteratorAggregate \Countable and \ArrayAccess and Twig 2 (and 3) need to be updated for this.
Commits
-------
98c2233e Twig2 PHP 8.1 beta compatibility
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Explicitly specify the encoding for mb_ord in JS escaper
`mb_ord` should be called with the specified UTF-8 encoding to make it independent of `mb_internal_encoding`.
Related to https://github.com/twigphp/Twig/pull/3397
Commits
-------
da24c934 Explicitly specify the encoding for mb_ord in JS escaper
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Update Markdown packages
Hi,
Small PR to update the order of markdown packages related to their recent activities and releases :)
Feel free to close, cheers
Commits
-------
479336e0 Update Markdown packages
This PR was merged into the 1.x branch.
Discussion
----------
Fix implicit float to int casts
PHP 8.1 is picky about implicit float-to-int casts if we lose precision because of that cast. This PR attempts to fix all issues on the 1.x branch.
Commits
-------
de9cd76d Fix implicit flot to int casts
This PR was merged into the 2.x branch.
Discussion
----------
Add ReturnTypeWillChange to JsonSerializable implementation
On PHP 8.1, implementations of `JsonSerializable` should declare a return type.
In order to avoid a deprecation warning and maintain backwards compatibility, I've added the `ReturnTypeWillChange` attribute to declare that our implementation will add the necessary return type in a future release.
Commits
-------
507f78d9 Add ReturnTypeWillChange to JsonSerializable implementation