367 Commits

Author SHA1 Message Date
Javier Eguiluz
0403aae2cb Merge branch '6.4' into 7.3
* 6.4:
  Remove some idioms and simplify expressions
2026-01-09 17:21:54 +01:00
Javier Eguiluz
c9b3b76d00 minor #21690 Remove some idioms and simplify expressions (javiereguiluz)
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
2026-01-09 17:18:55 +01:00
Javier Eguiluz
474966c8e0 Merge branch '6.4' into 7.3
* 6.4:
  Simplify some wording to make docs more approachable
2026-01-09 16:59:58 +01:00
Javier Eguiluz
6a4e9adf62 Simplify some wording to make docs more approachable 2026-01-09 16:59:41 +01:00
Javier Eguiluz
ec70ebc249 Remove some idioms and simplify expressions 2026-01-07 17:36:05 +01:00
Javier Eguiluz
ee511eaddc Merge branch '6.4' into 7.3
* 6.4:
  Updates related to the main PHPUnit configuration file
2025-08-11 08:53:56 +02:00
Javier Eguiluz
2b6d28bc50 Updates related to the main PHPUnit configuration file 2025-08-06 13:11:06 +02:00
Javier Eguiluz
7ef1b3fcb3 Merge branch '6.4' into 7.2
* 6.4:
  Update all references to Symfony CLI and web server
2025-07-03 16:00:34 +02:00
Javier Eguiluz
d637bfc33d Update all references to Symfony CLI and web server 2025-07-02 08:25:58 +02:00
Javier Eguiluz
d4873ede52 Merge branch '6.4' into 7.2
* 6.4:
  Tweaks and fixes
  Rename and refocus Symfony Local Web Server docs to Symfony CLI
2025-07-01 17:50:49 +02:00
Oskar Stark
01161e9841 Rename and refocus Symfony Local Web Server docs to Symfony CLI
- 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
2025-07-01 11:24:50 +02:00
Antoine Lamirault
d371dcb3e3 Use phpunit 11 in Create Framework tutorial 2025-05-09 10:49:24 +02:00
Javier Eguiluz
d4e5f05d8a Merge branch '6.4' into 7.2
* 6.4:
  Use phpunit 10 in Create Framework tutorial
2025-05-08 09:35:11 +02:00
Javier Eguiluz
a0651a2e0a minor #20929 Use phpunit 10 in Create Framework tutorial (alamirault)
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
2025-05-08 09:35:03 +02:00
Javier Eguiluz
21d7bbf5d3 Merge branch '6.4' into 7.2
* 6.4:
  Fix setParameter for RouteCollection in Create Framework tutorial
2025-05-05 10:21:05 +02:00
Javier Eguiluz
bc4cdb6b32 minor #20928 Fix setParameter for RouteCollection in Create Framework tutorial (alamirault)
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
2025-05-05 10:20:49 +02:00
Javier Eguiluz
d5439e7732 Merge branch '6.4' into 7.2
* 6.4:
  Update Create Framework tutorial
2025-05-05 10:19:01 +02:00
Antoine Lamirault
56b6e317bb Update Create Framework tutorial 2025-05-05 10:18:28 +02:00
Antoine Lamirault
cc8977da58 Use phpunit 10 in Create Framework tutorial 2025-05-01 14:27:07 +02:00
Antoine Lamirault
8bbe446aaf Fix setParameter for RouteCollection in Create Framework tutorial 2025-05-01 13:46:45 +02:00
Javier Eguiluz
36ff79e323 Merge branch '6.4' into 7.1
* 6.4:
  correct grammer introduction.rst
2024-10-25 13:25:43 +02:00
Javier Eguiluz
d4691e685f Merge branch '5.4' into 6.4
* 5.4:
  correct grammer introduction.rst
2024-10-25 13:25:40 +02:00
antonioortegajr
58e9f4a9a6 correct grammer introduction.rst
add "to" inb a sentence
2024-10-25 13:25:24 +02:00
Javier Eguiluz
0e3b44bc55 Merge branch '6.4' into 7.0
* 6.4:
  Update `Create Framework / Unit Testing` page
