This PR was merged into the 6.4 branch.
Discussion
----------
Remove some idioms and simplify expressions
The audience of Symfony docs is worlwide and mostly non-native in English, so let's try to use simpler expressions if possible.
Commits
-------
ec70ebc24 Remove some idioms and simplify expressions
- Rename `symfony_server.rst` to `symfony_cli.rst`
- Refocus documentation on the Symfony CLI as a comprehensive tool
- Add new sections for project creation and PHP management
- Reorganize content with better structure and flow
- Update all references throughout the documentation
- Add redirect from old URL to maintain backward compatibility
- Improve troubleshooting section
- Keep all existing anchors for backward compatibility
This PR was merged into the 6.4 branch.
Discussion
----------
Use phpunit 10 in Create Framework tutorial
Symfony 6.4 "Requires: PHP 8.1.0 or higher", so let's use phpunit 10.x "php: >=8.1" in Create framewokr tutorial
Commits
-------
cc8977da5 Use phpunit 10 in Create Framework tutorial
This PR was merged into the 6.4 branch.
Discussion
----------
Fix setParameter for RouteCollection in Create Framework tutorial
Try fix#20823
`$routes` is a `RouteCollection` instance, so it cannot be a container parameter.
I replaced it by a reference and `set`. I don't know if it's the best way, or if the section is really needed
Commits
-------
8bbe446aa Fix setParameter for RouteCollection in Create Framework tutorial
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
Update `Create Framework / Unit Testing` page
Hello 👋🏻
In this PR I have updated the deprecated `will($this->returnValue())` to `willReturn()`, and the phpunit config file.
Commits
-------
97bfcfc06 Update `Create Framework / Unit Testing` page
* 5.4:
Update templating.rst
[Expression Language] Clarify number of backslashes to escape a backslash
reference the decorated service using the special .inner id
- parameter $year is typed with integer. date function returns string. Code works but casting to the right type feels better.
- added missing import to fix TypeError "Argument #1 ($request) must be of type Request"
This PR was merged into the 6.2 branch.
Discussion
----------
Add type-hints and return types
Here we go 🙂
Commits
-------
8728589b0 Add type-hints and return types