2024-07-24 10:57:34 +02:00
Javier Eguiluz
7ff75edeeb Merge branch '5.4' into 6.4
* 5.4:
  Update `Create Framework / Unit Testing` page
2024-07-24 10:57:31 +02:00
Javier Eguiluz
6f1a19094f minor #19183 Update Create Framework / Unit Testing page (faissaloux)
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
2024-07-24 10:57:20 +02:00
faissaloux
97bfcfc06c Update Create Framework / Unit Testing page 2024-07-24 10:57:17 +02:00
Javier Eguiluz
93f40fe6ec Merge branch '6.4' into 7.0
* 6.4:
  [Create Framework] Fix a call to setTrustedProxies()
2024-07-01 09:01:29 +02:00
Javier Eguiluz
00f2240540 Merge branch '5.4' into 6.4
* 5.4:
  [Create Framework] Fix a call to setTrustedProxies()
2024-07-01 09:01:27 +02:00
Javier Eguiluz
4412af03f6 [Create Framework] Fix a call to setTrustedProxies() 2024-07-01 09:00:49 +02:00
Oskar Stark
0df8d039df Merge branch '6.4' into 7.0
* 6.4:
  [CS] Fix explicit nullable types
2024-04-17 12:23:32 +02:00
Simon André
4981d1370b [CS] Fix explicit nullable types 2024-04-17 12:23:19 +02:00
Javier Eguiluz
3d4a3edd12 Merge branch '6.4' into 7.0
* 6.4:
  [HttpFoundation] replace $request->request by getPayload()
2024-01-23 18:02:14 +01:00
Javier Eguiluz
00e9b45fa6 [HttpFoundation] replace $request->request by getPayload() 2024-01-23 18:01:40 +01:00
Matthieu Lempereur
8d69319ff5 Remove reference to some removed classes 2023-12-26 09:32:49 +01:00
Oskar Stark
0e84e79c84 - 2023-11-22 11:45:41 +01:00
chx
078006be3b HttpKernelInterface::handle parameter and return types 2023-11-22 09:12:53 +01:00
Christian Flothmann
bf14d85e98 Merge branch '5.4' into 6.3
* 5.4:
  Update templating.rst
  [Expression Language] Clarify number of backslashes to escape a backslash
  reference the decorated service using the special .inner id
2023-10-23 10:26:00 +02:00
Michael Staatz
916a5c0f81 Update templating.rst
- 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"
2023-10-23 10:25:08 +02:00
Alexandre Daubois
0a00d17c6c Add return types and parameter types 2023-07-13 11:34:31 +02:00
Christian Flothmann
9e4a14efcc Merge branch '5.4' into 6.2
* 5.4:
  [Tests] Update PHPUnit documentation links
  Mention Rector in the upgrading articles
2023-06-26 09:28:20 +02:00
Tim Krase
1945dba92b [Tests] Update PHPUnit documentation links 2023-06-26 09:27:56 +02:00
Javier Eguiluz
dd284aff26 minor #18439 Add type-hints and return types (alexandre-daubois)
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
2023-06-21 12:04:31 +02:00
Alexandre Daubois
8728589b0f Add type-hints and return types 2023-06-20 21:43:52 +02:00
Antoine Lamirault
a1675215f1 Remove phpunit 5.3 references 2023-06-18 14:57:10 +02:00
Oskar Stark
d1ea043d46 Merge branch '5.4' into 6.2
* 5.4:
  Use "$container" consistently
2023-05-19 22:08:14 +02:00
Nicolas Grekas
26d021c632 Use "$container" consistently 2023-05-10 09:45:38 +02:00
Javier Eguiluz
13105aec88 Merge branch '5.4' into 6.2
* 5.4:
  Update all links to PHPUnit docs
2023-05-09 16:05:42 +02:00
Javier Eguiluz
7b0bac7ff7 Update all links to PHPUnit docs 2023-05-09 16:04:50 +02:00
Oskar Stark
3bb31cf8f3 [DependencyInjection] Use constructor property promotion (CPP) 2023-03-15 16:52:23 +01:00